mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 11:06:21 +00:00
chore: Explain how to add a backtrace in issue template
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
13
.github/ISSUE_TEMPLATE/bug_report.md
vendored
13
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -35,6 +35,19 @@ assignees: ''
|
||||
## Context
|
||||
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
||||
|
||||
## Backtrace
|
||||
<!--- In case of a crash attach the backtrace. Otherwise delete this section -->
|
||||
* Install gdb and gdbserver: For example on openSUSE `zypper in gdb gdbserver`
|
||||
* Open two terminals.
|
||||
* Terminal 1: Start gdbserver `gdbserver localhost:port path/to/profanity` e.g. `gdbserver localhost:1234 ./build_run/profanity`
|
||||
* Terminal 2: Start gdb `gdb path/to/profanity` e.g. `gdb ./build_run/profanity`
|
||||
* Terminal 2: Attach to server `target remote localhost:port` e.g. `target remote localhost:1234`
|
||||
* Terminal 2: Enable logging to file `set logging enabled on` and `set logging file my.log`
|
||||
* Terminal 2: Type `c`
|
||||
* Terminal 1: Use profanity to reproduce the crash
|
||||
* Terminal 2: Show the backtrace `bt` or `bt full`
|
||||
* Copy the backtrace here, either from gdb or from your logfile (`my.log`)
|
||||
|
||||
## Environment
|
||||
* Give us the version and build information output generated by `profanity -v`
|
||||
* If you could not yet build profanity, mention the revision you try to build from
|
||||
|
||||
Reference in New Issue
Block a user