Bug 477586 - make developer page error messages more useful
Summary: make developer page error messages more useful
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-27 00:21 UTC by Henning
Modified: 2024-08-27 11:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-11-27 00:21:46 UTC
afaik, if you never ran an app through gdb there are no downloaded debug symbols so backtraces are always failing.

It would be great to have an option in drkonqui / krash to after a crash run the app from gdb to actually get the debug symbols. After that backtraces work again.
Comment 1 Harald Sitter 2023-11-27 20:38:03 UTC
I am not sure what you mean? Are your backtraces failing?
Comment 2 Bug Janitor Service 2023-12-12 03:45:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Henning 2023-12-14 23:49:31 UTC
Yes I never have any backtraces in DRKonqui. Now again, even though I ran dolphin a lot through GDB as its constantly crashing.

So not sure what the solution is, but the bug submission dialog is in general completely confusing (if you dont send attitional data or know what you did you dont get a backtrace???) and I saw its changed in Plasma 6

So some feature to run the app again and get backtraces, in drconqui, would be very needed
Comment 4 Harald Sitter 2023-12-15 14:25:14 UTC
What distro? What version of Plasma? What version of frameworks? What version of Qt? ...
Comment 5 Henning 2023-12-15 17:33:10 UTC
sorry

Specified App:
gdbm-libs-1.23-4.fc39.x86_64
wireless-regdb-2023.05.03-2.fc39.noarch
gdb-headless-14.1-1.fc39.x86_64
gdb-14.1-1.fc39.x86_64

--- Software ---
OS: Fedora Linux 39.20231214.0 (Kinoite)
KDE Plasma: 5.27.9
KDE Frameworks: 5.111.0
Qt: 5.15.11
Kernel: 6.6.6-200.fc39.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 21.4 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Audio: Pipewire
Comment 6 Harald Sitter 2023-12-18 12:07:37 UTC
Do you get any error in drkonqi?
Comment 7 Henning 2023-12-19 02:32:08 UTC
Pretty much "no backtrace possible" for Dolphin
Comment 8 Bug Janitor Service 2024-08-19 01:49:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/drkonqi/-/merge_requests/261
Comment 9 Harald Sitter 2024-08-27 11:37:59 UTC
Git commit 34cc1171c26d72dc423cbe0f10d03ac541b3d1e6 by Harald Sitter.
Committed on 27/08/2024 at 11:24.
Pushed by sitter into branch 'master'.

backtracegenerator: cache raw debugger output and give the user access to it

this now means we capture both stdout and stderr. shouldn't be a huge
problem because we ultimately run the output through the gdb parser
anyway and that filters out most of the noise. plus, we mostly care
about the traces in sentry anyway and those are generated by the
preamble and clean.

there are two ways to get the data
- the inlinemessage now sports a details link that opens a txt file
- via the developer view, which no longer shows a useless error

there area also now verbosity lines to mark the beginning and the end of
the debugging session
Related: bug 474116, bug 478110, bug 491820

M  +53   -2    src/backtracegenerator.cpp
M  +7    -0    src/backtracegenerator.h
M  +2    -3    src/qml/DeveloperPage.qml
M  +16   -1    src/qml/main.qml

https://invent.kde.org/plasma/drkonqi/-/commit/34cc1171c26d72dc423cbe0f10d03ac541b3d1e6