Bug 430009

Summary: System Settings crashes when I open "Workspace Behavior > Touch Screen"
Product: [Applications] systemsettings Reporter: Alsan Ali <nonnish>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.20.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alsan Ali 2020-12-04 11:34:06 UTC
Application: systemsettings5 (5.20.4)

Qt Version: 5.15.2
Frameworks Version: 5.76.0
Operating System: Linux 5.9.11-arch2-1 x86_64
Windowing system: X11
Distribution: Arch Linux

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

I opened Workspace Behavior > Touch Screen.

What I have not mentioned in my previous 2 reports is that prior to all of this, KDE
wouldn't even start properly (it was a mouse pointer on a black screen) and it only
started when I downgraded NVIDIA. After that I noticed no problems except with System Settings.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Bus error

[KCrash Handler]
#4  KSharedDataCache::Private::mapSharedMemory (this=this@entry=0x5615980ff540) at /usr/src/debug/kcoreaddons-5.76.0/src/lib/caching/kshareddatacache.cpp:1067
#5  0x00007fa12e277006 in KSharedDataCache::Private::Private (expectedItemSize=0, defaultCacheSize=16777216, name=..., this=0x5615980ff540) at /usr/src/debug/kcoreaddons-5.76.0/src/lib/caching/kshareddatacache.cpp:987
#6  KSharedDataCache::KSharedDataCache (this=0x5615981a8240, cacheName=..., defaultCacheSize=16777216, expectedItemSize=0) at /usr/src/debug/kcoreaddons-5.76.0/src/lib/caching/kshareddatacache.cpp:1394
#7  0x00007fa1051e8ad6 in KSharedPixmapCacheMixin<KSharedDataCache>::KSharedPixmapCacheMixin (expectedItemSize=0, defaultCacheSize=16777216, cacheName=..., this=0x5615981a8230) at /usr/include/KF5/KGuiAddons/kimagecache.h:72
#8  Plasma::ThemePrivate::useCache (this=<optimized out>) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/private/theme_p.cpp:241
#9  0x00007fa1051dec2f in Plasma::Theme::findInRectsCache (this=0x561598282110, image=..., element=..., rect=...) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/theme.cpp:334
#10 0x00007fa1051d879f in Plasma::SvgPrivate::elementRect (this=this@entry=0x561598590840, elementId=...) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/svg.cpp:525
#11 0x00007fa1051d891e in Plasma::SvgPrivate::checkColorHints (this=this@entry=0x561598590840) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/svg.cpp:572
#12 0x00007fa1051d8f50 in Plasma::SvgPrivate::setImagePath (this=0x561598590840, imagePath=...) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/svg.cpp:238
#13 0x00007fa1051d1b94 in Plasma::FrameSvg::setImagePath (this=this@entry=0x5615981e91d0, path=...) at /usr/src/debug/plasma-framework-5.76.0/src/plasma/framesvg.cpp:62
#14 0x00007fa1148a7b3b in ScreenPreviewWidget::ScreenPreviewWidget (this=0x561597de45c0, parent=<optimized out>) at /usr/src/debug/kwin-5.20.4/kcmkwin/kwinscreenedges/screenpreviewwidget.cpp:70
#15 0x00007fa1148a6b8a in KWin::Monitor::Monitor (this=0x561597de45c0, parent=<optimized out>) at /usr/src/debug/kwin-5.20.4/kcmkwin/kwinscreenedges/monitor.cpp:54
#16 0x00007fa1148a55c3 in Ui_KWinTouchScreenConfigUi::setupUi (this=0x561598078d10, KWinTouchScreenConfigUi=0x56159843fcf0) at /usr/src/debug/build/kcmkwin/kwinscreenedges/ui_touch.h:50
#17 0x00007fa1148a470c in KWin::KWinScreenEdgesConfig::KWinScreenEdgesConfig (this=0x5615983b2f80, parent=<optimized out>, args=...) at /usr/src/debug/kwin-5.20.4/kcmkwin/kwinscreenedges/touch.cpp:36
#18 0x00007fa1148a52bd in KPluginFactory::createInstance<KWin::KWinScreenEdgesConfig, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:520
#19 0x00007fa12e25b0f5 in KPluginFactory::create (this=this@entry=0x561598065190, iface=0x7fa12f39e7e0 "KCModule", parentWidget=parentWidget@entry=0x0, parent=parent@entry=0x56159807be50, args=..., keyword=...) at /usr/src/debug/kcoreaddons-5.76.0/src/lib/plugin/kpluginfactory.cpp:130
#20 0x00007fa12f531c02 in KPluginFactory::create<KCModule> (args=..., keyword=..., parent=0x56159807be50, parentWidget=0x0, this=0x561598065190) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:567
#21 KService::createInstance<KCModule> (this=0x561597539f90, parentWidget=parentWidget@entry=0x0, parent=parent@entry=0x56159807be50, args=..., error=error@entry=0x7ffdf83bd388) at /usr/include/KF5/KService/kservice.h:545
#22 0x00007fa12f530832 in KService::createInstance<KCModule> (error=0x7ffdf83bd388, args=..., parent=0x56159807be50, this=<optimized out>) at /usr/include/KF5/KService/kservice.h:517
#23 KCModuleLoader::loadModule (mod=..., report=report@entry=KCModuleLoader::Inline, parent=0x56159807be50, args=...) at /usr/src/debug/kcmutils-5.76.0/src/kcmoduleloader.cpp:108
#24 0x00007fa12f539154 in KCModuleProxyPrivate::loadModule (this=this@entry=0x561598384fa0) at /usr/src/debug/kcmutils-5.76.0/src/kcmoduleproxy.cpp:81
#25 0x00007fa12f5395bb in KCModuleProxy::realModule (this=this@entry=0x56159807be50) at /usr/src/debug/kcmutils-5.76.0/src/kcmoduleproxy.cpp:54
#26 0x00007fa12f571776 in ModuleView::updatePageIconHeader (this=this@entry=0x5615974becb0, page=page@entry=0x561597b401a0, light=light@entry=true) at /usr/src/debug/systemsettings-5.20.4/core/ModuleView.cpp:229
#27 0x00007fa12f5728ce in ModuleView::addModule (this=0x5615974becb0, module=0x56159754d368, args=...) at /usr/src/debug/systemsettings-5.20.4/core/ModuleView.cpp:206
#28 0x00007fa12f572d54 in ModuleView::loadModule (this=0x5615974becb0, menuItem=..., args=...) at /usr/src/debug/systemsettings-5.20.4/core/ModuleView.cpp:156
#29 0x00007fa1149f4743 in SidebarMode::loadModule (this=0x56159754f510, activeModule=..., args=...) at /usr/src/debug/systemsettings-5.20.4/sidebar/SidebarMode.cpp:471
#30 0x00007fa1149f4a69 in SidebarMode::loadModule (this=<optimized out>, activeModule=..., args=...) at /usr/include/qt/QtCore/qabstractitemmodel.h:76
#31 0x00007fa1149f28ce in SidebarMode::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/build/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:464
#32 0x00007fa1149f2e23 in SidebarMode::qt_metacall (this=0x56159754f510, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7ffdf83bd9d0) at /usr/src/debug/build/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:591
#33 0x00007fa12cff956e in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffdf83bdc60, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=31, argv=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/qml/qqmlobjectorgadget.cpp:51
#34 0x00007fa12cedf09f in CallMethod (callType=<optimized out>, callArgs=0x7ffdf83bdc60, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /usr/include/qt/QtCore/qvarlengtharray.h:201
#35 CallPrecise (object=..., data=..., engine=engine@entry=0x56159710e430, callArgs=callArgs@entry=0x7fa10597e5b0, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:1569
#36 0x00007fa12cee0f3a in CallOverloaded (callType=<optimized out>, propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, data=..., object=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:1645
#37 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2133
#38 0x00007fa12cefcb37 in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#39 QV4::Moth::VME::interpret (frame=0x7ffdf83bdf20, engine=0x56159710e430, code=0x7fa10597e538 "\340\367A\005\241\177") at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4vme_moth.cpp:754
#40 0x00007fa12ceff68f in QV4::Moth::VME::exec (frame=frame@entry=0x7ffdf83bdf20, engine=engine@entry=0x56159710e430) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4vme_moth.cpp:463
#41 0x00007fa12ce99d2e in QV4::Function::call (this=this@entry=0x56159770ea20, thisObject=<optimized out>, argv=argv@entry=0x7fa10597e500, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/jsruntime/qv4function.cpp:69
#42 0x00007fa12d015916 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x56159846cd80, callData=callData@entry=0x7fa10597e4d0, isUndefined=isUndefined@entry=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/qml/qqmljavascriptexpression.cpp:212
#43 0x00007fa12cfc862d in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#44 0x00007fa12cfc8b11 in QQmlBoundSignal_callback (e=0x56159846cd30, a=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#45 0x00007fa12cff900d in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/qml/qml/qqmlnotifier.cpp:104
#46 0x00007fa12dfad955 in doActivate<false> (sender=0x5615984402c0, signal_index=64, argv=0x0) at kernel/qobject.cpp:3778
#47 0x00007fa128382732 in QQuickAbstractButtonPrivate::handleRelease (this=0x56159845d5a0, point=...) at /usr/src/debug/qtquickcontrols2-everywhere-src-5.15.2/src/quicktemplates2/qquickabstractbutton.cpp:182
#48 0x00007fa1283a0011 in QQuickControl::mouseReleaseEvent (this=<optimized out>, event=0x7ffdf83bff00) at /usr/src/debug/qtquickcontrols2-everywhere-src-5.15.2/src/quicktemplates2/qquickcontrol.cpp:2151
#49 0x00007fa12d3ed058 in QQuickItem::event (this=0x5615984402c0, ev=0x7ffdf83bff00) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/quick/items/qquickitem.cpp:8189
#50 0x00007fa12eb35752 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5615984402c0, e=0x7ffdf83bff00) at kernel/qapplication.cpp:3632
#51 0x00007fa12df76a7a in QCoreApplication::notifyInternal2 (receiver=0x5615984402c0, event=0x7ffdf83bff00) at kernel/qcoreapplication.cpp:1063
#52 0x00007fa12d409898 in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x561597134ba0, pointerEvent=0x561598078680) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/quick/items/qquickwindow.cpp:2020
#53 0x00007fa12d40ac4c in QQuickWindowPrivate::deliverPointerEvent (this=0x561597134ba0, event=0x561598078680) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/quick/items/qquickwindow.cpp:2612
#54 0x00007fa12e453b95 in QWindow::event (this=0x56159752d7f0, ev=<optimized out>) at kernel/qwindow.cpp:2438
#55 0x00007fa12eb35752 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56159752d7f0, e=0x7ffdf83bff00) at kernel/qapplication.cpp:3632
#56 0x00007fa12df76a7a in QCoreApplication::notifyInternal2 (receiver=0x56159752d7f0, event=0x7ffdf83bff00) at kernel/qcoreapplication.cpp:1063
#57 0x00007fa12d72835a in QQuickWidget::mouseReleaseEvent (this=<optimized out>, e=0x7ffdf83c0480) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.2/src/quickwidgets/qquickwidget.cpp:1417
#58 0x00007fa12eb76b0e in QWidget::event (this=0x56159753fb90, event=0x7ffdf83c0480) at kernel/qwidget.cpp:9019
#59 0x00007fa12eb35752 in QApplicationPrivate::notify_helper (this=this@entry=0x561596f3def0, receiver=receiver@entry=0x56159753fb90, e=e@entry=0x7ffdf83c0480) at kernel/qapplication.cpp:3632
#60 0x00007fa12eb3c87b in QApplication::notify (this=0x7ffdf83c0180, receiver=0x56159753fb90, e=0x7ffdf83c0480) at kernel/qapplication.cpp:3076
#61 0x00007fa12df76a7a in QCoreApplication::notifyInternal2 (receiver=0x56159753fb90, event=0x7ffdf83c0480) at kernel/qcoreapplication.cpp:1063
#62 0x00007fa12eb3b87e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56159753fb90, event=event@entry=0x7ffdf83c0480, alienWidget=alienWidget@entry=0x56159753fb90, nativeWidget=0x561597078450, buttonDown=buttonDown@entry=0x7fa12f06e330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#63 0x00007fa12eb8f249 in QWidgetWindow::handleMouseEvent (this=0x5615971bc320, event=0x7ffdf83c0740) at kernel/qwidgetwindow.cpp:683
#64 0x00007fa12eb9263f in QWidgetWindow::event (this=0x5615971bc320, event=0x7ffdf83c0740) at kernel/qwidgetwindow.cpp:300
#65 0x00007fa12eb35752 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5615971bc320, e=0x7ffdf83c0740) at kernel/qapplication.cpp:3632
#66 0x00007fa12df76a7a in QCoreApplication::notifyInternal2 (receiver=0x5615971bc320, event=0x7ffdf83c0740) at kernel/qcoreapplication.cpp:1063
#67 0x00007fa12e447594 in QGuiApplicationPrivate::processMouseEvent (e=0x5615971a2d40) at kernel/qguiapplication.cpp:2282
#68 0x00007fa12e41cbb5 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#69 0x00007fa12910e16c in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#70 0x00007fa12bc278f4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#71 0x00007fa12bc7b821 in ?? () from /usr/lib/libglib-2.0.so.0
#72 0x00007fa12bc26121 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#73 0x00007fa12dfcf6e1 in QEventDispatcherGlib::processEvents (this=0x561597040030, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#74 0x00007fa12df753fc in QEventLoop::exec (this=this@entry=0x7ffdf83c0ac0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#75 0x00007fa12df7d894 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#76 0x00007fa12e43a84e in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#77 0x00007fa12eb356c6 in QApplication::exec () at kernel/qapplication.cpp:2824
#78 0x00005615961c1960 in main (argc=<optimized out>, argv=0x7ffdf83c0bf0) at /usr/src/debug/systemsettings-5.20.4/app/main.cpp:209
[Inferior 1 (process 97990) detached]

The reporter indicates this bug may be a duplicate of or related to bug 430008, bug 430007.

Possible duplicates by query: bug 430008, bug 430007, bug 339829, bug 332634, bug 329868.

Reported using DrKonqi
Comment 1 Alsan Ali 2020-12-04 11:47:09 UTC
Report ID 430011 may also be related to this
Comment 2 Alsan Ali 2020-12-04 11:54:10 UTC
And bug 430012
Comment 3 Nate Graham 2020-12-07 16:30:00 UTC

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