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 libc/11655] qsort() not thread safe, results to division by zero


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.


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