<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>477111</bug_id>
          
          <creation_ts>2023-11-16 19:16:06 +0000</creation_ts>
          <short_desc>Crash on close when Discover is still in the &quot;Loading...&quot; state after clicking uninstall</short_desc>
          <delta_ts>2023-11-17 20:48:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Discover</product>
          <component>discover</component>
          <version>5.27.9</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>466619</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>bplu4t2f</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>aleixpol</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2266317</commentid>
    <comment_count>0</comment_count>
    <who name="">bplu4t2f</who>
    <bug_when>2023-11-16 19:16:06 +0000</bug_when>
    <thetext>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 &quot;Uninstall or Manage Add-Ons...&quot;. This causes Discover to start up.
It now displays &quot;Loading...&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2266667</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-11-17 20:48:49 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 466619 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>