Bug 435813

Summary: Suystem Monitor crashes on close
Product: [Applications] plasma-systemmonitor Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ahiemstra, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2021-04-16 12:32:19 UTC
Application: plasma-systemmonitor (5.21.80)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.8.0-49-generic x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.80
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
Plasma shows a crash notification every time I close System Monitor.

The crash can be reproduced every time.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f15e1fe4180 (LWP 53880))]
[New LWP 53882]
[New LWP 53883]
[New LWP 53884]
[New LWP 53885]
[New LWP 53886]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f15e6120aff in __GI___poll (fds=fds@entry=0x7ffde339e768, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 6 (Thread 0x7f15d97aa700 (LWP 53886)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557392fe669c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557392fe6648, cond=0x557392fe6670) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x557392fe6670, mutex=0x557392fe6648) at pthread_cond_wait.c:638
#3  0x00007f15dad07e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f15dad07a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f15e566f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f15e612d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f15d9fab700 (LWP 53885)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557392fe669c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557392fe6648, cond=0x557392fe6670) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x557392fe6670, mutex=0x557392fe6648) at pthread_cond_wait.c:638
#3  0x00007f15dad07e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f15dad07a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f15e566f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f15e612d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f15d1fab700 (LWP 53884)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557392fe669c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557392fe6648, cond=0x557392fe6670) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x557392fe6670, mutex=0x557392fe6648) at pthread_cond_wait.c:638
#3  0x00007f15dad07e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f15dad07a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f15e566f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f15e612d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f15da7ac700 (LWP 53883)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557392fe6698) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557392fe6648, cond=0x557392fe6670) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x557392fe6670, mutex=0x557392fe6648) at pthread_cond_wait.c:638
#3  0x00007f15dad07e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f15dad07a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f15e566f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f15e612d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f15e113b700 (LWP 53882)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15e113aaa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7f15e113aaa0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f15e4abfb2f in read (__nbytes=16, __buf=0x7f15e113aaa0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x557392e0f8c0) at ../../../glib/gwakeup.c:210
#4  0x00007f15e4a76ebe in g_main_context_check (context=context@entry=0x7f15dc000c20, max_priority=2147483647, fds=fds@entry=0x7f15dc005240, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f15e4a77312 in g_main_context_iterate (context=context@entry=0x7f15dc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f15e4a774a3 in g_main_context_iteration (context=0x7f15dc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f15e66ebffb in QEventDispatcherGlib::processEvents (this=0x7f15dc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f15e66901eb in QEventLoop::exec (this=this@entry=0x7f15e113acb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f15e64aaa52 in QThread::exec (this=this@entry=0x7f15e7cb7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f15e7c33f4b in QDBusConnectionManager::run (this=0x7f15e7cb7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#11 0x00007f15e64abbec in QThreadPrivate::start (arg=0x7f15e7cb7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#12 0x00007f15e566f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007f15e612d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f15e1fe4180 (LWP 53880)):
[KCrash Handler]
#6  0x00007f15e14537e1 in QQuickDialogButtonBoxPrivate::getContentWidth (this=0x557397a21230) at qquickdialogbuttonbox.cpp:325
#7  0x00007f15e1449238 in QQuickControlPrivate::updateImplicitContentWidth (this=0x557397a21230) at qquickcontrol.cpp:462
#8  0x00007f15e14539d5 in QQuickDialogButtonBoxPrivate::itemImplicitWidthChanged (this=0x557397a21230, item=0x557397c0c360) at qquickdialogbuttonbox.cpp:202
#9  0x00007f15e5ce020d in QQuickItemPrivate::implicitWidthChanged (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:236
#10 0x00007f15e5cd93b6 in QQuickItem::setImplicitSize (this=this@entry=0x557397c0c360, w=w@entry=0, h=h@entry=0) at items/qquickitem.cpp:6935
#11 0x00007f15e0013802 in QQuickLayoutPrivate::applySizeHints (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:315
#12 0x00007f15e001384b in QQuickLayout::ensureLayoutItemsUpdated (this=<optimized out>) at qquicklayout.cpp:854
#13 0x00007f15e0016cfe in QQuickGridLayoutBase::itemCount (this=<optimized out>) at qquicklinearlayout.cpp:432
#14 0x00007f15e0012a88 in QQuickLayout::deactivateRecur (this=this@entry=0x557397c0c360) at qquicklayout.cpp:916
#15 0x00007f15e0016c62 in QQuickGridLayoutBase::~QQuickGridLayoutBase (this=0x557397c0c360, __in_chrg=<optimized out>) at qquicklinearlayout.cpp:313
#16 0x00007f15e001e1d5 in QQuickLinearLayout::~QQuickLinearLayout (this=0x557397c0c360, __in_chrg=<optimized out>) at ./qquicklinearlayout_p.h:228
#17 QQuickRowLayout::~QQuickRowLayout (this=0x557397c0c360, __in_chrg=<optimized out>) at ./qquicklinearlayout_p.h:228
#18 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x557397c0c360, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#19 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x557397c0c360, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#20 0x00007f15e66bbcfe in QObjectPrivate::deleteChildren (this=0x557397a21230) at kernel/qobject.cpp:2104
#21 0x00007f15e66c6726 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#22 0x00007f15e5ce6c2a in QQuickItem::~QQuickItem (this=0x557397bb5960, __in_chrg=<optimized out>) at items/qquickitem.cpp:2364
#23 0x00007f15d338d659 in QQmlPrivate::QQmlElement<QQuickDialogButtonBox>::~QQmlElement (this=0x557397bb5960, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:142
#24 QQmlPrivate::QQmlElement<QQuickDialogButtonBox>::~QQmlElement (this=0x557397bb5960, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#25 0x00007f15e66bbcfe in QObjectPrivate::deleteChildren (this=0x557397e8aa10) at kernel/qobject.cpp:2104
#26 0x00007f15e66c6726 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#27 0x00007f15d338b7d2 in QQuickDialog::~QQuickDialog (this=0x557397e8a950, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickdialog_p.h:59
#28 QQmlPrivate::QQmlElement<QQuickDialog>::~QQmlElement (this=0x557397e8a950, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#29 QQmlPrivate::QQmlElement<QQuickDialog>::~QQmlElement (this=0x557397e8a950, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#30 0x00007f15e66bbcfe in QObjectPrivate::deleteChildren (this=0x557397cd1430) at kernel/qobject.cpp:2104
#31 0x00007f15e66c6726 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#32 0x00007f15e5ce6c2a in QQuickItem::~QQuickItem (this=0x557397ceb050, __in_chrg=<optimized out>) at items/qquickitem.cpp:2364
#33 0x00007f15d24c7a49 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/ksysguard/faces/libFacesPlugin.so
#34 0x00007f15e66bbcfe in QObjectPrivate::deleteChildren (this=0x557393501550) at kernel/qobject.cpp:2104
#35 0x00007f15e66c6726 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#36 0x00007f15d39cec4a in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#37 0x00007f15d39ced6d in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#38 0x00007f15e66bbcfe in QObjectPrivate::deleteChildren (this=0x557393312260) at kernel/qobject.cpp:2104
#39 0x00007f15e66c6726 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#40 0x00007f15e6c82d64 in QQmlEngine::~QQmlEngine (this=0x7ffde339f800, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#41 0x000055739299708d in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:134
[Inferior 1 (process 53880) detached]

Reported using DrKonqi
Comment 1 Arjen Hiemstra 2021-04-16 13:00:10 UTC

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