From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,97bb68cb1324b777,start X-Google-Attributes: gidfee84,public From: Rene Huber Subject: getting a runtime stacktrace - how ? Date: 1997/01/28 Message-ID: #1/1 X-Deja-AN: 212880868 organization: Wave-Front B.V. reply-to: rhuber@wavefront.nl newsgroups: comp.unix.osf.osf1 originator: rene@crydee.wavefront.nl Hi, I'm looking for a way to examine the stack from within my C program, on a DU3.2d system. The idea is to print a stack trace in a log file whenever the program catches a SIGSEGV. I know you can do it in dbx, but the customer doesn't usually run under dbx (or doesn't have the license)...and examining the core file is no option, since the customer's cores cannot be read at our local system. It seems that dbx heavily depends on shared libraries (libsecurity.so, libc.so, etc.). Is there any way to do something in / proc ?. RH. -- # Rene Huber - Software Engineer \ / Wave-Front B.V., The Netherlands # # Email: rene@wavefront.nl \ PO box 3100, 7339 ZG Apeldoorn # # Web: http://www.wavefront.nl/~rene / \ Phone/Fax: +31 55 5760881 #