https://bugs.kde.org/show_bug.cgi?id=437575

            Bug ID: 437575
           Summary: System Monitor crashes after closing
           Product: plasma-systemmonitor
           Version: 5.21.5
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: a.kolesnikov1...@gmail.com
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

Application: plasma-systemmonitor (5.21.5)

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

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

1. Open System Monitor
2. Choose Processes
3. Choose Applications
4. Click Close button.
5. Crash

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 0x7f466d201400
(LWP 4356))]
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f4668062506 in ToolBarLayoutDelegate::ensureItemVisibility
(this=0x55a871d286e0) at
/usr/src/debug/kirigami2-5.82.0-1.1.x86_64/src/toolbarlayoutdelegate.h:87
#8  0x00007f466f2b2c17 in QtPrivate::QSlotObjectBase::call (a=0x7ffe926141d0,
r=0x55a871d286e0, this=0x55a871a36b30) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55a86ef76280, signal_index=18,
argv=0x7ffe926141d0, argv@entry=0x0) at kernel/qobject.cpp:3886
#10 0x00007f466f2abf60 in QMetaObject::activate
(sender=sender@entry=0x55a86ef76280, m=m@entry=0x7f466a168e20
<QQuickItem::staticMetaObject>, local_signal_index=local_signal_index@entry=15,
argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#11 0x00007f4669e661a3 in QQuickItem::visibleChanged
(this=this@entry=0x55a86ef76280) at .moc/moc_qquickitem.cpp:1170
#12 0x00007f4669e76bc8 in QQuickItemPrivate::setEffectiveVisibleRecur
(this=this@entry=0x55a871d288d0, newEffectiveVisible=<optimized out>) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2-4.1.x86_64/src/quick/items/qquickitem.cpp:6057
#13 0x00007f4669e7f249 in QQuickItem::setParentItem
(this=this@entry=0x55a86ef76280, parentItem=parentItem@entry=0x0) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2-4.1.x86_64/src/quick/items/qquickitem.cpp:2710
#14 0x00007f4669e7f756 in QQuickItem::~QQuickItem (this=0x55a86ef76280,
__in_chrg=<optimized out>) at
/usr/src/debug/libqt5-qtdeclarative-5.15.2-4.1.x86_64/src/quick/items/qquickitem.cpp:2311
#15 0x00007f46626f43ae 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 0x00007f4668062e66 in ToolBarLayoutDelegate::~ToolBarLayoutDelegate
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kirigami2-5.82.0-1.1.x86_64/src/toolbarlayoutdelegate.cpp:84
#20 0x00007f4668062efa in ToolBarLayoutDelegate::~ToolBarLayoutDelegate
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/kirigami2-5.82.0-1.1.x86_64/src/toolbarlayoutdelegate.cpp:70
#21 std::default_delete<ToolBarLayoutDelegate>::operator()
(__ptr=0x55a871d286e0, this=0x55a871202c70) at
/usr/include/c++/10/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++/10/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++/10/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=0x55a871202c68,
this=0x55a870f86d88) at /usr/include/c++/10/ext/new_allocator.h:156
#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=0x55a871202c68, __a=...)
at /usr/include/c++/10/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=0x55a871202c60, this=0x55a870f86d88) at
/usr/include/c++/10/bits/hashtable_policy.h:2053
#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=0x55a870f86d88, __bkt=<optimized out>,
__prev_n=<optimized out>, __n=0x55a871202c60) at
/usr/include/c++/10/bits/hashtable.h:1888
#28 0x00007f46680632c0 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=0x55a870f86d88) at
/usr/include/c++/10/bits/hashtable.h:1863
#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=0x55a870f86d88) at
/usr/include/c++/10/bits/hashtable.h:807
#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=0x55a870f86d88) at /usr/include/c++/10/bits/unordered_map.h:797
#31 operator() (action=0x55a8710f2b30, __closure=0x55a8716cfd50) at
/usr/src/debug/kirigami2-5.82.0-1.1.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_=0x55a8716cfd40) 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_=0x55a8716cfd40,
r=<optimized out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#36 0x00007f466f2b2c17 in QtPrivate::QSlotObjectBase::call (a=0x7ffe926144e0,
r=0x55a870f98ed0, this=0x55a8716cfd40) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#37 doActivate<false> (sender=0x55a8710f2b30, signal_index=0,
argv=argv@entry=0x7ffe926144e0) at kernel/qobject.cpp:3886
#38 0x00007f466f2abf60 in QMetaObject::activate
(sender=sender@entry=0x55a8710f2b30, m=m@entry=0x7f466f558a00
<QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffe926144e0) at kernel/qobject.cpp:3946
#39 0x00007f466f2ac00f in QObject::destroyed (this=this@entry=0x55a8710f2b30,
_t1=<optimized out>, _t1@entry=0x55a8710f2b30) at .moc/moc_qobject.cpp:219
#40 0x00007f466f2b0fbd in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:992
#41 0x00007f46626f581b 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 0x00007f466f2a60ae in QObjectPrivate::deleteChildren (this=0x55a871090bd0)
at kernel/qobject.cpp:2104
#44 0x00007f466f2b0e44 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#45 0x00007f466020d775 in
QQmlPrivate::QQmlElement<KSysGuard::SensorFace>::~QQmlElement (this=<optimized
out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#46 QQmlPrivate::QQmlElement<KSysGuard::SensorFace>::~QQmlElement
(this=<optimized out>, this=<optimized out>) at
/usr/include/qt5/QtQml/qqmlprivate.h:144
#47 0x00007f466f2a60ae in QObjectPrivate::deleteChildren (this=0x55a871088f40)
at kernel/qobject.cpp:2104
#48 0x00007f466f2b0e44 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#49 0x00007f4662c887c9 in
KSysGuard::SensorFaceController::~SensorFaceController (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/libksysguard5-5.21.5-1.1.x86_64/faces/SensorFaceController.cpp:402
#50 0x00007f466f2a60ae in QObjectPrivate::deleteChildren (this=0x55a86e8ad0f0)
at kernel/qobject.cpp:2104
#51 0x00007f466f2b0e44 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#52 0x000055a86dd13f80 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma5-systemmonitor-5.21.5-1.1.x86_64/src/main.cpp:117
[Inferior 1 (process 4356) detached]

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

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to