Bug 453595 - Discover crashes every time I open it
Summary: Discover crashes every time I open it
Status: RESOLVED DUPLICATE of bug 443745
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-09 19:27 UTC by wodencafe
Modified: 2023-04-19 06:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.41 KB, text/plain)
2023-04-19 06:37 UTC, Andrey Miroshnichenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wodencafe 2022-05-09 19:27:07 UTC
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 opened Discover, it said it was fetching updates, and then it immediately crashed.
Happens every time, even after rebooting, and I am running the latest of everything.

- Unusual behavior I noticed:
As soon as I open Discover, it begins fetching updates and then crashes immediately.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  FlatpakBackend::findSource (origin=..., installation=0x7fc8bc004d60, this=0x55cbc926b670) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:114
#5  FlatpakBackend::getAppForInstalledRef (this=0x55cbc926b670, installation=0x7fc8bc004d60, ref=0x55cbc9698520, freshResource=0x7fff08f01fd7) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:357
#6  0x00007fc8d015525e in operator() (__closure=0x55cbc9af0730) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1296
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55cbc9af0720, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fc8ec96a783 in QtPrivate::QSlotObjectBase::call (a=0x7fff08f020b0, r=0x55cbc926b670, this=0x55cbc9af0720) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x55cbc9aef950, signal_index=4, argv=0x7fff08f020b0) at kernel/qobject.cpp:3886
#12 0x00007fc8ec963a97 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3946
#13 0x00007fc8ec7500f5 in QFutureWatcherBase::event (this=<optimized out>, event=0x7fc8b06aa4d0) at thread/qfuturewatcher.cpp:334
#14 0x00007fc8edad1713 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55cbc9aef950, e=0x7fc8b06aa4d0) at kernel/qapplication.cpp:3637
#15 0x00007fc8ec932e2a in QCoreApplication::notifyInternal2 (receiver=0x55cbc9aef950, event=0x7fc8b06aa4d0) at kernel/qcoreapplication.cpp:1064
#16 0x00007fc8ec935f17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55cbc8694480) at kernel/qcoreapplication.cpp:1821
#17 0x00007fc8ec98ca57 in postEventSourceDispatch (s=0x55cbc87ca8b0) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007fc8eb229d1b in g_main_dispatch (context=0x7fc8e0005010) at ../../../glib/gmain.c:3417
#19 g_main_context_dispatch (context=0x7fc8e0005010) at ../../../glib/gmain.c:4135
#20 0x00007fc8eb27e6f8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fc8e0005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#21 0x00007fc8eb2273c3 in g_main_context_iteration (context=0x7fc8e0005010, may_block=1) at ../../../glib/gmain.c:4276
#22 0x00007fc8ec98c0a8 in QEventDispatcherGlib::processEvents (this=0x55cbc87d0640, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fc8ec93174b in QEventLoop::exec (this=this@entry=0x7fff08f02490, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fc8ec939ce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007fc8ecd0ee10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#26 0x00007fc8edad1689 in QApplication::exec () at kernel/qapplication.cpp:2829
#27 0x000055cbc6c93638 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:217
[Inferior 1 (process 62728) detached]

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

Reported using DrKonqi
Comment 1 Nate Graham 2022-05-10 15:44:21 UTC

*** This bug has been marked as a duplicate of bug 443745 ***
Comment 2 Andrey Miroshnichenko 2023-04-19 06:37:59 UTC
Created attachment 158206 [details]
New crash information added by DrKonqi

plasma-discover (5.24.4) using Qt 5.15.2

Didn't do anything. The crash happens after the application is loaded.

-- Backtrace (Reduced):
#4  FlatpakBackend::findSource (this=this@entry=0x55be4a017ee0, installation=installation@entry=0x7f8f80011ae0, origin=...) at /usr/src/debug/discover-5.24.4-bp154.1.44.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:430
#5  0x00007f8fb034b5f1 in FlatpakBackend::getAppForInstalledRef (this=0x55be4a017ee0, installation=0x7f8f80011ae0, ref=ref@entry=0x55be4d037400, freshResource=freshResource@entry=0x7fff8ceecc3f) at /usr/src/debug/discover-5.24.4-bp154.1.44.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:357
#6  0x00007f8fb0350257 in <lambda()>::operator() (__closure=0x55be4a01a860) at /usr/src/debug/discover-5.24.4-bp154.1.44.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1296
#9  QtPrivate::QFunctorSlotObject<FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55be4a01a850, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007f8fe801b1c7 in QtPrivate::QSlotObjectBase::call (a=0x7fff8ceecd30, r=0x55be4a017ee0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398