<?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>453548</bug_id>
          
          <creation_ts>2022-05-08 15:34:56 +0000</creation_ts>
          <short_desc>Discover crashed when searching for updates in an XRDP session</short_desc>
          <delta_ts>2022-05-09 00:00:16 +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.24.4</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>443745</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>wodencafe</reporter>
          <assigned_to name="Dan Leinir Turthra Jensen">leinir</assigned_to>
          <cc>aleixpol</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>2122089</commentid>
    <comment_count>0</comment_count>
    <who name="">wodencafe</who>
    <bug_when>2022-05-08 15:34:56 +0000</bug_when>
    <thetext>Application: plasma-discover (5.24.4)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.0-27-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was connected to the desktop session running XRDP, via KRDC client.
I opened up Discover, and it said it was fetching updates. I clicked around a bit in the GUI, as it seemed no updates were coming, and it crashed. I&apos;ve seen it do this before, seemingly misbehave over RDP.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  FlatpakBackend::findSource (origin=..., installation=0x7fdbec005880, this=0x5628526adac0) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:114
#5  FlatpakBackend::getAppForInstalledRef (this=0x5628526adac0, installation=0x7fdbec005880, ref=0x7fdbe431dd90, freshResource=0x7ffeb3b953e7) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:357
#6  0x00007fdc046d325e in operator() (__closure=0x7fdbbc601430) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1296
#7  QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;&gt;, QtPrivate::List&lt;&gt;, void, FlatpakBackend::search(const AbstractResourcesBackend::Filters&amp;)::&lt;lambda()&gt;::&lt;lambda()&gt; &gt;::call (arg=&lt;optimized out&gt;, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor&lt;FlatpakBackend::search(const AbstractResourcesBackend::Filters&amp;)::&lt;lambda()&gt;::&lt;lambda()&gt;, 0&gt;::call&lt;QtPrivate::List&lt;&gt;, void&gt; (arg=&lt;optimized out&gt;, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject&lt;FlatpakBackend::search(const AbstractResourcesBackend::Filters&amp;)::&lt;lambda()&gt;::&lt;lambda()&gt;, 0, QtPrivate::List&lt;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=&lt;optimized out&gt;, this_=0x7fdbbc601420, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fdc7406a783 in QtPrivate::QSlotObjectBase::call (a=0x7ffeb3b954c0, r=0x5628526adac0, this=0x7fdbbc601420) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate&lt;false&gt; (sender=0x7fdbbd3fd520, signal_index=4, argv=0x7ffeb3b954c0) at kernel/qobject.cpp:3886
#12 0x00007fdc74063a97 in QMetaObject::activate (sender=&lt;optimized out&gt;, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at kernel/qobject.cpp:3946
#13 0x00007fdc73e500f5 in QFutureWatcherBase::event (this=&lt;optimized out&gt;, event=0x7fdbe4697130) at thread/qfuturewatcher.cpp:334
#14 0x00007fdc751d1713 in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x7fdbbd3fd520, e=0x7fdbe4697130) at kernel/qapplication.cpp:3637
#15 0x00007fdc74032e2a in QCoreApplication::notifyInternal2 (receiver=0x7fdbbd3fd520, event=0x7fdbe4697130) at kernel/qcoreapplication.cpp:1064
#16 0x00007fdc74035f17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x562851e02480) at kernel/qcoreapplication.cpp:1821
#17 0x00007fdc7408ca57 in postEventSourceDispatch (s=0x562851ecfc80) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007fdc72929d1b in g_main_dispatch (context=0x7fdc68005010) at ../../../glib/gmain.c:3417
#19 g_main_context_dispatch (context=0x7fdc68005010) at ../../../glib/gmain.c:4135
#20 0x00007fdc7297e6f8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fdc68005010, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../../../glib/gmain.c:4211
#21 0x00007fdc729273c3 in g_main_context_iteration (context=0x7fdc68005010, may_block=1) at ../../../glib/gmain.c:4276
#22 0x00007fdc7408c0a8 in QEventDispatcherGlib::processEvents (this=0x562851ed5a10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fdc7403174b in QEventLoop::exec (this=this@entry=0x7ffeb3b958a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fdc74039ce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007fdc7440ee10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#26 0x00007fdc751d1689 in QApplication::exec () at kernel/qapplication.cpp:2829
#27 0x0000562851bdb638 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at ./discover/main.cpp:217
[Inferior 1 (process 870014) detached]

Possible duplicates by query: bug 453440, bug 452999, bug 452469, bug 450949, bug 450401.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122135</commentid>
    <comment_count>1</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-05-09 00:00:16 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>