Bug 435962

Summary: System Settings crashing 100% of the times after clicking on at least 2 options on KDE 5.19.5
Product: [Applications] systemsettings Reporter: Rafael Lima <rafael.palma.lima>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bharadwaj.raju777, nate
Priority: NOR Keywords: drkonqi
Version: 5.19.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rafael Lima 2021-04-20 16:46:25 UTC
Application: systemsettings5 (5.19.5)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-50-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.10

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

To reproduce this bug on my machine, just open System Settings. Then, if I click two options in the left menu, I get a crash.

In the backtrace reported here, I clicked "Global Theme" and then "Application Style", but the crash also happens with other options as well.

On my machine, this is reproducible 100% of the times.

- Unusual behavior I noticed:

This bug seems to be related to some recent updates on Kubuntu, but I can't tell exactly what package caused this bug. After the update, another weird thing happened: the user picture in the lock screen is square (insted of using a round overlay).

The login screen is normal and my picture appears round, but if I go to the Log Out screen, the picture is now square. Not sure if this has anything to do with the bug I'm reporting, but both things started happening together.

Running on Kubuntu 20.10 (KDE 5.19.5)
X11 / Nvidia GTX 1660

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f3746c512cb in QQuickItemLayer::~QQuickItemLayer (this=0x564b4e550d60, __in_chrg=<optimized out>) at items/qquickitem.cpp:8298
#6  0x00007f3746c5130d in QQuickItemLayer::~QQuickItemLayer (this=0x564b4e550d60, __in_chrg=<optimized out>) at items/qquickitem.cpp:8296
#7  0x00007f3746dfdce7 in QAccessibleQuickItem::role (this=0x564b4da380f0) at ../../include/QtQuick/../../src/quick/items/qquickitem.h:466
#8  0x00007f3742ae689a in AtSpiAdaptor::pathForInterface (this=this@entry=0x564b4e01d370, interface=0x564b4da380f0) at atspiadaptor.cpp:1538
#9  0x00007f3742ae8aa8 in AtSpiAdaptor::notifyStateChange (this=this@entry=0x564b4e01d370, interface=<optimized out>, state=..., value=0) at atspiadaptor.cpp:873
#10 0x00007f3742aea160 in AtSpiAdaptor::notify (this=0x564b4e01d370, event=0x7ffc1686dfb0) at ../../../include/QtCore/../../src/corelib/text/qstring.h:1024
#11 0x00007f3746c62b0c in QQuickItemPrivate::setEffectiveVisibleRecur (this=this@entry=0x564b4e550e20, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6079
#12 0x00007f3746c62bf7 in QQuickItemPrivate::setVisible (this=0x564b4e550e20, visible=<optimized out>) at items/qquickitem.cpp:5976
#13 0x00007f373266c6e6 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#14 0x00007f373266dca8 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#15 0x00007f3746c5d615 in QQuickItemPrivate::itemChange (this=this@entry=0x564b4ec92e70, change=change@entry=QQuickItem::ItemChildRemovedChange, data=...) at items/qquickitem.cpp:6299
#16 0x00007f3746c64373 in QQuickItemPrivate::removeChild (this=this@entry=0x564b4ec92e70, child=<optimized out>, child@entry=0x564b4e550d60) at items/qquickitem.h:183
#17 0x00007f3746c6606c in QQuickItem::setParentItem (this=this@entry=0x564b4e550d60, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2748
#18 0x00007f3746c665fa in QQuickItem::~QQuickItem (this=0x564b4e550d60, __in_chrg=<optimized out>) at items/qquickitem.cpp:2390
#19 0x00007f3732316209 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#20 0x00007f3746f79a0c in KDeclarative::QmlObjectPrivate::~QmlObjectPrivate (this=0x564b4da20f40, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:58
#21 KDeclarative::QmlObject::~QmlObject (this=0x564b4dbb2080, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:186
#22 0x00007f3746f7a2dd in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine (this=0x564b4dbb2080, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobjectsharedengine.cpp:61
#23 0x00007f3748d55d3f in KQuickAddons::ConfigModule::~ConfigModule() () from /lib/x86_64-linux-gnu/libKF5QuickAddons.so.5
#24 0x00007f37303c9c33 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_lookandfeel.so
#25 0x00007f3748e51227 in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#26 0x00007f3748e5124d in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#27 0x00007f3748e574d8 in KCModuleProxy::deleteClient() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#28 0x00007f3748e5765c in KCModuleProxy::~KCModuleProxy() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#29 0x00007f3748e5771d in KCModuleProxy::~KCModuleProxy() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#30 0x00007f374783318e in QObjectPrivate::deleteChildren (this=this@entry=0x564b4e55fff0) at kernel/qobject.cpp:2123
#31 0x00007f3748387a66 in QWidget::~QWidget (this=0x564b4dc5c1a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#32 0x00007f3748387dbd in QWidget::~QWidget (this=0x564b4dc5c1a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1408
#33 0x00007f374783318e in QObjectPrivate::deleteChildren (this=this@entry=0x564b4df42340) at kernel/qobject.cpp:2123
#34 0x00007f3748387a66 in QWidget::~QWidget (this=0x564b4dd9bc60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#35 0x00007f37484e0d4d in QScrollArea::~QScrollArea (this=0x564b4dd9bc60, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:171
#36 0x00007f3748bafe1c in KPageWidgetItem::~KPageWidgetItem() () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#37 0x00007f3748baff19 in ?? () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#38 0x00007f3748bb00eb in KPageWidgetModel::removePage(KPageWidgetItem*) () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#39 0x00007f3748e91455 in ModuleView::closeModules (this=0x564b4e3e8430) at ./core/ModuleView.cpp:278
#40 0x00007f37385b536b in SidebarMode::loadModule (this=0x564b4e28e440, activeModule=..., args=...) at ./sidebar/SidebarMode.cpp:443
#41 0x00007f37385b5deb in SidebarMode::loadModule (this=<optimized out>, activeModule=..., args=...) at ./sidebar/SidebarMode.cpp:449
#42 0x00007f37385b388d in SidebarMode::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:160
#43 0x00007f37385b3db3 in SidebarMode::qt_metacall (this=0x564b4e28e440, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7ffc1686e900) at ./obj-x86_64-linux-gnu/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:566
#44 0x00007f374686dbd5 in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffc1686eb90, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=28, argv=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#45 0x00007f37467644aa in CallMethod (callType=<optimized out>, callArgs=0xffffffff, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:201
#46 CallPrecise (object=..., data=..., engine=engine@entry=0x564b4dc63a60, callArgs=callArgs@entry=0x7f3732ce25b8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1565
#47 0x00007f37467662b2 in CallOverloaded (callType=<optimized out>, propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, data=..., object=...) at jsruntime/qv4qobjectwrapper.cpp:1641
#48 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2129
#49 0x00007f374678158b in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#50 QV4::Moth::VME::interpret (frame=0x7ffc1686ee50, engine=0x564b4dc63a60, code=0x7f3732ce2540 "`\332x27\177") at jsruntime/qv4vme_moth.cpp:754
#51 0x00007f37467840b7 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffc1686ee50, engine=engine@entry=0x564b4dc63a60) at jsruntime/qv4vme_moth.cpp:463
#52 0x00007f374672108d in QV4::Function::call (this=this@entry=0x564b4e28fbb0, thisObject=<optimized out>, argv=argv@entry=0x7f3732ce2500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#53 0x00007f3746887a15 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x564b4de186a0, callData=callData@entry=0x7f3732ce24d0, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#54 0x00007f374683f07b in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#55 0x00007f374683f558 in QQmlBoundSignal_callback (e=0x564b4de18650, a=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#56 0x00007f374686d67d in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at qml/qqmlnotifier.cpp:104
#57 0x00007f374783ee75 in doActivate<false> (sender=0x564b4deee7a0, signal_index=64, argv=0x0) at kernel/qobject_p.h:110
#58 0x00007f37416fb531 in QQuickAbstractButtonPrivate::handleRelease (this=0x564b4def0f90, point=...) at qquickabstractbutton.cpp:180
#59 0x00007f37417199a9 in QQuickControl::mouseReleaseEvent (this=<optimized out>, event=0x7ffc16870e10) at /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:128
#60 0x00007f3746c65388 in QQuickItem::event (this=0x564b4deee7a0, ev=0x7ffc16870e10) at items/qquickitem.cpp:8095
#61 0x00007f374834b013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564b4deee7a0, e=0x7ffc16870e10) at kernel/qapplication.cpp:3685
#62 0x00007f37478091ca in QCoreApplication::notifyInternal2 (receiver=0x564b4deee7a0, event=0x7ffc16870e10) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#63 0x00007f3746c7fc34 in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x7f373c006e80, pointerEvent=0x564b4de94d20) at items/qquickwindow.cpp:1891
#64 0x00007f3746c80f6b in QQuickWindowPrivate::deliverPointerEvent (this=0x7f373c006e80, event=0x564b4de94d20) at items/qquickwindow.cpp:2454
#65 0x00007f3747c707c5 in QWindow::event (this=0x564b4e003670, ev=<optimized out>) at kernel/qwindow.cpp:2363
#66 0x00007f374834b013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564b4e003670, e=0x7ffc16870e10) at kernel/qapplication.cpp:3685
#67 0x00007f37478091ca in QCoreApplication::notifyInternal2 (receiver=0x564b4e003670, event=0x7ffc16870e10) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#68 0x00007f3746f929fb in QQuickWidget::mouseReleaseEvent (this=<optimized out>, e=0x7ffc16871380) at qquickwidget.cpp:1398
#69 0x00007f374838c30e in QWidget::event (this=0x564b4e0f1aa0, event=0x7ffc16871380) at kernel/qwidget.cpp:9033
#70 0x00007f374834b013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564b4e0f1aa0, e=0x7ffc16871380) at kernel/qapplication.cpp:3685
#71 0x00007f3748350841 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3129
#72 0x00007f37478091ca in QCoreApplication::notifyInternal2 (receiver=0x564b4e0f1aa0, event=0x7ffc16871380) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#73 0x00007f374834f73a in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x564b4e0f1aa0, event=event@entry=0x7ffc16871380, alienWidget=alienWidget@entry=0x564b4e0f1aa0, nativeWidget=0x564b4d82a660, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2615
#74 0x00007f37483a4f32 in QWidgetWindow::handleMouseEvent (this=0x564b4de5afb0, event=0x7ffc16871640) at /usr/include/c++/10/bits/atomic_base.h:420
#75 0x00007f37483a7d8e in QWidgetWindow::event (this=0x564b4de5afb0, event=0x7ffc16871640) at kernel/qwidgetwindow.cpp:295
#76 0x00007f374834b013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564b4de5afb0, e=0x7ffc16871640) at kernel/qapplication.cpp:3685
#77 0x00007f37478091ca in QCoreApplication::notifyInternal2 (receiver=0x564b4de5afb0, event=0x7ffc16871640) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#78 0x00007f3747c6448b in QGuiApplicationPrivate::processMouseEvent (e=0x564b50a05ba0) at kernel/qguiapplication.cpp:2203
#79 0x00007f3747c3a2bb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#80 0x00007f3742a9835e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#81 0x00007f374555362b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007f37455538d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007f37455539a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007f3747860843 in QEventDispatcherGlib::processEvents (this=0x564b4d7edb20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#85 0x00007f3747807a4b in QEventLoop::exec (this=this@entry=0x7ffc16871970, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#86 0x00007f374780ffc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#87 0x0000564b4ce350bf in main (argc=<optimized out>, argv=0x7ffc16871a90) at ./app/main.cpp:168
[Inferior 1 (process 4359) detached]

Possible duplicates by query: bug 430496, bug 428879, bug 428481, bug 426047, bug 423459.

Reported using DrKonqi
Comment 1 Nate Graham 2021-04-21 20:41:43 UTC

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