public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Seg. fault in malloc with pthreads on Red Hat R2.4.3
@ 2001-05-25  5:27 Robboy, David G
  0 siblings, 0 replies; only message in thread
From: Robboy, David G @ 2001-05-25  5:27 UTC (permalink / raw)
  To: linux-ia64

A 4-threaded fft program  runs on a 4P Lion when built under Turbolinux
R2.4.1, but gets a segmentation fault in malloc when built under Red Hat
R2.4.3. 

The compiler on the system where it works is:
gcc version 2.96-ia64-000717 snap 001117
On the system where it doesn't work:
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)

The program is statically linked. 
4 threads call malloc, 3 threads return from malloc and one thread gets a
seg. fault.  Gdb says the fault occurred in pthread_handle_create() and says
it was a SIGILL.

Is there something special you have to do in order to link to thread-safe
libraries, other than include "-lpthread" in the command line?

Is this a bug in Red Hat's C library?  If so, is there a way to report it to
Red Hat?

Thanks,
David Robboy



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-25  5:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-25  5:27 [Linux-ia64] Seg. fault in malloc with pthreads on Red Hat R2.4.3 Robboy, David G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox