Bug 438091 - Segmentation fault when quitting system monitor
Summary: Segmentation fault when quitting system monitor
Status: RESOLVED DUPLICATE of bug 436707
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.21.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-04 16:39 UTC by ja.vo
Modified: 2021-06-04 17:26 UTC (History)
2 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 ja.vo 2021-06-04 16:39:52 UTC
Application: plasma-systemmonitor (5.21.5)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.4-2-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Quitting the application hitting the x-button causes the segmentation fault.

The crash can be reproduced every time.

-- Backtrace:
Application: Systemmonitor (plasma-systemmonitor), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fd2a7461400 (LWP 6746))]
[KCrash Handler]
#6  0x0000558a3eec67d0 in ?? ()
#7  0x00007fd29cf5b146 in ToolBarLayoutDelegate::ensureItemVisibility (this=0x558a4386d380) at /usr/src/debug/kirigami2-5.82.0-1.2.x86_64/src/toolbarlayoutdelegate.h:87
#8  0x00007fd2a95360f3 in QtPrivate::QSlotObjectBase::call (a=0x7ffdcdb1d290, r=0x558a4386d380, this=0x558a40516570) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x558a438ae780, signal_index=18, argv=0x7ffdcdb1d290) at kernel/qobject.cpp:3886
#10 0x00007fd2a952f5bf in QMetaObject::activate (sender=sender@entry=0x558a438ae780, m=m@entry=0x7fd29ffd9e20 <QQuickItem::staticMetaObject>, local_signal_index=local_signal_index@entry=15, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#11 0x00007fd29fcd6713 in QQuickItem::visibleChanged (this=this@entry=0x558a438ae780) at .moc/moc_qquickitem.cpp:1170
#12 0x00007fd29fce6d47 in QQuickItemPrivate::setEffectiveVisibleRecur (this=this@entry=0x558a438ae840, newEffectiveVisible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/quick/items/qquickitem.cpp:6057
#13 0x00007fd29fcef439 in QQuickItem::setParentItem (this=this@entry=0x558a438ae780, parentItem=parentItem@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/quick/items/qquickitem.cpp:2710
#14 0x00007fd29fcef956 in QQuickItem::~QQuickItem (this=0x558a438ae780, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/quick/items/qquickitem.cpp:2311
#15 0x00007fd297b2e3ae in QQuickButton::~QQuickButton (this=<optimized out>, this=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickbutton_p.h:57
#16 QQuickToolButton::~QQuickToolButton (this=<optimized out>, this=<optimized out>) at ../../../include/QtQuickTemplates2/5.15.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquicktoolbutton_p.h:55
#17 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#18 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#19 0x00007fd29cf5bab6 in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kirigami2-5.82.0-1.2.x86_64/src/toolbarlayoutdelegate.cpp:84
#20 0x00007fd29cf5bb4a in ToolBarLayoutDelegate::~ToolBarLayoutDelegate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kirigami2-5.82.0-1.2.x86_64/src/toolbarlayoutdelegate.cpp:70
#21 std::default_delete<ToolBarLayoutDelegate>::operator() (__ptr=0x558a4386d380, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:85
#22 std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#23 std::pair<QObject* const, std::unique_ptr<ToolBarLayoutDelegate, std::default_delete<ToolBarLayoutDelegate> > >::~pair (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/stl_pair.h:211
#24 __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> > > > (__p=0x558a4371da18, this=0x558a4045f338) at /usr/include/c++/11/ext/new_allocator.h:162
#25 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> > > > (__p=0x558a4371da18, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:531
#26 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=0x558a4371da10, this=0x558a4045f338) at /usr/include/c++/11/bits/hashtable_policy.h:1891
#27 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=0x558a4045f338, __bkt=<optimized out>, __prev_n=<optimized out>, __n=0x558a4371da10) at /usr/include/c++/11/bits/hashtable.h:2160
#28 0x00007fd29cf5bef0 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=0x558a4045f338) at /usr/include/c++/11/bits/hashtable.h:2135
#29 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=0x558a4045f338) at /usr/include/c++/11/bits/hashtable.h:915
#30 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=0x558a4045f338) at /usr/include/c++/11/bits/unordered_map.h:746
#31 operator() (action=<optimized out>, __closure=0x558a43842990) at /usr/src/debug/kirigami2-5.82.0-1.2.x86_64/src/toolbarlayout.cpp:123
#32 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QObject*>, void, ToolBarLayout::addAction(QObject*)::<lambda(QObject*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#33 QtPrivate::Functor<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1>::call<QtPrivate::List<QObject*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#34 QtPrivate::QFunctorSlotObject<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl (which=<optimized out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=0x558a43842980) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#35 QtPrivate::QFunctorSlotObject<ToolBarLayout::addAction(QObject*)::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x558a43842980, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#36 0x00007fd2a95360f3 in QtPrivate::QSlotObjectBase::call (a=0x7ffdcdb1d5b0, r=0x558a4046f7c0, this=0x558a43842980) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#37 doActivate<false> (sender=0x558a404f1350, signal_index=0, argv=0x7ffdcdb1d5b0) at kernel/qobject.cpp:3886
#38 0x00007fd2a952f5bf in QMetaObject::activate (sender=sender@entry=0x558a404f1350, m=m@entry=0x7fd2a97d9a40 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdcdb1d5b0) at kernel/qobject.cpp:3946
#39 0x00007fd2a952f66f in QObject::destroyed (this=this@entry=0x558a404f1350, _t1=<optimized out>, _t1@entry=0x558a404f1350) at .moc/moc_qobject.cpp:219
#40 0x00007fd2a953449d in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:992
#41 0x00007fd297b2f81b in QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#42 QQmlPrivate::QQmlElement<QQuickAction>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#43 0x00007fd2a95297be in QObjectPrivate::deleteChildren (this=0x558a40483db0) at kernel/qobject.cpp:2104
#44 0x00007fd2a9534324 in QObject::~QObject (this=this@entry=0x558a4048d810, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#45 0x00007fd29fcefaee in QQuickItem::~QQuickItem (this=this@entry=0x558a4048d810, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/quick/items/qquickitem.cpp:2365
#46 0x00007fd29cdbe3dc in KSysGuard::SensorFace::~SensorFace (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libksysguard5-5.21.5-1.2.x86_64/faces/SensorFace.cpp:43
#47 0x00007fd2940d8775 in QQmlPrivate::QQmlElement<KSysGuard::SensorFace>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#48 QQmlPrivate::QQmlElement<KSysGuard::SensorFace>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#49 0x00007fd2a95297be in QObjectPrivate::deleteChildren (this=0x558a404810b0) at kernel/qobject.cpp:2104
#50 0x00007fd2a9534324 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#51 0x00007fd29cdba829 in KSysGuard::SensorFaceController::~SensorFaceController (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libksysguard5-5.21.5-1.2.x86_64/faces/SensorFaceController.cpp:402
#52 0x00007fd2a95297be in QObjectPrivate::deleteChildren (this=0x558a3ec62960) at kernel/qobject.cpp:2104
#53 0x00007fd2a9534324 in QObject::~QObject (this=this@entry=0x7ffdcdb1da00, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#54 0x00007fd2aa9ff82a in QJSEngine::~QJSEngine (this=this@entry=0x7ffdcdb1da00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/qml/jsapi/qjsengine.cpp:371
#55 0x00007fd2aab66448 in QQmlEngine::~QQmlEngine (this=this@entry=0x7ffdcdb1da00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/qml/qml/qqmlengine.cpp:1030
#56 0x00007fd2aabd8958 in QQmlApplicationEngine::~QQmlApplicationEngine (this=this@entry=0x7ffdcdb1da00, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-4.2.x86_64/src/qml/qml/qqmlapplicationengine.cpp:264
#57 0x0000558a3dfc4f71 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-systemmonitor-5.21.5-1.2.x86_64/src/main.cpp:134
[Inferior 1 (process 6746) detached]

Possible duplicates by query: bug 437773, bug 435992, bug 434725, bug 434192, bug 433252.

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

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