This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/2644] Race condition during unwind code after thread cancellation
- From: "batneil at thebatcave dot org dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 May 2006 18:37:40 -0000
- Subject: [Bug nptl/2644] Race condition during unwind code after thread cancellation
- References: <20060507135630.2644.batneil@thebatcave.org.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From batneil at thebatcave dot org dot uk 2006-05-07 18:37 -------
Thanks for the quick response. Your solution does sound better, I'm just
rebuilding to check that it works as expected.
The compiler I'm using is GCC 3.4.3; to be precise, it's version 3.4.3 20041212
(Red Hat 3.4.3-9.EL4). If it's of any use, the first piece of code I quoted
matches that from the libpthread.so.0 that comes from the glibc-2.3.4-2 package
on Red Hat EL 4.
I'm building with rpmbuild at the moment, but from what I can tell the CFLAGS
are set to '-march=i686 -DNDEBUG=1 -g -O3'. Please let me know if you need more
details on the configuration.
It seems to me that although not all compilers necessarily will plant code that
is unsafe, it is at least valid for them to do so from the current source.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2644
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.