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

            Bug ID: 422963
           Summary: System Setting crash on selecting any icon after
                    changing button style
           Product: systemsettings
           Version: 5.19.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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: Wayland
Distribution: openSUSE Tumbleweed

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

Fresh Tumbleweed installtion, changed the button style to dark (in X11 even).
Now clicking on any setting Icon in System Settings will crash it. BT is from
Wayland but it's the same on X11.

- Unusual behavior I noticed:

Context menus are broken (blank no text), as well as File/Edit/View on Konsole

- Custom settings of the application:

Just the mentioned icon theme.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007ff8b9df0d88 in QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at
kernel/qobject.cpp:4084
#5  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > const> (ptr=...) at
../../include/QtCore/../../src/corelib/global/qglobal.h:1133
#6  QObject::d_func (this=<optimized out>) at kernel/qobject.h:132
#7  QObject::property (this=this@entry=0x0, name=name@entry=0x7ff8bacc0513
"_pixmapstyle_combobox_pressed") at kernel/qobject.cpp:4085
#8  0x00007ff8ba9dbcb3 in QPixmapStyle::drawComboBox (this=0x55865365fb40,
option=0x558653911b90, painter=0x7ffda5a622f8, widget=0x0) at
styles/qpixmapstyle.cpp:952
#9  0x00007ff8600304cd in KQuickStyleItem::paint (painter=0x7ffda5a622f8,
this=0x558653920400) at /usr/include/qt5/QtWidgets/qstyleoption.h:720
#10 KQuickStyleItem::updatePolish (this=0x558653920400) at
/usr/src/debug/qqc2-desktop-style-5.70.0-1.2.x86_64/plugin/kquickstyleitem.cpp:1769
#11 0x00007ff8b9271923 in QQuickWindowPrivate::polishItems
(this=0x5586541c5820) at
/usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:316
#12 0x00007ff8b92f621e in QQuickRenderControl::polishItems (this=<optimized
out>) at
/usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquickrendercontrol.cpp:277
#13 0x00007ff8b958db35 in QQuickWidgetPrivate::render (this=0x5586544c2b90,
needsSync=<optimized out>) at
/usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quickwidgets/qquickwidget.cpp:304
#14 0x00007ff8ba957b34 in QWidget::event (this=0x558653c7f5b0,
event=0x7ffda5a62600) at kernel/qwidget.cpp:8812
#15 0x00007ff8ba9170cf in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x558653c7f5b0, e=0x7ffda5a62600) at
kernel/qapplication.cpp:3671
#16 0x00007ff8b9dbeb0a in QCoreApplication::notifyInternal2
(receiver=0x558653c7f5b0, event=0x7ffda5a62600) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#17 0x00007ff8ba94f3d6 in QWidgetPrivate::sendPendingMoveAndResizeEvents
(this=this@entry=0x5586544c2b90, recursive=recursive@entry=false,
disableUpdates=<optimized out>, disableUpdates@entry=false) at
kernel/qwidget.cpp:7721
#18 0x00007ff8ba953ac3 in QWidgetPrivate::show_helper
(this=this@entry=0x5586544c2b90) at kernel/qwidget.cpp:7772
#19 0x00007ff8ba956c53 in QWidgetPrivate::setVisible (this=0x5586544c2b90,
visible=<optimized out>) at kernel/qwidget.cpp:8121
#20 0x00007ff8ba953a49 in QWidgetPrivate::showChildren
(this=this@entry=0x5586541c50f0, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8191
#21 0x00007ff8ba953adf in QWidgetPrivate::show_helper
(this=this@entry=0x5586541c50f0) at kernel/qwidget.cpp:7778
#22 0x00007ff8ba956c53 in QWidgetPrivate::setVisible (this=0x5586541c50f0,
visible=<optimized out>) at kernel/qwidget.cpp:8121
#23 0x00007ff8ba953a49 in QWidgetPrivate::showChildren
(this=this@entry=0x5586538e8a00, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8191
#24 0x00007ff8ba953adf in QWidgetPrivate::show_helper (this=0x5586538e8a00) at
kernel/qwidget.cpp:7778
#25 0x00007ff8ba9538db in QWidgetPrivate::show_recursive (this=<optimized out>)
at kernel/qwidget.cpp:7702
#26 0x00007ff8ba953a69 in QWidgetPrivate::showChildren
(this=this@entry=0x558653a3cc40, spontaneous=spontaneous@entry=false) at
kernel/qwidget.h:132
#27 0x00007ff8ba953adf in QWidgetPrivate::show_helper
(this=this@entry=0x558653a3cc40) at kernel/qwidget.cpp:7778
#28 0x00007ff8ba956c53 in QWidgetPrivate::setVisible (this=0x558653a3cc40,
visible=<optimized out>) at kernel/qwidget.cpp:8121
#29 0x00007ff8ba953a49 in QWidgetPrivate::showChildren
(this=this@entry=0x558653ac9250, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8191
#30 0x00007ff8ba953adf in QWidgetPrivate::show_helper
(this=this@entry=0x558653ac9250) at kernel/qwidget.cpp:7778
#31 0x00007ff8ba956c53 in QWidgetPrivate::setVisible (this=0x558653ac9250,
visible=<optimized out>) at kernel/qwidget.cpp:8121
#32 0x00007ff8ba93c2ef in QStackedLayout::setCurrentIndex (this=0x55865398a5c0,
index=1) at kernel/qstackedlayout.cpp:321
#33 0x00007ff8ba93c4fe in QStackedLayout::setCurrentWidget (this=<optimized
out>, widget=widget@entry=0x558653a0d940) at kernel/qstackedlayout.cpp:376
#34 0x00007ff8baabf70b in QStackedWidget::setCurrentWidget (this=<optimized
out>, widget=widget@entry=0x558653a0d940) at widgets/qstackedwidget.cpp:248
#35 0x00007ff8bb14a6be in KPageViewPrivate::_k_pageSelected (previous=...,
index=..., this=0x558653a02560) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpageview.cpp:264
#36 KPageViewPrivate::_k_pageSelected (previous=..., index=...,
this=0x558653a02560) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpageview.cpp:238
#37 KPageView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/build/src/KF5WidgetsAddons_autogen/include/moc_kpageview.cpp:119
#38 0x00007ff8b9df5020 in doActivate<false> (sender=0x5586538f5b60,
signal_index=3, argv=argv@entry=0x7ffda5a62da0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#39 0x00007ff8b9dee340 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7ff8ba09f0e0 <QItemSelectionModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffda5a62da0)
at kernel/qobject.cpp:3946
#40 0x00007ff8b9d69950 in QItemSelectionModel::selectionChanged
(this=<optimized out>, _t1=..., _t2=...) at
.moc/moc_qitemselectionmodel.cpp:475
#41 0x00007ff8b9d7251e in QItemSelectionModel::select (this=0x5586538f5b60,
selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1338
#42 0x00007ff8b9d6d1a3 in QItemSelectionModel::select (command=..., index=...,
this=0x5586538f5b60) at itemmodels/qitemselectionmodel.cpp:1188
#43 QItemSelectionModel::setCurrentIndex (this=0x5586538f5b60, index=...,
command=...) at itemmodels/qitemselectionmodel.cpp:1413
#44 0x00007ff8bb14a558 in KPageViewPrivate::updateSelection
(this=0x558653a02560) at /usr/include/qt5/QtCore/qabstractitemmodel.h:60
#45 KPageViewPrivate::updateSelection (this=0x558653a02560) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpageview.cpp:112
#46 KPageViewPrivate::_k_modelChanged (this=0x558653a02560) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpageview.cpp:235
#47 KPageView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/build/src/KF5WidgetsAddons_autogen/include/moc_kpageview.cpp:118
#48 0x00007ff8b9df5020 in doActivate<false> (sender=0x5586539bdd60,
signal_index=6, argv=argv@entry=0x7ffda5a630e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#49 0x00007ff8b9dee340 in QMetaObject::activate
(sender=sender@entry=0x5586539bdd60, m=m@entry=0x7ff8ba09efe0
<QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffda5a630e0)
at kernel/qobject.cpp:3946
#50 0x00007ff8b9d596d6 in QAbstractItemModel::layoutChanged
(this=this@entry=0x5586539bdd60, _t1=..., _t2=<optimized out>,
_t2@entry=QAbstractItemModel::NoLayoutChangeHint) at
.moc/moc_qabstractitemmodel.cpp:571
#51 0x00007ff8bb14aa7c in KPageWidgetModel::addPage (this=0x5586539bdd60,
item=0x5586539fc640) at /usr/include/qt5/QtCore/qlist.h:160
#52 0x00007ff8bb14aabd in KPageWidget::addPage (this=<optimized out>,
item=<optimized out>) at
/usr/src/debug/kwidgetsaddons-5.70.0-1.2.x86_64/src/kpagewidget_p.h:35
#53 0x00007ff8bb413a5c in ModuleView::addModule (this=0x558652976090
<QListData::shared_null>, this@entry=0x558653a09b20, module=<optimized out>,
args=...) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/core/ModuleView.cpp:199
#54 0x00007ff8bb413fc8 in ModuleView::loadModule (args=..., menuItem=...,
this=0x558653a09b20) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/core/ModuleView.cpp:152
#55 ModuleView::loadModule (this=0x558653a09b20, menuItem=..., args=...) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/core/ModuleView.cpp:136
#56 0x00007ff8b015f1e2 in IconMode::changeModuleWithArgs (this=<optimized out>,
activeModule=..., args=...) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/icons/IconMode.cpp:156
#57 0x00007ff8b015f229 in IconMode::changeModule (this=<optimized out>,
activeModule=...) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/icons/IconMode.cpp:140
#58 0x00007ff8b9df4fe6 in QtPrivate::QSlotObjectBase::call (a=0x7ffda5a632f0,
r=0x558653b7ea50, this=0x5586539cfd10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#59 doActivate<false> (sender=0x5586539fccb0, signal_index=10,
argv=argv@entry=0x7ffda5a632f0) at kernel/qobject.cpp:3886
#60 0x00007ff8b9dee340 in QMetaObject::activate
(sender=sender@entry=0x5586539fccb0, m=m@entry=0x7ff8bae2bc40
<QAbstractItemView::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffda5a632f0)
at kernel/qobject.cpp:3946
#61 0x00007ff8bab6a5f5 in QAbstractItemView::activated
(this=this@entry=0x5586539fccb0, _t1=...) at .moc/moc_qabstractitemview.cpp:668
#62 0x00007ff8bab6de6d in QAbstractItemView::mouseReleaseEvent
(this=0x5586539fccb0, event=0x7ffda5a63a00) at
itemviews/qabstractitemview.cpp:1937
#63 0x00007ff8babb282f in QListView::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at itemviews/qlistview.cpp:801
#64 0x00007ff8b95d5b7b in KCategorizedView::mouseReleaseEvent
(this=0x5586539fccb0, event=0x7ffda5a63a00) at
/usr/src/debug/kitemviews-5.70.0-1.2.x86_64/src/kcategorizedview.cpp:1035
#65 0x00007ff8ba9570de in QWidget::event (this=this@entry=0x5586539fccb0,
event=event@entry=0x7ffda5a63a00) at kernel/qwidget.cpp:9027
#66 0x00007ff8ba9ff4de in QFrame::event (this=0x5586539fccb0, e=0x7ffda5a63a00)
at widgets/qframe.cpp:550
#67 0x00007ff8b9dbe873 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>,
receiver=<optimized out>) at kernel/qcoreapplication.cpp:1187
#68 QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x558653a5de80, event=event@entry=0x7ffda5a63a00) at
kernel/qcoreapplication.cpp:1176
#69 0x00007ff8ba9170be in QApplicationPrivate::notify_helper
(this=this@entry=0x5586535e4c00, receiver=receiver@entry=0x558653a5de80,
e=e@entry=0x7ffda5a63a00) at kernel/qapplication.cpp:3665
#70 0x00007ff8ba91e121 in QApplication::notify (this=0x7ffda5a63890,
receiver=0x558653a5de80, e=0x7ffda5a63a00) at kernel/qapplication.cpp:3115
#71 0x00007ff8b9dbeb0a in QCoreApplication::notifyInternal2
(receiver=0x558653a5de80, event=0x7ffda5a63a00) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#72 0x00007ff8bac9547a in PressDelayHandler::sendMouseEvent
(this=0x558653ad1c40, me=0x7ffda5a63a00, flags=0) at
/usr/include/c++/10/bits/atomic_base.h:420
#73 0x00007ff8bac93d66 in PressDelayHandler::released (scrollerIsActive=false,
scrollerWasActive=<optimized out>, e=<optimized out>, this=0x558653ad1c40) at
util/qflickgesture.cpp:190
#74 QFlickGestureRecognizer::recognize (this=<optimized out>, state=<optimized
out>, watched=<optimized out>, event=<optimized out>) at
util/qflickgesture.cpp:680
#75 0x00007ff8ba96507c in QGestureManager::filterEventThroughContexts
(this=this@entry=0x5586539e4530, contexts=...,
event=event@entry=0x7ffda5a64280) at kernel/qgesturemanager.cpp:287
#76 0x00007ff8ba96809c in QGestureManager::filterEvent (this=0x5586539e4530,
receiver=receiver@entry=0x558653a5de80, event=event@entry=0x7ffda5a64280) at
../../include/QtCore/../../src/corelib/tools/qmap.h:243
#77 0x00007ff8ba91f78b in QApplication::notify (this=0x7ffda5a649a0,
receiver=0x558653a5de80, e=0x7ffda5a64280) at kernel/qapplication.cpp:2946
#78 0x00007ff8b9dbeb0a in QCoreApplication::notifyInternal2
(receiver=0x558653a5de80, event=0x7ffda5a64280) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#79 0x00007ff8ba91d036 in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x558653a5de80, event=event@entry=0x7ffda5a64280,
alienWidget=alienWidget@entry=0x558653a5de80, nativeWidget=0x55865363a9d0,
buttonDown=buttonDown@entry=0x7ff8bae3c9d0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2603
#80 0x00007ff8ba96f13a in QWidgetWindow::handleMouseEvent (this=0x558653b04480,
event=0x7ffda5a64540) at /usr/include/c++/10/bits/atomic_base.h:420
#81 0x00007ff8ba97262e in QWidgetWindow::event (this=0x558653b04480,
event=0x7ffda5a64540) at kernel/qwidgetwindow.cpp:295
#82 0x00007ff8ba9170cf in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x558653b04480, e=0x7ffda5a64540) at
kernel/qapplication.cpp:3671
#83 0x00007ff8b9dbeb0a in QCoreApplication::notifyInternal2
(receiver=0x558653b04480, event=0x7ffda5a64540) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#84 0x00007ff8ba1fedfb in QGuiApplicationPrivate::processMouseEvent
(e=0x558653c04850) at kernel/qguiapplication.cpp:2214
#85 0x00007ff8ba1d509b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1175
#86 0x00007ff8b50e3880 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:74
#87 0x00007ff8b7a462c7 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#88 0x00007ff8b7a46648 in ?? () from /usr/lib64/libglib-2.0.so.0
#89 0x00007ff8b7a466ff in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#90 0x00007ff8b9e15f4f in QEventDispatcherGlib::processEvents
(this=0x5586536608a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#91 0x00007ff8b9dbd4cb in QEventLoop::exec (this=this@entry=0x7ffda5a64870,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#92 0x00007ff8b9dc5730 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#93 0x0000558652962fd9 in main (argc=<optimized out>, argv=0x7ffda5a64980) at
/usr/src/debug/systemsettings5-5.19.0-1.1.x86_64/app/main.cpp:168
[Inferior 1 (process 14956) detached]

Possible duplicates by query: bug 420848, bug 418844, bug 418595, bug 417802,
bug 415191.

Reported using DrKonqi

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

Reply via email to