https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206396
Bug ID: 206396
Summary: Crash while concurrent POSIX semaphore access
Product: Base System
Version: 10.2-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
CC: [email protected]
Created attachment 165809
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165809&action=edit
Test code
I have faced a strange issue with POSIX semaphores. Program crashes when
several threads concurrently access POSIX semaphore under the same name. I
attached a test code to illustrate it. I have tried to compile this code using
Clang and GCC but it was the same result. If you add a pause between threads
creation then it executes fine.
The same code works fine on Linux and latest DragonFlyBSD.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"