Re: [Linux-ia64] Bug report: 4-threaded program gets seg. fault on malloc, on linu x R2.4.3.

From: David Mosberger <>
Date: 2001-05-31 15:33:03
>>>>> On Fri, 25 May 2001 16:17:37 -0700, "Robboy, David G" <> said:

  David.R> I have reported this on bugzilla also, Bug #42354.  I don't
  David.R> know whether it is a kernel bug, libc, or libpthread.  The
  David.R> attached program spawns 3 new threads, and each of the 4
  David.R> threads does a malloc.  Run it on a 4P Lion.  On Linux
  David.R> kernel R2.4.3 (Red Hat release 7.0.98), it aborts with a
  David.R> segmentation fault.  The same binary executable runs
  David.R> correctly on a R2.4.1 kernel.

You didn't say how you compiled the program.  Let's assume you used
"gcc -O2 -pthread": for what it's worth, this works fine here, both on
Wolverine and Guinness.  In both cases with kernel 2.4.4 and on
Wolverine I'm using glibc-2.2.2-10.

Received on Wed May 30 22:35:33 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:04 EST