Bug 437076 - System Monitor crashes on closing when Details Sidebar wsa opened
Summary: System Monitor crashes on closing when Details Sidebar wsa opened
Status: RESOLVED DUPLICATE of bug 436869
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-05-14 09:23 UTC by Piotr
Modified: 2021-05-17 13:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr 2021-05-14 09:23:49 UTC
Application: plasma-systemmonitor (5.21.5)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.4.0-73-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. Opened System Monitor
2. Selected Applications from the left pane and selected application (in this case /usr/bin/firefox) from the list
3. Clicked Show Details Sidebar
4. Clicked Show Details Sidebar again to close it
5. Closed System Monitor
6. System Monitor closed and error report poped up.

The crash can be reproduced every time.

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

[New LWP 49596]
[New LWP 49597]
[New LWP 49599]
[New LWP 49600]
[New LWP 49601]
[New LWP 49602]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f0328b89aff in __GI___poll (fds=0x7ffcd5f55668, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f032582e340 (LWP 49594))]

Thread 7 (Thread 0x7f03149f3700 (LWP 49602)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562ac0921598) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562ac0921548, cond=0x562ac0921570) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562ac0921570, mutex=0x562ac0921548) at pthread_cond_wait.c:638
#3  0x00007f03168f7e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f03168f7a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f03151f4700 (LWP 49601)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562ac0921598) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562ac0921548, cond=0x562ac0921570) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562ac0921570, mutex=0x562ac0921548) at pthread_cond_wait.c:638
#3  0x00007f03168f7e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f03168f7a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f03159f5700 (LWP 49600)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562ac0921598) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562ac0921548, cond=0x562ac0921570) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562ac0921570, mutex=0x562ac0921548) at pthread_cond_wait.c:638
#3  0x00007f03168f7e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f03168f7a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f03161f6700 (LWP 49599)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562ac0921598) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562ac0921548, cond=0x562ac0921570) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562ac0921570, mutex=0x562ac0921548) at pthread_cond_wait.c:638
#3  0x00007f03168f7e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f03168f7a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f031e87a700 (LWP 49597)):
#0  __GI___libc_read (nbytes=16, buf=0x7f031e879b20, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f031e879b20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f0327adcb2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0327a93ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0327a94312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0327a944a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0329154ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f03290f91eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0328f13a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f03293b6f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f0328f14bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f032492e700 (LWP 49596)):
#0  0x00007f0328b89aff in __GI___poll (fds=0x7f032492dc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f032785ec1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f032786090a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0324f2bd58 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f0328f14bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0328888609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0328b96293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f032582e340 (LWP 49594)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f031c2f4bda in ToolBarLayoutDelegate::ensureItemVisibility (this=0x562ac43a5fb0) at ./src/toolbarlayoutdelegate.h:87
#6  0x00007f03291316fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f031f3e3c9c in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f031f3e9c6d in QQuickItem::setParentItem(QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f031f3eab0c in QQuickItem::~QQuickItem() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f03179bd602 in QQuickButton::~QQuickButton (this=0x562ac4050a50, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickbutton_p.h:57
#11 QQuickToolButton::~QQuickToolButton (this=0x562ac4050a50, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquicktoolbutton_p.h:55
#12 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=0x562ac4050a50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#13 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=0x562ac4050a50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#14 0x00007f031c2f37fe in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=0x562ac43a5fb0, __in_chrg=<optimized out>) at ./src/toolbarlayoutdelegate.cpp:84
#15 0x00007f031c2f381d in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=0x562ac43a5fb0, __in_chrg=<optimized out>) at ./src/toolbarlayoutdelegate.cpp:70
#16 0x00007f031c2f00f3 in std::default_delete<ToolBarLayoutDelegate>::operator() (this=0x562ac3a4c200, __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=0x562ac3a4c200, __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=0x562ac3a4c1f8, __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=0x562ac3a4c1f8) 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=0x562ac3a4c1f8) 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=0x562ac3a4c1f0, this=<optimized out>) at /usr/include/c++/9/bits/hashtable_policy.h:2102
#22 0x00007f031c2f2ed7 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=0x562ac20e0088, __bkt=<optimized out>, __prev_n=<optimized out>, __n=<optimized out>) at /usr/include/c++/9/bits/hashtable_policy.h:340
#23 0x00007f031c2f195b 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=0x562ac20e0088) 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=0x562ac20e0088) 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=0x562ac20e0088) at /usr/include/c++/9/bits/unordered_map.h:798
#26 ToolBarLayout::<lambda(QObject*)>::operator() (__closure=0x562ac3995200, action=0x562ac377c790) 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_=0x562ac39951f0) 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_=0x562ac39951f0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:436
#31 0x00007f03291316fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f032912ab83 in QObject::destroyed(QObject*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f032912f955 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f03179c197f in QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=0x562ac377c790, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:142
#35 QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=0x562ac377c790, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#36 0x00007f0329124cfe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f032912f726 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f031f3eac2a in QQuickItem::~QQuickItem() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#39 0x00007f03141cba49 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/ksysguard/faces/libFacesPlugin.so
#40 0x00007f0329124cfe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f032912f726 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f031c104c4a in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#43 0x00007f031c104d6d in KSysGuard::SensorFaceController::~SensorFaceController() () from /lib/x86_64-linux-gnu/libKSysGuardSensorFaces.so.1
#44 0x00007f0329124cfe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f032912f726 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f032a703d64 in QQmlEngine::~QQmlEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#47 0x0000562abef6c068 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:133
[Inferior 1 (process 49594) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2021-05-17 13:44:51 UTC

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