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 14:05:00 -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 14:04 -------
Created an attachment (id=1005)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1005&action=view)
Test case which shows the problem
This test shows the bug for me on an 8 way xeon. I run it with the following
command:
for i in `seq 0 100 10000`; do echo $i; for j in `seq 1 100`; do
./pthread_exit_race; done; done
and eventually I get some segs:
0
100
received segv!
received segv!
200
...
I built the test with g++ pthread_exit_race.cc -o pthread_exit_race -lpthread
-DMAXTHREADS=100
--
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.