Bug 441449 - KDE System Settings crashes reproducibly when selecting "Appearance" (among other elements)
Summary: KDE System Settings crashes reproducibly when selecting "Appearance" (among o...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.22.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-23 20:30 UTC by Axel Koslowski
Modified: 2021-08-24 15:55 UTC (History)
1 user (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 Axel Koslowski 2021-08-23 20:30:47 UTC
Application: systemsettings5 (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.12-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: openSUSE Tumbleweed

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

Before the KDE System Settings application crashed the first time, I was trying out some application styles in "Appearance" -> "Application Styles". Now the KDE System Settings application crashes every time when trying to select certain elements, e.g. "Appearance". I really would like to get rid of this condition, e.g. by removing some broken configuration file or whatever...

By the way, when scrolling down to the end of the crash report, several possible duplicates of this bug are suggested. In contrast, the search that was done earlier in the user interface did not return any possible duplicates. Sorry if this is a duplicate after all...

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f1fe87aa100 (LWP 11751))]
[KCrash Handler]
#6  QPixmapStyle::drawControl (this=0x55d92cfed7c0, element=QStyle::CE_ShapedFrame, option=0x55d92d685360, painter=0x7ffe5caa07c8, widget=0x0) at styles/qpixmapstyle.cpp:318
#7  0x00007f1fc7bd6ec8 in KQuickStyleItem::paint (painter=0x7ffe5caa07c8, this=0x55d92d23b450) at /usr/src/debug/qqc2-desktop-style-5.85.0-1.1.x86_64/plugin/kquickstyleitem.cpp:1534
#8  KQuickStyleItem::updatePolish (this=0x55d92d23b450) at /usr/src/debug/qqc2-desktop-style-5.85.0-1.1.x86_64/plugin/kquickstyleitem.cpp:1786
#9  0x00007f1feaecb6e5 in QQuickWindowPrivate::polishItems (this=this@entry=0x55d92d6d6360) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickwindow.cpp:393
#10 0x00007f1feaf561de in QQuickRenderControl::polishItems (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quick/items/qquickrendercontrol.cpp:277
#11 0x00007f1feb20c335 in QQuickWidgetPrivate::render (this=0x55d92d658a20, needsSync=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.x86_64/src/quickwidgets/qquickwidget.cpp:305
#12 0x00007f1fec9091ec in QWidget::event (this=0x55d92d6d6950, event=0x7ffe5caa0b80) at kernel/qwidget.cpp:8810
#13 0x00007f1fec8c6a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d92d6d6950, e=0x7ffe5caa0b80) at kernel/qapplication.cpp:3632
#14 0x00007f1febc1e98a in QCoreApplication::notifyInternal2 (receiver=0x55d92d6d6950, event=0x7ffe5caa0b80) at kernel/qcoreapplication.cpp:1064
#15 0x00007f1fec9006a6 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x55d92d658a20, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7712
#16 0x00007f1fec9050d3 in QWidgetPrivate::show_helper (this=this@entry=0x55d92d658a20) at kernel/qwidget.cpp:7763
#17 0x00007f1fec908273 in QWidgetPrivate::setVisible (this=0x55d92d658a20, visible=<optimized out>) at kernel/qwidget.cpp:8112
#18 0x00007f1fec905059 in QWidgetPrivate::showChildren (this=this@entry=0x55d92d62ac90, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8184
#19 0x00007f1fec9050ef in QWidgetPrivate::show_helper (this=this@entry=0x55d92d62ac90) at kernel/qwidget.cpp:7769
#20 0x00007f1fec908273 in QWidgetPrivate::setVisible (this=0x55d92d62ac90, visible=<optimized out>) at kernel/qwidget.cpp:8112
#21 0x00007f1fec905059 in QWidgetPrivate::showChildren (this=this@entry=0x55d92d60d4c0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8184
#22 0x00007f1fec9050ef in QWidgetPrivate::show_helper (this=0x55d92d60d4c0) at kernel/qwidget.cpp:7769
#23 0x00007f1fec904eeb in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7693
#24 0x00007f1fec905079 in QWidgetPrivate::showChildren (this=this@entry=0x55d92d621050, spontaneous=spontaneous@entry=false) at kernel/qwidget.h:132
#25 0x00007f1fec9050ef in QWidgetPrivate::show_helper (this=this@entry=0x55d92d621050) at kernel/qwidget.cpp:7769
#26 0x00007f1fec908273 in QWidgetPrivate::setVisible (this=0x55d92d621050, visible=<optimized out>) at kernel/qwidget.cpp:8112
#27 0x00007f1fec905059 in QWidgetPrivate::showChildren (this=this@entry=0x55d92d82c580, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8184
#28 0x00007f1fec9050ef in QWidgetPrivate::show_helper (this=this@entry=0x55d92d82c580) at kernel/qwidget.cpp:7769
#29 0x00007f1fec908273 in QWidgetPrivate::setVisible (this=0x55d92d82c580, visible=<optimized out>) at kernel/qwidget.cpp:8112
#30 0x00007f1fec8ece4c in QStackedLayout::setCurrentIndex (this=0x55d92d5fb730, index=1) at kernel/qstackedlayout.cpp:323
#31 0x00007f1fec8ed02e in QStackedLayout::setCurrentWidget (this=<optimized out>, widget=<optimized out>) at kernel/qstackedlayout.cpp:378
#32 0x00007f1feca7cebb in QStackedWidget::setCurrentWidget (this=<optimized out>, widget=<optimized out>) at widgets/qstackedwidget.cpp:248
#33 0x00007f1fed046a81 in KPageViewPrivate::pageSelected (previous=..., index=..., this=0x55d92d1c1240) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:251
#34 KPageViewPrivate::pageSelected (previous=..., index=..., this=0x55d92d1c1240) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:225
#35 operator() (deselected=..., selected=..., __closure=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:51
#36 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<const QItemSelection&, const QItemSelection&>, void, KPageViewPrivate::rebuildGui()::<lambda(const QItemSelection&, const QItemSelection&)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#37 QtPrivate::Functor<KPageViewPrivate::rebuildGui()::<lambda(const QItemSelection&, const QItemSelection&)>, 2>::call<QtPrivate::List<QItemSelection const&, QItemSelection const&>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#38 QtPrivate::QFunctorSlotObject<KPageViewPrivate::rebuildGui()::<lambda(const QItemSelection&, const QItemSelection&)>, 2, QtPrivate::List<const QItemSelection&, const QItemSelection&>, void>::impl (which=<optimized out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#39 QtPrivate::QFunctorSlotObject<KPageViewPrivate::rebuildGui()::<lambda(const QItemSelection&, const QItemSelection&)>, 2, QtPrivate::List<const QItemSelection&, const QItemSelection&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#40 0x00007f1febc54fd3 in QtPrivate::QSlotObjectBase::call (a=0x7ffe5caa12e0, r=0x55d92d314ee0, this=0x55d92d627320) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#41 doActivate<false> (sender=0x55d92d5f63e0, signal_index=3, argv=0x7ffe5caa12e0) at kernel/qobject.cpp:3886
#42 0x00007f1febc4e49f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1febeed080 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe5caa12e0) at kernel/qobject.cpp:3946
#43 0x00007f1febbc9270 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:475
#44 0x00007f1febbd206e in QItemSelectionModel::select (this=0x55d92d5f63e0, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1340
#45 0x00007f1febbccbdd in QItemSelectionModel::select (this=0x55d92d5f63e0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1190
#46 0x00007f1febbccee9 in QItemSelectionModel::setCurrentIndex (this=0x55d92d5f63e0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1415
#47 0x00007f1fed043490 in KPageViewPrivate::updateSelection (this=0x55d92d1c1240) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:116
#48 KPageViewPrivate::updateSelection (this=0x55d92d1c1240) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:102
#49 KPageViewPrivate::modelChanged (this=0x55d92d1c1240) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:222
#50 operator() (__closure=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpageview.cpp:354
#51 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KPageView::setModel(QAbstractItemModel*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#52 QtPrivate::Functor<KPageView::setModel(QAbstractItemModel*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#53 QtPrivate::QFunctorSlotObject<KPageView::setModel(QAbstractItemModel*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#54 0x00007f1febc54fd3 in QtPrivate::QSlotObjectBase::call (a=0x7ffe5caa1640, r=0x55d92d314ee0, this=0x55d92d5d2c20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#55 doActivate<false> (sender=0x55d92d6e9850, signal_index=6, argv=0x7ffe5caa1640) at kernel/qobject.cpp:3886
#56 0x00007f1febc4e49f in QMetaObject::activate (sender=sender@entry=0x55d92d6e9850, m=m@entry=0x7f1febeecf80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe5caa1640) at kernel/qobject.cpp:3946
#57 0x00007f1febbb8e26 in QAbstractItemModel::layoutChanged (this=this@entry=0x55d92d6e9850, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:571
#58 0x00007f1fed04d40c in KPageWidgetModel::addPage (this=0x55d92d6e9850, item=0x55d92d622560) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kpagewidgetmodel.cpp:434
#59 0x00007f1fed33ca62 in ModuleView::loadModule (args=..., menuItem=..., this=0x55d92d301d10) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/core/ModuleView.cpp:231
#60 ModuleView::loadModule (this=0x55d92d301d10, menuItem=..., args=...) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/core/ModuleView.cpp:211
#61 0x00007f1fdc1f71e1 in IconMode::changeModuleWithArgs (this=this@entry=0x55d92d6691d0, activeModule=..., args=...) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/icons/IconMode.cpp:165
#62 0x00007f1fdc1f72e0 in IconMode::changeModule (activeModule=..., this=0x55d92d6691d0) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/icons/IconMode.cpp:144
#63 IconMode::changeModule (this=0x55d92d6691d0, activeModule=...) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/icons/IconMode.cpp:137
#64 0x00007f1febc54fd3 in QtPrivate::QSlotObjectBase::call (a=0x7ffe5caa18a0, r=0x55d92d6691d0, this=0x55d92d6c7c80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#65 doActivate<false> (sender=0x55d92d5cb160, signal_index=8, argv=0x7ffe5caa18a0) at kernel/qobject.cpp:3886
#66 0x00007f1febc4e49f in QMetaObject::activate (sender=sender@entry=0x55d92d5cb160, m=m@entry=0x7f1fecdfdb00, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe5caa18a0) at kernel/qobject.cpp:3946
#67 0x00007f1fecb33545 in QAbstractItemView::clicked (this=this@entry=0x55d92d5cb160, _t1=...) at .moc/moc_qabstractitemview.cpp:654
#68 0x00007f1fecb375db in QAbstractItemView::mouseReleaseEvent (this=this@entry=0x55d92d5cb160, event=event@entry=0x7ffe5caa2130) at itemviews/qabstractitemview.cpp:1930
#69 0x00007f1fecb7ee9f in QListView::mouseReleaseEvent (this=this@entry=0x55d92d5cb160, e=e@entry=0x7ffe5caa2130) at itemviews/qlistview.cpp:801
#70 0x00007f1feb39a59b in KCategorizedView::mouseReleaseEvent (this=0x55d92d5cb160, event=0x7ffe5caa2130) at /usr/src/debug/kitemviews-5.85.0-1.1.x86_64/src/kcategorizedview.cpp:1012
#71 0x00007f1fec90876e in QWidget::event (this=this@entry=0x55d92d5cb160, event=event@entry=0x7ffe5caa2130) at kernel/qwidget.cpp:9020
#72 0x00007f1fec9b4f1e in QFrame::event (this=0x55d92d5cb160, e=0x7ffe5caa2130) at widgets/qframe.cpp:550
#73 0x00007f1febc1e6f2 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#74 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55d92d73ca40, event=event@entry=0x7ffe5caa2130) at kernel/qcoreapplication.cpp:1179
#75 0x00007f1fec8c6a6e in QApplicationPrivate::notify_helper (this=this@entry=0x55d92cf14d10, receiver=receiver@entry=0x55d92d73ca40, e=e@entry=0x7ffe5caa2130) at kernel/qapplication.cpp:3626
#76 0x00007f1fec8ce584 in QApplication::notify (this=0x7ffe5caa1e50, receiver=0x55d92d73ca40, e=0x7ffe5caa2130) at kernel/qapplication.cpp:3076
#77 0x00007f1febc1e98a in QCoreApplication::notifyInternal2 (receiver=0x55d92d73ca40, event=0x7ffe5caa2130) at kernel/qcoreapplication.cpp:1064
#78 0x00007f1fec8cd093 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55d92d73ca40, event=event@entry=0x7ffe5caa2130, alienWidget=alienWidget@entry=0x55d92d73ca40, nativeWidget=0x55d92cffde80, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#79 0x00007f1fec92183c in QWidgetWindow::handleMouseEvent (this=0x55d92d6c4510, event=0x7ffe5caa2400) at kernel/qwidgetwindow.cpp:683
#80 0x00007f1fec924c55 in QWidgetWindow::event (this=0x55d92d6c4510, event=0x7ffe5caa2400) at kernel/qwidgetwindow.cpp:300
#81 0x00007f1fec8c6a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d92d6c4510, e=0x7ffe5caa2400) at kernel/qapplication.cpp:3632
#82 0x00007f1febc1e98a in QCoreApplication::notifyInternal2 (receiver=0x55d92d6c4510, event=0x7ffe5caa2400) at kernel/qcoreapplication.cpp:1064
#83 0x00007f1fec1745d7 in QGuiApplicationPrivate::processMouseEvent (e=0x55d92d5e68d0) at kernel/qguiapplication.cpp:2282
#84 0x00007f1fec14a79c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#85 0x00007f1fe6886d0a in xcbSourceDispatch (source=source@entry=0x55d92cfea220) at qxcbeventdispatcher.cpp:105
#86 0x00007f1fe977b80f in g_main_dispatch (context=0x7f1fe0005000) at ../glib/gmain.c:3337
#87 g_main_context_dispatch (context=0x7f1fe0005000) at ../glib/gmain.c:4055
#88 0x00007f1fe977bb98 in g_main_context_iterate (context=context@entry=0x7f1fe0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#89 0x00007f1fe977bc4f in g_main_context_iteration (context=0x7f1fe0005000, may_block=1) at ../glib/gmain.c:4196
#90 0x00007f1febc75e64 in QEventDispatcherGlib::processEvents (this=0x55d92cfedd80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#91 0x00007f1febc1d38b in QEventLoop::exec (this=this@entry=0x7ffe5caa2730, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#92 0x00007f1febc25670 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#93 0x00007f1fec16819c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#94 0x00007f1fec8c69f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#95 0x000055d92b4b30cb in main (argc=<optimized out>, argv=0x7ffe5caa2850) at /usr/src/debug/systemsettings5-5.22.4-1.1.x86_64/app/main.cpp:208
[Inferior 1 (process 11751) detached]

Possible duplicates by query: bug 438708, bug 437971, bug 437597, bug 434216, bug 434135.

Reported using DrKonqi
Comment 1 Nate Graham 2021-08-24 15:06:11 UTC
It looks like it's crashing in code for the theme you're stuck on. You'll want to report the crash to the author of whichever theme you're using.

And you can manually fix this by deleting the line that starts with "widgetStyle=" in ~/.config/kdeglobals.
Comment 2 Axel Koslowski 2021-08-24 15:55:36 UTC
This resolves the crash. Thank you so much for your help!