Bug 469614 - discover crashes in PKResultsStream::sendResources() while fetching updates
Summary: discover crashes in PKResultsStream::sendResources() while fetching updates
Status: RESOLVED DUPLICATE of bug 467027
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.27.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-11 10:06 UTC by shiv
Modified: 2023-05-15 19:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shiv 2023-05-11 10:06:42 UTC
Application: plasma-discover (5.27.5)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.1.27-1-lts x86_64
Windowing System: X11
Distribution: EndeavourOS
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
discover crashes sometimes whenever i try to open it ( while it fetch update ).

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  std::__atomic_base<QObjectPrivate::SignalVector*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x322e382e38) at /usr/include/c++/12.2.1/atomic:578
#7  std::atomic<QObjectPrivate::SignalVector*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x322e382e38) at /usr/include/c++/12.2.1/atomic:579
#8  QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*>(std::atomic<QObjectPrivate::SignalVector*> const&) (_q_value=<error reading variable: Cannot access memory at address 0x322e382e38>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed() const (this=0x322e382e38) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::maybeSignalConnected(unsigned int) const (this=0x5559054e4980, signalIndex=3) at kernel/qobject.cpp:500
#11 0x00007f96bcebe82f in doActivate<false>(QObject*, int, void**) (sender=0x7f96b0002b30, signal_index=3, argv=0x7fff25bb3630) at kernel/qobject.cpp:3825
#12 0x00007f96beec3a37 in ResultsStream::resourcesFound(QVector<AbstractResource*> const&) (this=this@entry=0x7f96b0002b30, _t1=...) at /usr/src/debug/discover/build/libdiscover/DiscoverCommon_autogen/3YJK5W5UP7/moc_AbstractResourcesBackend.cpp:159
#13 0x00007f9660584d17 in PKResultsStream::sendResources(QVector<AbstractResource*> const&, bool) (this=0x7f96b0002b30, res=..., waitForResolved=false) at /usr/src/debug/discover/discover-5.27.5/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:602
#14 0x00007f9660593a4e in operator() (__closure=0x5559061e5b90) at /usr/src/debug/discover/discover-5.27.5/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:695
#15 std::__invoke_impl<void, PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>&> (__f=...) at /usr/include/c++/13.1.1/bits/invoke.h:61
#16 std::__invoke_r<void, PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>&> (__fn=...) at /usr/include/c++/13.1.1/bits/invoke.h:111
#17 std::_Function_handler<void(), PackageKitBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=<optimized out>) at /usr/include/c++/13.1.1/bits/std_function.h:290
#18 0x00007f96bceb1c80 in QObject::event(QEvent*) (this=0x5559057fbfc0, e=0x7f965400e7c0) at kernel/qobject.cpp:1347
#19 0x00007f96be778b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5559057fbfc0, e=0x7f965400e7c0) at kernel/qapplication.cpp:3640
#20 0x00007f96bce8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5559057fbfc0, event=0x7f965400e7c0) at kernel/qcoreapplication.cpp:1064
#21 0x00007f96bce8e093 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#22 0x00007f96bce8eb33 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x555904f55590) at kernel/qcoreapplication.cpp:1821
#23 0x00007f96bced4f58 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x555905050d50) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f96bb70f53b in g_main_dispatch (context=0x7f96b0000ee0) at ../glib/glib/gmain.c:3460
#25 g_main_context_dispatch (context=0x7f96b0000ee0) at ../glib/glib/gmain.c:4200
#26 0x00007f96bb76c219 in g_main_context_iterate.constprop.0 (context=0x7f96b0000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#27 0x00007f96bb70e1a2 in g_main_context_iteration (context=0x7f96b0000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#28 0x00007f96bced8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55590504ce60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f96bce8668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fff25bb3be0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f96bce912f9 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f96bd33b052 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#32 0x00007f96be776f2a in QApplication::exec() () at kernel/qapplication.cpp:2832
#33 0x0000555904654947 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/discover/discover-5.27.5/discover/main.cpp:224
[Inferior 1 (process 38775) detached]

The reporter indicates this bug may be a duplicate of or related to bug 467027.

Reported using DrKonqi
Comment 1 Nate Graham 2023-05-15 19:13:55 UTC

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