Re: backtracing
- From: Martin Baulig <martin home-of-linux org>
- To: Soren Harward <soren cinternet net>
- cc: Paul G Cooper <pgc maths warwick ac uk>, Tom Tromey <tromey cygnus com>, "'gnome-list gnome org'" <gnome-list gnome org>
- Subject: Re: backtracing
- Date: Sat, 24 Oct 1998 20:01:20 +0200 (CEST)
On Sat, 24 Oct 1998, Soren Harward wrote:
> do this:
>
> at prompt:
> gdb gnome-session
>
> in gdb:
> run
> [wait for it to bomb]
> bt
>
> then send us the output.
Yes, this is better than running gdb on the core dump file - sometimes
the stack is messed up and so it does not give us any real information.
But if you run the program directly in GDB this always works.
Martin
Btw: If the crashing program is printing somethink like `assertion failed'
or some warnings before, you can give it a --g-fatal-warnings to
make it abort after the message is printed.
in gdb:
run --g-fatal-warnings
[...]
-----------------------------------------------------------------
Martin Baulig - Angewandte Mathematik - Universitaet Trier
martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]