Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 10:57:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 206396] Crash while concurrent POSIX semaphore access
Message-ID:  <bug-206396-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206396

            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: freebsd-bugs@FreeBSD.org
          Reporter: xelfium@gmail.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Created attachment 165809
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165809&action=
=3Dedit
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 us=
ing
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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206396-6>