Bug 512304

Summary: Discover Notifier crashes repeatedly
Product: [Applications] Discover Reporter: mit0660
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/299541/events/dc75525f87b9429c838085d7552bf5d2/

Description mit0660 2025-11-18 17:31:42 UTC
Application: DiscoverNotifier (6.5.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.20.0
Operating System: Linux 6.17.8-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 6.5.3 [CoredumpBackend]

-- Information about the crash:
Discover Notifier crashes after log in every ~15 seconds overcrowding the system tray.  The issue might be related to not having Flatpack installed. An upgrade through pacman that involved several KDE components was performed before noticing this bug.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover Notifier (DiscoverNotifier), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}

warning: Can't open file /memfd:/.nvidia_drv.XXXXXX (deleted) during file-backed mapping note processing
[New LWP 1929]
[New LWP 3919]
[New LWP 1941]
[New LWP 1944]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/DiscoverNotifier --check-delay 20'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f47f2781a00 (LWP 1929))]

[Current thread is 1 (Thread 0x7f47f2781a00 (LWP 1929))]

Thread 4 (Thread 0x7f47f14d46c0 (LWP 1944)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f47f6a9316c in __internal_syscall_cancel (a1=a1@entry=139946967775736, a2=a2@entry=1, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007f47f6a931b4 in __syscall_cancel (a1=a1@entry=139946967775736, a2=a2@entry=1, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:75
#3  0x00007f47f6b0d4ae in __GI___poll (fds=fds@entry=0x7f47f14d39f8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f47f59c420b in poll (__timeout=-1, __nfds=1, __fds=0x7f47f14d39f8) at /usr/include/bits/poll2.h:39
#5  _xcb_conn_wait (c=c@entry=0x56431e19cb60, vector=vector@entry=0x0, count=count@entry=0x0, cond=<optimized out>) at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_conn.c:510
#6  0x00007f47f59c5f3d in _xcb_conn_wait (count=0x0, vector=0x0, cond=0x56431e19cba0, c=0x56431e19cb60) at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_conn.c:476
#7  xcb_wait_for_event (c=0x56431e19cb60) at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_in.c:703
#8  0x00007f47f1dade29 in QXcbEventQueue::run (this=0x56431e193720) at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/xcb/qxcbeventqueue.cpp:192
#9  0x00007f47f7530ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#11 QThreadPrivate::start (arg=0x56431e193720) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#12 0x00007f47f6a9698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#13 0x00007f47f6b1a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f47f1cd56c0 (LWP 1941)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f47f6a9316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f47f6a931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f47f6b0d9f6 in __GI_ppoll (fds=fds@entry=0x56431e660950, nfds=nfds@entry=5, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f47f5d08784 in ppoll (__fds=0x56431e660950, __nfds=5, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7f47ec000d00, timeout_usec=<optimized out>, fds=0x56431e660950, n_fds=5) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f47ec000d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007f47f5d08865 in g_main_context_iteration (context=0x7f47ec000d00, may_block=1) at ../glib/glib/gmain.c:4556
#8  0x00007f47f764a9d2 in QEventDispatcherGlib::processEvents (this=0x7f47ec000be0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007f47f7375a86 in QEventLoop::processEvents (this=0x7f47f1cd4ab0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#10 QEventLoop::exec (this=0x7f47f1cd4ab0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#11 0x00007f47f748af7e in QThread::exec (this=this@entry=0x7f47f79feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:672
#12 0x00007f47f797963e in QDBusConnectionManager::run (this=0x7f47f79feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:145
#13 0x00007f47f7530ca9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:437
#14 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:367
#15 QThreadPrivate::start (arg=0x7f47f79feda0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:397
#16 0x00007f47f6a9698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#17 0x00007f47f6b1a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f47e8ab46c0 (LWP 3919)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f47f6a9316c in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f47f6a931b4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f47f6b0d9f6 in __GI_ppoll (fds=fds@entry=0x7f47d8000be0, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f47f5d08784 in ppoll (__fds=0x7f47d8000be0, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x56431e1926d0, timeout_usec=<optimized out>, fds=0x7f47d8000be0, n_fds=2) at ../glib/glib/gmain.c:4811
#6  g_main_context_iterate_unlocked (context=context@entry=0x56431e1926d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4485
#7  0x00007f47f5d08865 in g_main_context_iteration (context=0x56431e1926d0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4556
#8  0x00007f47f5d088b2 in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6764
#9  0x00007f47f5d3f8bc in g_thread_proxy (data=0x56431e1c7690) at ../glib/glib/gthread.c:893
#10 0x00007f47f6a9698b in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f47f6b1a9cc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f47f2781a00 (LWP 1929)):
[KCrash Handler]
#5  _flatpak_installation_get_dir (self=<optimized out>, ensure_repo=0, error=0x0) at ../flatpak/common/flatpak-installation.c:383
#6  flatpak_installation_get_dir_maybe_no_repo (self=<optimized out>) at ../flatpak/common/flatpak-installation.c:399
#7  flatpak_installation_create_monitor (self=<optimized out>, cancellable=0x56431e8bc2b0, error=0x7ffde3db3e30) at ../flatpak/common/flatpak-installation.c:2670
#8  0x00007f47eb0df826 in FlatpakNotifier::Installation::ensureInitialized(std::function<_FlatpakInstallation* ()>, _GCancellable*, _GError**) (this=this@entry=0x56431e8baba0, func=..., cancellable=0x56431e8bc2b0, error=error@entry=0x7ffde3db3e30) at /usr/src/debug/discover/discover-6.5.3/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:131
#9  0x00007f47eb0e05df in FlatpakNotifier::setupFlatpakInstallations (this=0x56431e8bab90, error=0x7ffde3db3e30) at /usr/src/debug/discover/discover-6.5.3/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:146
#10 FlatpakNotifier::recheckSystemUpdateNeeded (this=0x56431e8bab90) at /usr/src/debug/discover/discover-6.5.3/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:68
#11 0x000056430cfca997 in DiscoverNotifier::recheckSystemUpdateNeeded (this=0x7ffde3db4778) at /usr/src/debug/discover/discover-6.5.3/notifier/DiscoverNotifier.cpp:384
#12 0x00007f47f73d716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#13 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#14 0x00007f47f73ddbd2 in QSingleShotTimer::timeout (this=0x56431e8be1e0) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsingleshottimer_p.cpp:116
#15 QSingleShotTimer::timerFinished (this=0x56431e8be1e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsingleshottimer.cpp:62
#16 QSingleShotTimer::timerEvent (this=0x56431e8be1e0, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsingleshottimer.cpp:84
#17 0x00007f47f73c44f6 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1386
#18 0x00007f47f87020a0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56431e8be1e0, e=0x7ffde3db4190) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3307
#19 0x00007f47f736a6c8 in QCoreApplication::notifyInternal2 (receiver=0x56431e8be1e0, event=0x7ffde3db4190) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#20 0x00007f47f752c6af in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffde3db4190) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#21 QTimerInfoList::activateTimers (this=0x56431e209780) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426
#22 0x00007f47f764da99 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#23 0x00007f47f5d06f8d in g_main_dispatch (context=0x7f47ec000f60) at ../glib/glib/gmain.c:3565
#24 0x00007f47f5d08657 in g_main_context_dispatch_unlocked (context=0x7f47ec000f60) at ../glib/glib/gmain.c:4425
#25 g_main_context_iterate_unlocked (context=context@entry=0x7f47ec000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#26 0x00007f47f5d08865 in g_main_context_iteration (context=0x7f47ec000f60, may_block=1) at ../glib/glib/gmain.c:4556
#27 0x00007f47f764a9d2 in QEventDispatcherGlib::processEvents (this=0x56431e244e00, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#28 0x00007f47f7375a86 in QEventLoop::processEvents (this=0x7ffde3db4460, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#29 QEventLoop::exec (this=0x7ffde3db4460, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#30 0x00007f47f736f171 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#31 0x00007f47f86fd31a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2574
#32 0x000056430cfc6b70 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/discover/discover-6.5.3/notifier/main.cpp:93

Reported using DrKonqi
Comment 1 David Edmundson 2025-11-18 22:34:54 UTC

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