Our users frequently get core dumps from our huge application, and in order to
facilite our debugging they often feel the need to email us these 650Mb core
files, or more likely they just set "limit core 0" and forget about it. All
we really need is the backtrace from the core file, but many of them don't
have dbx, and even the ones that do can't be bothered to start up dbx then
type "where". So we end up with a lot of complaints about core dumps, but no
help in narrowing down where and why these are happening.
We are thinking about shipping gdb with our product in order to help the ones
who don't have dbx. But first I thought I'd have a poke around to see if
there is an easy way to *just* get the backtrace from a core file without all
the overhead of a huge de*. Is there a program that would do that for
me? This is Irix 6.2 on various SGI platforms. Alternatively, is there a
signal handler I could add to the program that would print out a stack trace
before dying *without* dumping core?
--
Paul Tomblin, Current Product Engineering team leader.
I don't speak for Kodak, they don't speak for me.
"You are in a twisty maze of Motif Widget resources, all inconsistent."