This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
question re: pthreads
- From: Thomas Vander Stichele <thomas at urgent dot rug dot ac dot be>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 27 Jun 2002 23:12:01 +0200 (CEST)
- Subject: question re: pthreads
Hello,
I want to debug an app that uses pthreads. The main thread seems to crash
when running pthreads_create. gdb is no help to me since it keeps on
running after the segfault.
At the endo f the run (which claims it's succesful), gdb informs me there
was a segfault in pthreas_handle_free.
My questions are :
a) is there any way I can debug a pthreaded application to see what is
causing the segfault ?
b) can I somehow compile and link the app to a different compiled version
of glibc that has debug symbols enabled ?
thanks,
Thomas
--
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- -*->
Come on baby take a walk with me honey
Tell me who do you love
Who do you love
<-*- thomas@apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/