Bug 462351

Summary: Discover crashes when I close it after an update.
Product: [Applications] Discover Reporter: Eduardo Baldino <eduardo>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, j.rebitz, nate
Priority: NOR    
Version First Reported In: 5.24.7   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:
Attachments: KDE Crash Handler screen shots
KDE Crash Handler screen shots (the right ones)
Try to backtrace the discover close after update bug
Reproduced bug backtrace

Description Eduardo Baldino 2022-11-28 12:45:45 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Discover
2. Install updates
3. Close discover

OBSERVED RESULT
Every single time I install updates with Discover, everything goes 100% fine. 
Then I close Discover and get a "Discover closed unexpectedly" message. 
Otherwise everything is fine.
I tried generating a crash report but it said it couldn't find the information it needed.

EXPECTED RESULT
Closing the application should not cause a crash or issue an undue crash message.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Kubuntu 22.04 Jellyfish
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
None.
Comment 1 Nate Graham 2022-11-29 19:00:44 UTC
If something crashed, we need a backtrace of it so we can figure out what's going on. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports.

Can you please attach one? Thanks!
Comment 2 Eduardo Baldino 2022-11-29 19:36:38 UTC
Created attachment 154146 [details]
KDE Crash Handler screen shots
Comment 3 Eduardo Baldino 2022-11-29 19:40:00 UTC
As I tried (poorly) to explain in the original post, the KDE Crash Handler does not generate a backtrace.
I have attached the Crash Handler screens.
Now, if you want me figure out by myself how to install debug symbol packages, figure out by myself which one I should install, install it, and then figure out by myself how to manually get a backtrace, then I'm sorry I tried to help.
Comment 4 Nate Graham 2022-11-29 20:36:19 UTC
It doesn't look like you got to the page with the backtrace. You have to keep clicking next.
Comment 5 Eduardo Baldino 2022-11-29 22:09:31 UTC
Created attachment 154152 [details]
KDE Crash Handler screen shots (the right ones)
Comment 6 Eduardo Baldino 2022-11-29 22:11:53 UTC
"You have to keep clicking next." 
Wow.
I'll forgive you condescension, but only because I did screw up when saving the images, and ended up posting repeated images.
I've posted updated images.
Comment 7 Nate Graham 2022-11-30 17:29:49 UTC
> A useful backtrace could not be generated
Then the bug report isn't actionable, I'm afraid. Without a backtrace, there's no way for developers to debug the issue. If you'd like to make it actionable, you can try installing debug symbols for Discover and its backends. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Ubuntu-based_distros_.28Ubuntu.2C_Kubuntu.2C_KDE_Neon.2C_Linux_Mint.29

Ideally this wouldn't be necessary, but unfortunately not all distros make it easy.
Comment 8 Bug Janitor Service 2022-12-15 05:14:28 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 9 Bug Janitor Service 2022-12-30 05:25:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 10 Rebitz 2023-03-18 09:51:15 UTC
Created attachment 157385 [details]
Try to backtrace the discover close after update bug
Comment 11 Rebitz 2023-03-18 09:51:58 UTC
Same here for me. I have tried to create my first backtrace. I will make another backtrace with the next update possibility to get clearer error messages if necessary.
Comment 12 Rebitz 2023-03-21 18:56:32 UTC
Created attachment 157501 [details]
Reproduced bug backtrace
Comment 13 Nate Graham 2023-03-27 18:21:01 UTC
Thanks! Unfortunately the backtrace looks to be deep in Qt in the Javascript engine. Coupled with the fact that this bug is reported against Plasma 5.24 which is no longer in support due to the 5.27 LTS being released, I don't think there's anything we can do here, sorry. :/
Comment 14 Eduardo Baldino 2023-03-27 18:50:18 UTC Comment hidden (spam)
Comment 15 Rebitz 2023-03-31 15:47:59 UTC
Hej Nate,
thanks for the hint with the unsupported Plasma 5.24. I have now installed Plasma 5.25. from the (k)ubuntu backports and lo and behold, wonderful, the error is fixed.
Cheers,
Johannes
Comment 16 Nate Graham 2023-03-31 16:06:32 UTC
Fabulous, thanks for following up!