Bug 477111

Summary: Crash on close when Discover is still in the "Loading..." state after clicking uninstall
Product: [Applications] Discover Reporter: bplu4t2f
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bplu4t2f 2023-11-16 19:16:06 UTC
Application: plasma-discover (5.27.9)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.6.1-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Can reproduce every time (Arch Plasma X11).

To reproduce:
Right click some application in the Application Launcher, select "Uninstall or Manage Add-Ons...". This causes Discover to start up.
It now displays "Loading..." and a lazy fake progress bar. This in itself seems to be a bug.
Close Discover in this state. This causes the crash message.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f53fa01643b in AbstractResource::isInstalled() () at /usr/lib/plasma-discover/libDiscoverCommon.so
#5  0x000056017eed395d in  ()
#6  0x000056017eec7c02 in  ()
#7  0x00007f53f7ed1097 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f53f7ed1494 in QObject::destroyed(QObject*) () at /usr/lib/libQt5Core.so.5
#9  0x00007f53f7ec75ac in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#10 0x00007f53f7ed30ae in QTimer::~QTimer() () at /usr/lib/libQt5Core.so.5
#11 0x00007f53f7ec6e1d in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#12 0x00007f53f7ec7599 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#13 0x000056017eec77c4 in  ()
#14 0x00007f53f7ec39fe in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f53f99788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f53f7e9c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f53f7ea10cb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f53f7e9c32c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#19 0x000056017eec5947 in  ()
#20 0x00007f53f7645cd0 in  () at /usr/lib/libc.so.6
#21 0x00007f53f7645d8a in __libc_start_main () at /usr/lib/libc.so.6
#22 0x000056017eec6375 in  ()
[Inferior 1 (process 2535) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-11-17 20:48:49 UTC

*** This bug has been marked as a duplicate of bug 466619 ***