Bug 480369

Summary: Discover crashed while checking for updates
Product: [Applications] Discover Reporter: wodencafe
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, sitter
Priority: NOR Keywords: drkonqi
Version: 5.27.8   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wodencafe 2024-01-26 18:04:02 UTC
Application: plasma-discover (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-15-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
I had opened up Discover and checked for updates, and then shortly afterwords it crashed and I got the crash dailog.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007fc994152bd4 in QWeakPointer<QObject>::internalData (this=this@entry=0x2faa50154) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:704
#5  0x00007fc994152c40 in QPointer<PKResolveTransaction>::data (this=0x2faa50154) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:77
#6  QPointer<PKResolveTransaction>::operator PKResolveTransaction* (this=0x2faa50154) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:83
#7  PackageKitBackend::resolvePackages (this=this@entry=0x2faa50034, packageNames=...) at /usr/src/plasma-discover-5.27.8-0ubuntu2/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:371
#8  0x00007fc994153a16 in PKResultsStream::sendResources (this=0x5644fb5d0b70, res=..., waitForResolved=<optimized out>) at /usr/src/plasma-discover-5.27.8-0ubuntu2/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:589
#9  0x00007fc994162225 in operator() (__closure=0x5644fb5d2ba0) at /usr/src/plasma-discover-5.27.8-0ubuntu2/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:695
#10 std::__invoke_impl<void, PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>&> (__f=...) at /usr/include/c++/13/bits/invoke.h:61
#11 std::__invoke_r<void, PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>&> (__fn=...) at /usr/include/c++/13/bits/invoke.h:111
#12 std::_Function_handler<void(), PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/13/bits/std_function.h:290
#13 0x00007fc9a38f99a0 in QObject::event (this=0x5644fa9dee60, e=0x5644fd8b2170) at kernel/qobject.cpp:1347
#14 0x00007fc9a536bc82 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5644fa9dee60, e=0x5644fd8b2170) at kernel/qapplication.cpp:3640
#15 0x00007fc9a38cc7a8 in QCoreApplication::notifyInternal2 (receiver=0x5644fa9dee60, event=0x5644fd8b2170) at kernel/qcoreapplication.cpp:1064
#16 0x00007fc9a38cc982 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#17 0x00007fc9a38cfeb1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5644fa315490) at kernel/qcoreapplication.cpp:1821
#18 0x00007fc9a38d040c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#19 0x00007fc9a39286f7 in postEventSourceDispatch (s=0x5644fa4cb900) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007fc9a2113b2c in g_main_dispatch (context=0x7fc998000ec0) at ../../../glib/gmain.c:3476
#21 0x00007fc9a216f46f in g_main_context_dispatch_unlocked (context=0x7fc998000ec0) at ../../../glib/gmain.c:4284
#22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fc998000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349
#23 0x00007fc9a2111d20 in g_main_context_iteration (context=0x7fc998000ec0, may_block=1) at ../../../glib/gmain.c:4414
#24 0x00007fc9a3927daa in QEventDispatcherGlib::processEvents (this=0x5644fa4cc0a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fc9a38cb15b in QEventLoop::exec (this=this@entry=0x7ffedd654670, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x00007fc9a38d3904 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00007fc9a3d37610 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863
#28 0x00007fc9a536bbf9 in QApplication::exec () at kernel/qapplication.cpp:2832
#29 0x00005644f9e69c0f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/plasma-discover-5.27.8-0ubuntu2/discover/main.cpp:224
[Inferior 1 (process 109727) detached]

Reported using DrKonqi
Comment 1 Harald Sitter 2024-05-08 06:31:07 UTC
The crashing code is changing a lot in 6.1 and I'm pretty sure this crash is fixed as part of that.