Add readlink in stacktrace.asciidoc.

This commit is contained in:
Florian Bruhin 2015-03-30 15:06:38 +02:00
parent a38c3ae1e1
commit fab6bc285c

View File

@ -90,7 +90,7 @@ First install `gdb` on your system if it's not installed already.
Then run qutebrowser directly inside gdb like this: Then run qutebrowser directly inside gdb like this:
---- ----
$ gdb $(which python3) -ex 'run -m qutebrowser --debug' $ gdb $(readlink -f $(which python3)) -ex 'run -m qutebrowser --debug'
---- ----
After you reproduce the crash, you should now see something like: After you reproduce the crash, you should now see something like:
@ -133,14 +133,14 @@ not start with a `|` character (pipe), check if there is a file named `core` or
If so, execute gdb like this: If so, execute gdb like this:
---- ----
$ gdb $(which python3) /path/to/core $ gdb $(readlink -f $(which python3)) /path/to/core
---- ----
If your `/proc/sys/kernel/core_pattern` contains something like If your `/proc/sys/kernel/core_pattern` contains something like
`|/usr/lib/systemd/systemd-coredump`, use `coredumpctl` to run gdb: `|/usr/lib/systemd/systemd-coredump`, use `coredumpctl` to run gdb:
---- ----
$ coredumpctl gdb $(which python3) $ coredumpctl gdb $(readlink -f $(which python3))
---- ----
Getting the stack trace Getting the stack trace