Bug 422808

Summary: systemsettings5 crashes on closing window
Product: [Applications] systemsettings Reporter: Jakob <jakobmis08>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, psamaras1
Priority: NOR Keywords: drkonqi
Version: 5.19.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jakob 2020-06-11 11:36:27 UTC
Application: systemsettings5 (5.19.0)

Qt Version: 5.15.0
Frameworks Version: 5.70.0
Operating System: Linux 5.6.14-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

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

1. opening systemsettings5
2. clicking around
3. closing window
-> crash

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fa1105383f7 in QQuickItemLayer::~QQuickItemLayer (this=0x55c35e2b46c0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:8335
#6  0x00007fa110538439 in QQuickItemLayer::~QQuickItemLayer (this=0x55c35e2b46c0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:8333
#7  0x00007fa1106af3f3 in QAccessibleQuickItem::role (this=0x55c35e3e1af0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/include/QtQuick/../../src/quick/items/qquickitem.h:468
#8  0x00007fa10c3e43da in AtSpiAdaptor::pathForInterface (this=this@entry=0x55c35dde5ee0, interface=0x55c35e3e1af0) at atspiadaptor.cpp:1538
#9  0x00007fa10c3e6594 in AtSpiAdaptor::notifyStateChange (this=this@entry=0x55c35dde5ee0, interface=<optimized out>, state=..., value=0) at atspiadaptor.cpp:873
#10 0x00007fa10c3e7c30 in AtSpiAdaptor::notify (this=0x55c35dde5ee0, event=0x7ffc0ebe8d40) at ../../../include/QtCore/../../src/corelib/text/qstring.h:1062
#11 0x00007fa11054a278 in QQuickItemPrivate::setEffectiveVisibleRecur (this=this@entry=0x55c35e2b4780, newEffectiveVisible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:6051
#12 0x00007fa11054a353 in QQuickItemPrivate::setVisible (this=0x55c35e2b4780, visible=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:5948
#13 0x00007fa10804e4f6 in ContentItem::forgetItem (this=0x55c35e436c30, item=<optimized out>) at /usr/src/debug/kirigami2-5.70.0-2.1.x86_64/src/columnview.cpp:564
#14 0x00007fa10804f678 in ContentItem::itemChange (this=0x55c35e436c30, change=QQuickItem::ItemChildRemovedChange, value=...) at /usr/src/debug/kirigami2-5.70.0-2.1.x86_64/src/columnview.cpp:643
#15 0x00007fa110544f55 in QQuickItemPrivate::itemChange (this=this@entry=0x55c35e438c50, change=change@entry=QQuickItem::ItemChildRemovedChange, data=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:6271
#16 0x00007fa11054bc0f in QQuickItemPrivate::removeChild (this=this@entry=0x55c35e438c50, child=<optimized out>, child@entry=0x55c35e2b46c0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.h:185
#17 0x00007fa11054da3c in QQuickItem::setParentItem (this=this@entry=0x55c35e2b46c0, parentItem=parentItem@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:2669
#18 0x00007fa11054dfc6 in QQuickItem::~QQuickItem (this=0x55c35e2b46c0, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickitem.cpp:2311
#19 0x00007fa0e461ac25 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:142
#20 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:144
#21 0x00007fa11086ab68 in KDeclarative::QmlObjectPrivate::~QmlObjectPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.70.0-1.2.x86_64/src/kdeclarative/qmlobject.cpp:71
#22 KDeclarative::QmlObject::~QmlObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.70.0-1.2.x86_64/src/kdeclarative/qmlobject.cpp:199
#23 0x00007fa11086adf9 in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.70.0-1.2.x86_64/src/kdeclarative/qmlobjectsharedengine.cpp:76
#24 0x00007fa1125cf132 in KQuickAddons::ConfigModule::~ConfigModule (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.70.0-1.2.x86_64/src/quickaddons/configmodule.cpp:117
#25 0x00007fa10839be13 in LaunchFeedback::~LaunchFeedback (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-desktop-5.19.0-1.1.x86_64/kcms/launch/launchfeedback.cpp:47
#26 LaunchFeedback::~LaunchFeedback (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-desktop-5.19.0-1.1.x86_64/kcms/launch/launchfeedback.cpp:49
#27 0x00007fa1126c3043 in std::default_delete<KQuickAddons::ConfigModule>::operator() (__ptr=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:78
#28 std::unique_ptr<KQuickAddons::ConfigModule, std::default_delete<KQuickAddons::ConfigModule> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:360
#29 KCModuleQmlPrivate::~KCModuleQmlPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleqml.cpp:45
#30 KCModuleQml::~KCModuleQml (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleqml.cpp:221
#31 0x00007fa1126c3069 in KCModuleQml::~KCModuleQml (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleqml.cpp:222
#32 0x00007fa1126c5ee4 in KCModuleProxy::deleteClient (this=this@entry=0x55c35e2594d0) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleproxy.cpp:172
#33 0x00007fa1126c77a8 in KCModuleProxy::~KCModuleProxy (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleproxy.cpp:163
#34 0x00007fa1126c78a9 in KCModuleProxy::~KCModuleProxy (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.70.0-2.1.x86_64/src/kcmoduleproxy.cpp:167
#35 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35e2587c0) at kernel/qobject.cpp:2104
#36 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35e21d7f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#37 0x00007fa111c41be9 in QWidget::~QWidget (this=0x55c35e21d7f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1401
#38 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35e1fca10) at kernel/qobject.cpp:2104
#39 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35e21d7b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#40 0x00007fa111d97fd9 in QScrollArea::~QScrollArea (this=0x55c35e21d7b0, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:171
#41 0x00007fa112433de3 in KPageWidgetItem::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:420
#42 KPageWidgetItem::~KPageWidgetItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel.cpp:89
#43 0x00007fa1124359d5 in KPageWidgetItem::~KPageWidgetItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel.cpp:87
#44 PageItem::~PageItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel.cpp:191
#45 0x00007fa112435a18 in qDeleteAll<QList<PageItem*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:319
#46 qDeleteAll<QList<PageItem*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:328
#47 PageItem::~PageItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel.cpp:194
#48 0x00007fa112431580 in KPageWidgetModelPrivate::~KPageWidgetModelPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel_p.h:69
#49 KPageWidgetModelPrivate::~KPageWidgetModelPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel_p.h:71
#50 KPageModel::~KPageModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagemodel.cpp:42
#51 0x00007fa112437b69 in KPageWidgetModel::~KPageWidgetModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidgetmodel.cpp:280
#52 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35e00e2a0) at kernel/qobject.cpp:2104
#53 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35e03a250, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#54 0x00007fa1124322d9 in KPageWidget::~KPageWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidget.cpp:80
#55 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35dce49a0) at kernel/qobject.cpp:2104
#56 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35e0398c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#57 0x00007fa1126fe079 in ModuleView::~ModuleView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/core/ModuleView.cpp:119
#58 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35def0f10) at kernel/qobject.cpp:2104
#59 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35e038a90, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#60 0x00007fa111dae3f9 in QStackedWidget::~QStackedWidget (this=0x55c35e038a90, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#61 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35dd2ea80) at kernel/qobject.cpp:2104
#62 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35dcfa300, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#63 0x00007fa111dae3f9 in QStackedWidget::~QStackedWidget (this=0x55c35dcfa300, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#64 0x00007fa1110d761e in QObjectPrivate::deleteChildren (this=this@entry=0x55c35dd22910) at kernel/qobject.cpp:2104
#65 0x00007fa111c41896 in QWidget::~QWidget (this=0x55c35dce51c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1523
#66 0x000055c35cb28307 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qrefcount.h:65
#67 0x000055c35cb283a9 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/app/SettingsBase.cpp:86
#68 0x00007fa1110d97ef in QObject::event (this=0x55c35dce51c0, e=0x55c35f1710a0) at kernel/qobject.cpp:1301
#69 0x00007fa11266f919 in KXmlGuiWindow::event (this=0x55c35dce51c0, ev=0x55c35f1710a0) at /usr/src/debug/kxmlgui-5.70.0-1.2.x86_64/src/kxmlguiwindow.cpp:121
#70 0x00007fa111c060cf in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c35dce51c0, e=0x55c35f1710a0) at kernel/qapplication.cpp:3671
#71 0x00007fa1110adb0a in QCoreApplication::notifyInternal2 (receiver=0x55c35dce51c0, event=0x55c35f1710a0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#72 0x00007fa1110b0531 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55c35db6eb80) at kernel/qcoreapplication.cpp:1815
#73 0x00007fa1111058c3 in postEventSourceDispatch (s=0x55c35dcb0620) at kernel/qeventdispatcher_glib.cpp:277
#74 0x00007fa10ed352c7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#75 0x00007fa10ed35648 in ?? () from /usr/lib64/libglib-2.0.so.0
#76 0x00007fa10ed356ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#77 0x00007fa111104f4f in QEventDispatcherGlib::processEvents (this=0x55c35dcb0f40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#78 0x00007fa1110ac4cb in QEventLoop::exec (this=this@entry=0x7ffc0ebe9a60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#79 0x00007fa1110b4730 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#80 0x000055c35cb21fd9 in main (argc=<optimized out>, argv=0x7ffc0ebe9b70) at /usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/app/main.cpp:168
[Inferior 1 (process 8573) detached]

Possible duplicates by query: bug 422484, bug 418002, bug 318772.

Reported using DrKonqi
Comment 1 David Edmundson 2020-06-24 22:52:23 UTC

*** This bug has been marked as a duplicate of bug 423459 ***
Comment 2 Petros 2020-07-08 22:08:36 UTC
Created attachment 129991 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.3) using Qt 5.15.0

- What I was doing when the application crashed:
Open SystemSettings.
Enter a category page.
Change a setting on some modules, or even no change on other modules.
After Apply (or not if nothing changed), click Back main button.
Immediatelly crashes.

Note that this does not happen on some modules.

- Unusual behavior I noticed:
Nothing unusual apart from this crash.

- Custom settings of the application:
All are official packages and normal usage.

-- Backtrace (Reduced):
#11 0x00007fccc20ddf7d in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () from /usr/lib/libQt5Quick.so.5
#12 0x00007fccc20de065 in QQuickItemPrivate::setVisible(bool) () from /usr/lib/libQt5Quick.so.5
[...]
#15 0x00007fccc20d8af5 in QQuickItemPrivate::itemChange(QQuickItem::ItemChange, QQuickItem::ItemChangeData const&) () from /usr/lib/libQt5Quick.so.5
#16 0x00007fccc20df9b4 in QQuickItemPrivate::removeChild(QQuickItem*) () from /usr/lib/libQt5Quick.so.5
#17 0x00007fccc20e1863 in QQuickItem::setParentItem(QQuickItem*) () from /usr/lib/libQt5Quick.so.5