This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6952] New: malloc is not thread-safe
- From: "axel dot philipp at mtu dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Oct 2008 09:18:18 -0000
- Subject: [Bug libc/6952] New: malloc is not thread-safe
- Reply-to: sourceware-bugzilla at sourceware dot org
When trying to use Calculix (www.calculix.de) with the multithreaded version of
Spooles I ran into problems. It turned out that the malloc delivered with
Novell's SLES10 (glibc 2.4) isn't thread-safe. After linking in Wolfram
Gloger's ptmalloc3 the program runs properly.
Newer glibc versions up to 2.7 are still based on ptmalloc2, so I tried to use
ptmalloc2 instead of ptmalloc3 and got the same problems as with glibc2.4.
Testcondition: 8 threads, either 4 dualcore Opterons or 2 quadcore Xeons, an
average of 10000 mallocs/s.
--
Summary: malloc is not thread-safe
Product: glibc
Version: 2.4
Status: NEW
Severity: critical
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: axel dot philipp at mtu dot de
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6952
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.