Bug 438050 - System monitor crashes on closing.
Summary: System monitor crashes on closing.
Status: RESOLVED DUPLICATE of bug 436707
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.21.5
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-03 17:58 UTC by Samir
Modified: 2021-06-04 17:26 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 Samir 2021-06-03 17:58:35 UTC
Application: plasma-systemmonitor (5.21.5)

Qt Version: 5.15.3
Frameworks Version: 5.82.0
Operating System: Linux 5.4.0-74-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
- What I was doing when the application crashed:
1. I opened System Monitor.
2. I went through every single section: Overview, Applications, History, Processes and again History.
3. I closed System Monitor.

- Unusual behavior I noticed:
Discover has a lot of time installing vscode snap. The session got locked. Then I unlocked the session. After that, without close Discover I opened System Monitor, go through every single section and finally on closing it crashed.

- Custom settings of the application:
In System Monitor, on Applications section I have clicked the button 'Show Details Sidebar'.

The crash can be reproduced every time.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault

[New LWP 5531]
[New LWP 5532]
[New LWP 5534]
[New LWP 5535]
[New LWP 5536]
[New LWP 5537]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe05244caff in __GI___poll (fds=0x7ffc1aa2a728, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fe04f0f1340 (LWP 5530))]

Thread 7 (Thread 0x7fe03d8a1700 (LWP 5537)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5623455ac2b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5623455ac268, cond=0x5623455ac290) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5623455ac290, mutex=0x5623455ac268) at pthread_cond_wait.c:638
#3  0x00007fe03ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fe03ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe03e0a2700 (LWP 5536)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5623455ac2b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5623455ac268, cond=0x5623455ac290) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5623455ac290, mutex=0x5623455ac268) at pthread_cond_wait.c:638
#3  0x00007fe03ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fe03ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe03e8a3700 (LWP 5535)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5623455ac2b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5623455ac268, cond=0x5623455ac290) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5623455ac290, mutex=0x5623455ac268) at pthread_cond_wait.c:638
#3  0x00007fe03ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fe03ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe044aa0700 (LWP 5534)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5623455ac2b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5623455ac268, cond=0x5623455ac290) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5623455ac290, mutex=0x5623455ac268) at pthread_cond_wait.c:638
#3  0x00007fe03ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fe03ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe047fff700 (LWP 5532)):
#0  0x00007fe05244caff in __GI___poll (fds=0x7fe040004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe05135736e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0513574a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe052a18b3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe0529bcdcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe0527d6bb2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe052c7af4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fe0527d7d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe04dfc0700 (LWP 5531)):
#0  0x00007fe05244caff in __GI___poll (fds=0x7fe04dfbfc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe051121c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe05112390a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe04e7cee88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe0527d7d4c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe05214b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe052459293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe04f0f1340 (LWP 5530)):
[KCrash Handler]
#4  0x000056234801a4a1 in ?? ()
#5  0x00007fe045b77bda in ToolBarLayoutDelegate::ensureItemVisibility (this=0x562347a98420) at ./src/toolbarlayoutdelegate.h:87
#6  0x00007fe0529f52ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe04ccad08c in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fe04ccb305d in QQuickItem::setParentItem(QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fe04ccb3efc in QQuickItem::~QQuickItem() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fe0454eb602 in QQuickButton::~QQuickButton (this=0x5623482d11e0, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.3/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickbutton_p.h:57
#11 QQuickToolButton::~QQuickToolButton (this=0x5623482d11e0, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.3/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquicktoolbutton_p.h:55
#12 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=0x5623482d11e0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#13 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=0x5623482d11e0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#14 0x00007fe045b767fe in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=0x562347a98420, __in_chrg=<optimized out>) at ./src/toolbarlayoutdelegate.cpp:84
#15 0x00007fe045b7681d in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=0x562347a98420, __in_chrg=<optimized out>) at ./src/toolbarlayoutdelegate.cpp:70
#16 0x00007fe045b730f3 in std::default_delete<ToolBarLayoutDelegate>::operator() (this=0x5623479a3780, __ptr=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:75
#17 std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> >::~unique_ptr (this=0x5623479a3780, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:292
#18 std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >::~pair (this=0x5623479a3778, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/stl_pair.h:208
#19 __gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, false> >::destroy<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > > (this=<optimized out>, __p=0x5623479a3778) at /usr/include/c++/9/ext/new_allocator.h:153
#20 std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, false> > >::destroy<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > > (__a=..., __p=0x5623479a3778) at /usr/include/c++/9/bits/alloc_traits.h:497
#21 std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, false> > >::_M_deallocate_node (__n=0x5623479a3770, this=<optimized out>) at /usr/include/c++/9/bits/hashtable_policy.h:2102
#22 0x00007fe045b75ed7 in std::_Hashtable<QObject*, std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, std::allocator<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > >, std::__detail::_Select1st, std::equal_to<QObject*>, std::hash<QObject*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_erase (this=this@entry=0x5623473c51f8, __bkt=<optimized out>, __prev_n=<optimized out>, __n=<optimized out>) at /usr/include/c++/9/bits/hashtable_policy.h:340
#23 0x00007fe045b7495b in std::_Hashtable<QObject*, std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, std::allocator<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > >, std::__detail::_Select1st, std::equal_to<QObject*>, std::hash<QObject*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::erase (__it=..., this=0x5623473c51f8) at /usr/include/c++/9/bits/hashtable.h:1621
#24 std::_Hashtable<QObject*, std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >, std::allocator<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > >, std::__detail::_Select1st, std::equal_to<QObject*>, std::hash<QObject*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::erase (__it=..., this=0x5623473c51f8) at /usr/include/c++/9/bits/hashtable.h:768
#25 std::unordered_map<QObject*, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> >, std::hash<QObject*>, std::equal_to<QObject*>, std::allocator<std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > > > >::erase (__position=..., this=0x5623473c51f8) at /usr/include/c++/9/bits/unordered_map.h:798
#26 ToolBarLayout::<lambda(QObject*)>::operator() (__closure=0x562347ab6820, action=0x56234778daa0) at ./src/toolbarlayout.cpp:123
#27 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QObject*>, void, ToolBarLayout::addAction(QObject*)::<lambda(QObject*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#28 QtPrivate::Functor<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1>::call<QtPrivate::List<QObject*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#29 QtPrivate::QFunctorSlotObject<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl (which=1, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=0x562347ab6810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#30 QtPrivate::QFunctorSlotObject<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x562347ab6810, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:436
#31 0x00007fe0529f52ee in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fe0529ee773 in QObject::destroyed(QObject*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fe0529f3545 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fe0454ef97f in QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=0x56234778daa0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:142
#35 QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=0x56234778daa0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#36 0x00007fe0529e88ee in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fe0529f3316 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fe04ccb401a in QQuickItem::~QQuickItem() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#39 0x00007fe044063a49 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/ksysguard/faces/libFacesPlugin.so
#40 0x00007fe0529e88ee in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fe0529f3316 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fe045987c4a in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#43 0x00007fe045987d6d in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#44 0x00007fe0529e88ee in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fe0529f3316 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007fe053fc8d74 in QQmlEngine::~QQmlEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#47 0x00005623443ee068 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:133
[Inferior 1 (process 5530) detached]

Reported using DrKonqi
Comment 1 Arjen Hiemstra 2021-06-04 17:26:23 UTC

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