This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11655] qsort() not thread safe, results to division by zero
- From: "naohiro.ooiwa at miraclelinux dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 10 Dec 2010 12:51:50 +0000
- Subject: [Bug libc/11655] qsort() not thread safe, results to division by zero
- Auto-submitted: auto-generated
- References: <bug-11655-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11655
--- Comment #3 from Naohiro Ooiwa <naohiro.ooiwa at miraclelinux dot com> 2010-12-10 12:51:38 UTC ---
Created attachment 5154
--> http://sourceware.org/bugzilla/attachment.cgi?id=5154
qsort.c
The status is already RESOLVED, but just for information.
I created a test program to reproduce this bug.
You can reproduce by following step.
# gcc -pthread qsort.c -o qsort
# while [ 0 ] ; do ./qsort ; done
Floating point exception
It takes a few minutes to reproduce on my machine has 2 CPU and 2G memory.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.