Red Hat Bugzilla – Bug 42354
4-threaded program gets seg. fault on malloc.
Last modified: 2007-04-18 12:33:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98; IE4WDUS-
Description of problem:
The attached program spawns 4 pthreads on a 4P Lion system,
and each thread does
a malloc. It almost consistently aborts with a segmentation fault.
The same executable binary program runs on Turbolinux release 010307
(based on kernel release 2.4.1).
fault on Red Hat Linux 7.0.98
Steps to Reproduce:
1.Just compile and run the test case.
Actual Results: Segmentation Fault
Expected Results: All four threads exit normally.
Created attachment 19691 [details]
C program, testcase for this bug.
This is almost certainly fixed in kernel-2.4.3-7; please try with that.