Bug 426683

Summary: KSysguard crash
Product: [Unmaintained] ksysguard Reporter: Daniel Vrátil <dvratil>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Daniel Vrátil 2020-09-18 12:16:25 UTC
Application: ksysguard (5.19.80)
 (Compiled from sources)
Qt Version: 5.15.0
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-1.fc33.x86_64 x86_64
Windowing system: X11
Distribution: "Fedora release 34 (Rawhide)"

-- Information about the crash:
- What I was doing when the application crashed:

Working in a completely different application. KSysguard has been running for about 6 hours and then suddenly has crashed.

- Custom settings of the application:

Compiled from git master couple days ago.

-- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault
Content of s_kcrashErrorMessage: (null)
[New LWP 3507364]
[New LWP 3507368]
[New LWP 3507369]
[New LWP 3507370]
[New LWP 3507371]
[New LWP 3507373]
[New LWP 51703]
[New LWP 51704]
[New LWP 51705]
[New LWP 51706]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7f8bd6e0da00 (LWP 3507363))]

Thread 11 (Thread 0x7f8bb37fe640 (LWP 51706)):
#0  0x00007f8bda655a58 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bf11fe9b0 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x2120940) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x2120940) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x2128460, mutex=0x1f43ce8, deadline=...) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:225
#4  0x00007f8bf11fb8c4 in QThreadPoolThread::run (this=0x2128450) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qmutex.h:270
#5  0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x2128450) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#6  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f8bb8f84640 (LWP 51705)):
#0  0x00007f8bda655a58 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bf11fe9b0 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x212ca50) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x212ca50) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x2123f80, mutex=0x1f43ce8, deadline=...) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:225
#4  0x00007f8bf11fb8c4 in QThreadPoolThread::run (this=0x2123f70) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qmutex.h:270
#5  0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x2123f70) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#6  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f8bb3fff640 (LWP 51704)):
[KCrash Handler]
#5  std::__atomic_base<QObjectPrivate::Connection*>::load (__m=std::memory_order_relaxed, this=0x20) at /usr/include/c++/10/bits/atomic_base.h:741
#6  std::atomic<QObjectPrivate::Connection*>::load (__m=std::memory_order_relaxed, this=0x20) at /usr/include/c++/10/atomic:523
#7  QAtomicOps<QObjectPrivate::Connection*>::loadRelaxed<QObjectPrivate::Connection*> (_q_value=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicPointer<QObjectPrivate::Connection>::loadRelaxed (this=0x20) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qbasicatomic.h:248
#9  QObjectPrivate::ConnectionData::cleanOrphanedConnections (sender=0x7418760, this=0x0) at /data/qt/qt5/qtbase/src/corelib/kernel/qobject_p.h:282
#10 doActivate<false> (sender=0x7418760, signal_index=3, argv=0x7f8bb3ffe9d8) at /data/qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3928
#11 0x00007f8bf1412013 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /data/qt/qt5/qtbase/src/corelib/kernel/qobject.cpp:3946
#12 0x00007f8bf300dcde in KSysGuard::ReadProcSmapsRunnable::run (this=0x7418760) at /data/KDE/src/kde/workspace/libksysguard/processcore/read_procsmaps_runnable.cpp:37
#13 0x00007f8bf11fb7ba in QThreadPoolThread::run (this=0x2145880) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:101
#14 0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x2145880) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#15 0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f8bb2ffd640 (LWP 51703)):
#0  0x00007f8bda655a58 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bf11fe9b0 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x2131a00) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x2131a00) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x1fa2780, mutex=0x1f43ce8, deadline=...) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:225
#4  0x00007f8bf11fb8c4 in QThreadPoolThread::run (this=0x1fa2770) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qmutex.h:270
#5  0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x1fa2770) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#6  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f8bbadee640 (LWP 3507373)):
#0  0x00007f8bd7fffcdd in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f8bd7fafc2e in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#2  0x00007f8bf1440ce8 in QEventDispatcherGlib::processEvents (this=0x7f8b9c000b60, flags=...) at /data/qt/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f8bf13d84e5 in QEventLoop::processEvents (this=this@entry=0x7f8bbadedac0, flags=..., flags@entry=...) at /usr/include/c++/10/bits/atomic_base.h:741
#4  0x00007f8bf13d8ac6 in QEventLoop::exec (this=this@entry=0x7f8bbadedac0, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:125
#5  0x00007f8bf11f5718 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:121
#6  0x00007f8bf233ab84 in QDBusConnectionManager::run (this=0x7f8bf23ae6e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /data/qt/qt5/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x7f8bf23ae6e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#8  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f8bbb5ef640 (LWP 3507371)):
#0  0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bc2ec36fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f8bc2ec31c7 in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f8bbbdf0640 (LWP 3507370)):
#0  0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bc2ec36fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f8bc2ec31c7 in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8bbc5f1640 (LWP 3507369)):
#0  0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bc2ec36fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f8bc2ec31c7 in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8bbcdf2640 (LWP 3507368)):
#0  0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bc2ec36fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f8bc2ec31c7 in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8bc96c7640 (LWP 3507364)):
#0  0x00007f8bf0e45a4f in poll () from /lib64/libc.so.6
#1  0x00007f8bda2cd842 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007f8bda2cf1cc in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f8bc9846982 in QXcbEventQueue::run (this=0x1a69010) at /data/qt/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#4  0x00007f8bf11f6e28 in QThreadPrivate::start (arg=0x1a69010) at /data/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342
#5  0x00007f8bda64f3f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8bf0e50b43 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8bd6e0da00 (LWP 3507363)):
#0  0x00007f8bda655732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8bf11fea88 in QWaitConditionPrivate::wait (deadline=..., this=0x2009580) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=this@entry=0x1f43d10, mutex=mutex@entry=0x1f43ce8, deadline=...) at /data/qt/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:225
#3  0x00007f8bf11f95d2 in QThreadPoolPrivate::waitForDone (this=this@entry=0x1f43c90, timer=...) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:306
#4  0x00007f8bf11f992f in QThreadPoolPrivate::waitForDone (this=0x1f43c90, msecs=msecs@entry=-1) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:316
#5  0x00007f8bf11f9997 in QThreadPool::waitForDone (this=this@entry=0x7f8bf14d8b00 <(anonymous namespace)::Q_QGS_theInstance::innerFunction()::holder>, msecs=msecs@entry=-1) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:749
#6  0x00007f8bf11f99b8 in QThreadPool::~QThreadPool (this=0x7f8bf14d8b00 <(anonymous namespace)::Q_QGS_theInstance::innerFunction()::holder>, __in_chrg=<optimized out>) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:473
#7  0x00007f8bf11f99e3 in (anonymous namespace)::Q_QGS_theInstance::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /data/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:48
#8  0x00007f8bf0d8f427 in __run_exit_handlers () from /lib64/libc.so.6
#9  0x00007f8bf0d8f5d0 in exit () from /lib64/libc.so.6
#10 0x00007f8bc981cd1c in QXcbConnection::processXcbEvents (this=0x1a71830, flags=flags@entry=...) at /data/qt/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:987
#11 0x00007f8bc9847d7c in xcbSourceDispatch (source=<optimized out>) at /data/qt/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#12 0x00007f8bd7fb288f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x00007f8bd8004288 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#14 0x00007f8bd7fafc43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#15 0x00007f8bf1440cce in QEventDispatcherGlib::processEvents (this=0x1b8dbb0, flags=...) at /data/qt/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#16 0x00007f8bc98480be in QXcbGlibEventDispatcher::processEvents (this=<optimized out>, flags=...) at /data/qt/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143
#17 0x00007f8bf13d84e5 in QEventLoop::processEvents (this=this@entry=0x7ffe37a08590, flags=..., flags@entry=...) at /usr/include/c++/10/bits/atomic_base.h:741
#18 0x00007f8bf13d8ac6 in QEventLoop::exec (this=this@entry=0x7ffe37a08590, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:125
#19 0x00007f8bf13e2a6e in QCoreApplication::exec () at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:121
#20 0x00007f8bf16f7d88 in QGuiApplication::exec () at /data/qt/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1867
#21 0x00007f8bf1deb231 in QApplication::exec () at /data/qt/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2811
#22 0x00007f8bf312c11b in kdemain (argc=<optimized out>, argv=<optimized out>) at /data/KDE/src/kde/workspace/ksysguard/gui/ksysguard.cpp:627
#23 0x00007f8bf0d771a2 in __libc_start_main () from /lib64/libc.so.6
#24 0x0000000000201aee in _start ()
[Inferior 1 (process 3507363) detached]

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-06 06:36:28 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-21 05:01:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-05 05:09:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!