Page MenuHomeFreeBSD

fusefs: fix intermittency in the dev_fuse_poll test
ClosedPublic

Authored by asomers on Sep 25 2021, 4:21 PM.
Tags
None
Referenced Files
F105572008: D32142.diff
Tue, Dec 17, 7:39 PM
Unknown Object (File)
Sat, Dec 14, 6:21 AM
Unknown Object (File)
Fri, Dec 13, 1:50 PM
Unknown Object (File)
Thu, Nov 21, 9:26 PM
Unknown Object (File)
Nov 17 2024, 6:23 PM
Unknown Object (File)
Nov 16 2024, 8:07 AM
Unknown Object (File)
Nov 13 2024, 6:08 PM
Unknown Object (File)
Oct 24 2024, 3:00 AM
Subscribers

Details

Summary

The DevFusePoll::access/select test would occasionally segfault. The
cause was a file descriptor that was shared between two threads. The
first thread would kill the second and close the file descriptor. But
it was possible that the second would read the file descriptor before it
shut down. That did not cause problems for kqueue, poll, or blocking
operation, but it triggered segfaults in select's macros.

MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41761
Build 38650: arc lint + arc unit