[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-alpha
Subject:    question re: pthreads
From:       Thomas Vander Stichele <thomas () urgent ! rug ! ac ! be>
Date:       2002-06-27 21:12:01
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic