Blame


1 8064b849 2021-07-20 op # Oops
2 8064b849 2021-07-20 op
3 8064b849 2021-07-20 op It seems that Telescope crashed last time! Please consider reporting this bug so it can be fixed.
4 8064b849 2021-07-20 op
5 8064b849 2021-07-20 op => mailto:@PACKAGE_BUGREPORT@ @PACKAGE_BUGREPORT@
6 8064b849 2021-07-20 op
7 96770ff6 2024-02-23 op When reporting a bug, please include the following information, otherwise it won’t be very helpful:
8 8064b849 2021-07-20 op
9 8064b849 2021-07-20 op * Operating system
10 8064b849 2021-07-20 op * Telescope version (i.e. @PACKAGE_STRING@)
11 8064b849 2021-07-20 op * how to reproduce the crash, if known
12 8064b849 2021-07-20 op
13 96770ff6 2024-02-23 op If possible, a backtrace (the state of the program when it crashed) should be included too, as it contains invaluable data to understand the source of the bug. Obtaining a backtrace is usually simple, but the exact procedure depends on the operating system.
14 8064b849 2021-07-20 op
15 96770ff6 2024-02-23 op On most system, after a crash a file named ‘telescope.core’ or ‘<number>.core’ or just ‘core’ should appear in the directory where Telescope was launched (probably your home).
16 8064b849 2021-07-20 op
17 96770ff6 2024-02-23 op The shell may have to be configured to allow coredumps. Running
18 8064b849 2021-07-20 op
19 8064b849 2021-07-20 op > $ ulimits -c unlimited
20 8064b849 2021-07-20 op
21 96770ff6 2024-02-23 op should enable core dump for the current session on most shells.
22 8064b849 2021-07-20 op
23 96770ff6 2024-02-23 op Once the core dump is located, a backtrace may be obtained with the aid of a debugger, like ‘gdb’ (the GNU debugger) or ‘lldb’ (the LLVM debugger):
24 8064b849 2021-07-20 op
25 8064b849 2021-07-20 op > $ gdb telescope path/to/core-file
26 8064b849 2021-07-20 op
27 96770ff6 2024-02-23 op On a linux distro with systemd (Arch, Fedora, Debian, ...) ‘coredumpctl’ may be needed to launch the debugger. Please refer to the following Arch wiki page:
28 8064b849 2021-07-20 op
29 96770ff6 2024-02-23 op => https://wiki.archlinux.org/title/Core_dump
30 8064b849 2021-07-20 op
31 8064b849 2021-07-20 op in particular the “Examining a core dump” section.
32 8064b849 2021-07-20 op
33 8064b849 2021-07-20 op At this point you should be at the GDB prompt. Just type ‘bt’, press enter and copy all the output in a mail to @PACKAGE_BUGREPORT@.
34 8064b849 2021-07-20 op
35 8064b849 2021-07-20 op > (gdb) bt
36 89995f23 2021-08-16 op > ...lots of useful information...
37 8064b849 2021-07-20 op > (gdb)
38 8064b849 2021-07-20 op
39 8064b849 2021-07-20 op To quit gdb, just type ‘q’ and enter.
40 8064b849 2021-07-20 op
41 96770ff6 2024-02-23 op Thank you!