This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/17980] sem_* interoperability between 32bit and 64bit binaries
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 05 Mar 2016 12:28:25 +0000
- Subject: [Bug nptl/17980] sem_* interoperability between 32bit and 64bit binaries
- Auto-submitted: auto-generated
- References: <bug-17980-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17980
Aurelien Jarno <aurelien at aurel32 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://bugs.debian.org/816
| |742
CC| |aurelien at aurel32 dot net
--- Comment #2 from Aurelien Jarno <aurelien at aurel32 dot net> ---
The issue has been introduced by the following commit:
commit 042e1521c794a945edc43b5bfa7e69ad70420524
Author: Carlos O'Donell <carlos@systemhalted.org>
Date: Wed Jan 21 00:46:16 2015 -0500
Fix semaphore destruction (bug 12674).
This commit fixes semaphore destruction by either using 64b atomic
operations (where available), or by using two separate fields when only
32b atomic operations are available. In the latter case, we keep a
conservative estimate of whether there are any waiting threads in one
bit of the field that counts the number of available tokens, thus
allowing sem_post to atomically both add a token and determine whether
it needs to call futex_wake.
See:
https://sourceware.org/ml/libc-alpha/2014-12/msg00155.html
It is still reproducible with glibc 2.23 or current git master branch.
--
You are receiving this mail because:
You are on the CC list for the bug.