back trace when a SIGSEGV

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Dec 5 09:16:02 EST 2005


On Fri, 2005-12-02 at 11:33 +0100, Redondo Garcia, Roberto wrote:
> hello, 
> I have a program that when it has been several hours running, it has a
> problem and falls and it produces a SIGSEGV.  I would like to know to
> how debug this error, because I do not have ulimit for generate core
> dump o examine a back trace.

You can run your program under gdb, or you may want to have a look at
tridge' junk code directory for his segv_handler bit that you can put in
LD_PRELOAD

http://www.samba.org/junkcode/#segv_handler

Ben.





More information about the Linuxppc-dev mailing list