This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/2644] Race condition during unwind code after thread cancellation


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]