On Tue, Oct 02, 2007 at 03:39:57PM +0200, Michal Svec wrote:
On Tue, 2 Oct 2007, Stefan Hundhammer wrote:
Just a thought: Back in the mid-1990s some medical imaging software on SunOS did something pretty clever with segfaults: They had let the process dump core, then automatically invoke the debugger and make it dump the stack trace to a file. Maybe we could do that, too. Our startup scripts already detect segfaults IIRC, so generating the stack trace should not be so hard to do.
BTW there is also some support for backtraces in glibc, I don't remember the exact calls, and I'm also not sure if it's usable/useful meanwhile.
http://www.gnu.org/software/libc/manual/html_node/Backtraces.html Yes, we have thought of that, and noted it in a FATE item about debugging: https://keeper.suse.de/webfate/match/id?value=302167 I think I will first try the glibc thing because it is only little more difficult and does not need gdb. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org