Bug 495874 - Discover crashes in ResultsStream::resourcesFound() when searching
Summary: Discover crashes in ResultsStream::resourcesFound() when searching
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 6.2.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-11-06 12:55 UTC by Emmanuel ATSÉ
Modified: 2024-11-06 19:33 UTC (History)
4 users (show)

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


Attachments
Crash dump with debug info (88.32 KB, text/vnd.kde.kcrash-report)
2024-11-06 12:55 UTC, Emmanuel ATSÉ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel ATSÉ 2024-11-06 12:55:29 UTC
Created attachment 175577 [details]
Crash dump with debug info

-- Information about the crash:
When typing a search term, then hit enter, Discover first show the loading wheel, much more longer than usually, and then crashes at some point.

The crash can be reproduced every time.

-- System infos:
Application: plasma-discover (6.2.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.7.0
Operating System: Linux 6.11.5-300.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41.20241105.0 (Kinoite)"
DrKonqi: 6.2.2 [CoredumpBackend]
Comment 1 Nate Graham 2024-11-06 19:33:49 UTC
Thread 1 (Thread 0x7fb6fe093000 (LWP 38240)):
[KCrash Handler]
#5  std::__atomic_base<QObjectPrivate::Connection*>::load (this=0x700000017, __m=std::memory_order_acquire) at /usr/include/c++/14/bits/atomic_base.h:831
#6  std::atomic<QObjectPrivate::Connection*>::load (this=0x700000017, __m=std::memory_order_acquire) at /usr/include/c++/14/atomic:582
#7  QAtomicOps<QObjectPrivate::Connection*>::loadAcquire<QObjectPrivate::Connection*> (_q_value=<error reading variable: Cannot access memory at address 0x700000017>) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/thread/qatomic_cxx11.h:214
#8  QBasicAtomicPointer<QObjectPrivate::Connection>::loadAcquire (this=0x700000017) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/thread/qbasicatomic.h:177
#9  QObjectPrivate::maybeSignalConnected (this=this@entry=0x56302f7c4f90, signalIndex=signalIndex@entry=3) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qobject.cpp:455
#10 0x00007fb70415b468 in doActivate<false> (sender=0x56302ea843d0, signal_index=3, argv=0x7fff737bca90) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qobject.cpp:4020
#11 0x00007fb7041520c7 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff737bca90) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qobject.cpp:4180
#12 0x00007fb706ecf169 in ResultsStream::resourcesFound (this=<optimized out>, _t1=...) at /usr/src/debug/plasma-discover-6.2.2-1.fc41.x86_64/redhat-linux-build/libdiscover/DiscoverCommon_autogen/include/moc_AbstractResourcesBackend.cpp:158
#13 0x00007fb6b71622af in operator() (__closure=0x56302e101490) at /usr/src/debug/plasma-discover-6.2.2-1.fc41.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1880
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::findResourceByPackageName(const QUrl&)::<lambda()> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#15 QtPrivate::FunctorCallable<FlatpakBackend::findResourceByPackageName(const QUrl&)::<lambda()> >::call<QtPrivate::List<>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#16 QtPrivate::QCallableObject<FlatpakBackend::findResourceByPackageName(const QUrl&)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x56302e101480, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#17 0x00007fb70414d172 in QObject::event (this=0x563029d100b0, e=0x56302e65b550) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qobject.cpp:1419
#18 0x00007fb70663d6b8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563029d100b0, e=0x56302e65b550) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3294
#19 0x00007fb7040f3a38 in QCoreApplication::notifyInternal2 (receiver=0x563029d100b0, event=0x56302e65b550) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1165
#20 0x00007fb7040f3c8d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1609
#21 0x00007fb7040f7765 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5630291bfb80) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1965
#22 0x00007fb7040f8b6d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1797
#23 0x00007fb7043ea68f in postEventSourceDispatch (s=0x5630292cbd90) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#24 0x00007fb7030f128c in g_main_dispatch (context=0x7fb6e8000f30) at ../glib/gmain.c:3357
#25 g_main_context_dispatch_unlocked (context=0x7fb6e8000f30) at ../glib/gmain.c:4208
#26 0x00007fb7031517b8 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fb6e8000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273
#27 0x00007fb7030f2783 in g_main_context_iteration (context=0x7fb6e8000f30, may_block=1) at ../glib/gmain.c:4338
#28 0x00007fb7043e9de3 in QEventDispatcherGlib::processEvents (this=0x5630291c5350, flags=...) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#29 0x00007fb70410221b in QEventLoop::exec (this=this@entry=0x7fff737bd1d0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/global/qflags.h:34
#30 0x00007fb7040fda2e in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/corelib/global/qflags.h:74
#31 0x00007fb7048d723d in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975
#32 0x00007fb70663d629 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.0-4.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2562
#33 0x0000563021c5f95e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-discover-6.2.2-1.fc41.x86_64/discover/main.cpp:219


Looks similar to Bug 463864.