Crash Handler
When an application crashes, the Crash Handler tells you and helps you collect the details developers need to fix it.
When an application crashes
A notification names the application and says it Closed Unexpectedly. Its buttons can include:
- Report Bug: Opens the Crash Handler window.
- Restart App: Starts the application again.
- Add Details: Appears after an automatic report, so you can say what you were doing.
If you don't act on the notification, nothing is reported, unless you've turned on automatic reports.
The Crash Handler window
The window says that the application has closed unexpectedly, and whether the crash can be reported. It has two main buttons:
- Send Automatic Report: Collects the crash details and sends them in the background. Once it's sent, you can describe the crash in Tell us more about the crash… and click Send Message, or restart the application.
- See Developer Information: Shows the technical details.
A report isn't offered if the application gives no address for bug reports, or if it was updated or removed after it started. In that case, log out and back in, so that the update is fully applied.
Note: Automatic reports currently go to KDE's crash tracking system,
crash-reports.kde.org, and not to SonicDE. For problems specific to SonicDE, report them in the SonicDE issue trackers instead.
Developer information
This page shows the backtrace, which is the list of what the program was doing when it crashed. It needs the gdb debugger, and it's more useful with your distribution's debug symbols installed.
- Install Debug Symbols: Tries to install the missing symbols, if your distribution supports this.
- Reload: Generates the backtrace again.
- Copy: Copies it to the clipboard.
- Save: Saves it to a file.
- Report on, followed by the site's name: Starts the assistant for reporting to the application's bug tracker. For KDE's Bugzilla, it asks you to log in, and can save those details in KDE Wallet.
Reporting automatically
After you've sent a report, the window offers two options for the future:
- Automatically report crashes: Always sends a report to KDE's crash tracking system with no input from you, and you won't get any more crash notifications. This applies to applications whose bug address is KDE's Bugzilla, which is the default.
- Automatically download debug symbols to enhance crash reports: Fetches symbols when they're needed for a report.
Both are off by default. You can also set them in ~/.config/drkonqirc:
[DrKonqi]
Sentry=false
DownloadSymbols=false
What contacts the internet
- Opening the Crash Handler window fetches a list of KDE's crash reporting addresses from
autoconfig.kde.org, and keeps it in~/.cache/drkonqi/. This doesn't include details of the crash. - A report contains the backtrace, along with information about the application and your system.
- If the Python
sentry_sdkmodule is installed, the script that helpsgdbcollect a backtrace reports its own errors tocrash-reports.kde.org.