Jump to content

Dolphin/FAQ/Crashes: Difference between revisions

From KDE Community Wiki
No edit summary
Jackmio (talk | contribs)
Undo vandalism by Kpzeta (talk)
Tags: Replaced Undo
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If Dolphin crashes, you will usually see a dialog which offers to show the backtrace and to submit a bug report. A good backtrace is essential for the analysis of the crash, in particular if the crash cannot be reproduced easily on the developers' machines. Therefore, you should install "debug" packages for at least Dolphin and kdelibs. See [http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports this page on KDE TechBase] for details.
If Dolphin crashes, you will usually see a dialog which offers to show the backtrace and to submit a bug report. A good backtrace is essential for the analysis of the crash, in particular if the crash cannot be reproduced easily on the developers' machines. Therefore, you should install "debug" packages for at least Dolphin, qt5-base and KIO. See [https://community.kde.org/Guidelines_and_HOWTOs/Debugging this page] for details.


===Valgrind===
===Valgrind===

Latest revision as of 04:02, 27 June 2023

If Dolphin crashes, you will usually see a dialog which offers to show the backtrace and to submit a bug report. A good backtrace is essential for the analysis of the crash, in particular if the crash cannot be reproduced easily on the developers' machines. Therefore, you should install "debug" packages for at least Dolphin, qt5-base and KIO. See this page for details.

Valgrind

Valgrind is a tool that can provide additional information if the backtrace is insufficient to find the root cause of the crash. It analyzes how the program reads from and writes to memory and reports suspicious behavior even before the actual crash happens. However, it slows down the program considerably.

If you are asked for a Valgrind log of a Dolphin crash, please do the following:

  • In a terminal, enter
valgrind dolphin 2> log.txt
  • Reproduce the crash (note that Dolphin will run very slow).
  • Attach the file log.txt to the bug report. Avoid pasting the entire file in a comment. It might be very long and could make the report hard to read. If you can identify the interesting part of the log, feel free to paste it, but if you are unsure, add the complete log as a file attachment and let a developer have a look at it.