Differences between revisions 1 and 2
Revision 1 as of 2012-02-05 15:05:10
Size: 655
Editor: 5400A5D3
Comment:
Revision 2 as of 2012-02-05 15:06:07
Size: 657
Editor: 5400A5D3
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

How to get backtrace (on Linux)?

The backtrace is useful when the application crashes or freezes. You might use the following steps:

1. Rebuild BitlBee with --debug=1

2. Start the debugger with the binary and log the output:

gdb ./bitlbee -v -n -D 2>&1 | tee /tmp/gdb.log

3. Inside the debugger, start the application:

run

4. Do the steps to reproduce the application crash or freeze. If the freeze is the case, you need to press CTRL-C in gdb to get the gdb commandline back.

5. Produce the backtrace:

bt

6. Quit the debugger

quit

7. Attach the whole gdb.log to the bug report.

BitlBee Wiki: DebuggingCrashes (last edited 2018-02-06 17:11:06 by 2800:810:46b:747:76d4:35ff:feeb:fa02)