Bug 435702

Summary: System settings crashes in KQuickStyleItem::paint() while trying to render combobox
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: gleb <gleb.svonow>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: crash CC: ahiemstra, kde, nate, noahadvs
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.71.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gleb 2021-04-13 18:57:19 UTC
Application: systemsettings5 (5.18.5)

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.69-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
- What I was doing when the application crashed:
I installed one of appearence style from Plasma Style, after halph of settings crashed.
With it I have got wrong style of test with appearence (by clicking right button on mouse I get only black rectangle)

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#6  QObject::d_func (this=<optimized out>) at kernel/qobject.h:121
#7  QObject::property (this=this@entry=0x0, name=name@entry=0x7fb28252d913 "_pixmapstyle_combobox_pressed") at kernel/qobject.cpp:3970
#8  0x00007fb282257174 in QPixmapStyle::drawComboBox (this=0x564858887f90, option=0x5648590341e0, painter=0x7ffe4c198610, widget=0x0) at styles/qpixmapstyle.cpp:960
#9  0x00007fb241a257f5 in KQuickStyleItem::paint (this=this@entry=0x5648590317f0, painter=painter@entry=0x7ffe4c198610) at /usr/src/debug/qqc2-desktop-style-5.71.0-lp152.2.3.1.x86_64/plugin/kquickstyleitem.cpp:1552
#10 0x00007fb241a25c1c in KQuickStyleItem::updatePolish (this=0x5648590317f0) at /usr/src/debug/qqc2-desktop-style-5.71.0-lp152.2.3.1.x86_64/plugin/kquickstyleitem.cpp:1769
#11 0x00007fb27ef8bfd3 in QQuickWindowPrivate::polishItems() () from /usr/lib64/libQt5Quick.so.5
#12 0x00007fb27f854c15 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#13 0x00007fb27f857a8b in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib64/libQt5QuickWidgets.so.5
#14 0x00007fb2821d654e in QWidget::event (this=0x564858d410f0, event=0x7ffe4c198b90) at kernel/qwidget.cpp:9127
#15 0x00007fb27f858a1b in QQuickWidget::event(QEvent*) () from /usr/lib64/libQt5QuickWidgets.so.5
#16 0x00007fb282195f2c in QApplicationPrivate::notify_helper (this=this@entry=0x5648587ec550, receiver=receiver@entry=0x564858d410f0, e=e@entry=0x7ffe4c198b90) at kernel/qapplication.cpp:3701
#17 0x00007fb28219d540 in QApplication::notify (this=0x7ffe4c19b510, receiver=0x564858d410f0, e=0x7ffe4c198b90) at kernel/qapplication.cpp:3447
#18 0x00007fb28107e328 in QCoreApplication::notifyInternal2 (receiver=0x564858d410f0, event=0x7ffe4c198b90) at kernel/qcoreapplication.cpp:1088
#19 0x00007fb28107e4fe in QCoreApplication::sendEvent (receiver=receiver@entry=0x564858d410f0, event=event@entry=0x7ffe4c198b90) at kernel/qcoreapplication.cpp:1476
#20 0x00007fb2821cef96 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x564858dd0fa0, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7969
#21 0x00007fb2821d2c13 in QWidgetPrivate::show_helper (this=this@entry=0x564858dd0fa0) at kernel/qwidget.cpp:8020
#22 0x00007fb2821d5db3 in QWidgetPrivate::setVisible (this=0x564858dd0fa0, visible=<optimized out>) at kernel/qwidget.cpp:8383
#23 0x00007fb2821d2b68 in QWidgetPrivate::showChildren (this=this@entry=0x564858dd0ca0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#24 0x00007fb2821d2c2f in QWidgetPrivate::show_helper (this=this@entry=0x564858dd0ca0) at kernel/qwidget.cpp:8026
#25 0x00007fb2821d5db3 in QWidgetPrivate::setVisible (this=0x564858dd0ca0, visible=<optimized out>) at kernel/qwidget.cpp:8383
#26 0x00007fb2821d2b68 in QWidgetPrivate::showChildren (this=this@entry=0x564858d919f0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#27 0x00007fb2821d2c2f in QWidgetPrivate::show_helper (this=0x564858d919f0) at kernel/qwidget.cpp:8026
#28 0x00007fb2821d2a41 in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7950
#29 0x00007fb2821d2b50 in QWidgetPrivate::showChildren (this=this@entry=0x564858d64c00, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8461
#30 0x00007fb2821d2c2f in QWidgetPrivate::show_helper (this=this@entry=0x564858d64c00) at kernel/qwidget.cpp:8026
#31 0x00007fb2821d5db3 in QWidgetPrivate::setVisible (this=0x564858d64c00, visible=<optimized out>) at kernel/qwidget.cpp:8383
#32 0x00007fb2821d2b68 in QWidgetPrivate::showChildren (this=this@entry=0x564858d2d6c0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#33 0x00007fb2821d2c2f in QWidgetPrivate::show_helper (this=this@entry=0x564858d2d6c0) at kernel/qwidget.cpp:8026
#34 0x00007fb2821d5db3 in QWidgetPrivate::setVisible (this=0x564858d2d6c0, visible=<optimized out>) at kernel/qwidget.cpp:8383
#35 0x00007fb2821b9937 in QStackedLayout::setCurrentIndex (this=0x564858bb2430, index=1) at kernel/qstackedlayout.cpp:321
#36 0x00007fb2821b9c44 in QStackedLayout::setCurrentWidget (this=0x564858bb2430, widget=widget@entry=0x564858a1c950) at kernel/qstackedlayout.cpp:376
#37 0x00007fb28233a521 in QStackedWidget::setCurrentWidget (this=<optimized out>, widget=0x564858a1c950) at widgets/qstackedwidget.cpp:248
#38 0x00007fb283801aa0 in ?? () from /usr/lib64/libKF5WidgetsAddons.so.5
#39 0x00007fb2810ade35 in QMetaObject::activate (sender=sender@entry=0x564858d8fa00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe4c1993d0) at kernel/qobject.cpp:3804
#40 0x00007fb2810ae547 in QMetaObject::activate (sender=sender@entry=0x564858d8fa00, m=m@entry=0x7fb28152b620 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe4c1993d0) at kernel/qobject.cpp:3657
#41 0x00007fb281033997 in QItemSelectionModel::selectionChanged (this=this@entry=0x564858d8fa00, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:458
#42 0x00007fb281038500 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x564858d8fa00, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1871
#43 0x00007fb28103ba4b in QItemSelectionModel::select (this=0x564858d8fa00, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1338
#44 0x00007fb2810359fc in QItemSelectionModel::select (this=this@entry=0x564858d8fa00, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1188
#45 0x00007fb281033d44 in QItemSelectionModel::setCurrentIndex (this=0x564858d8fa00, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1413
#46 0x00007fb28380079a in ?? () from /usr/lib64/libKF5WidgetsAddons.so.5
#47 0x00007fb2838018d5 in ?? () from /usr/lib64/libKF5WidgetsAddons.so.5
#48 0x00007fb2810ade35 in QMetaObject::activate (sender=0x564858b89dd0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe4c199830) at kernel/qobject.cpp:3804
#49 0x00007fb2810ae547 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fb28152b520 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe4c199830) at kernel/qobject.cpp:3657
#50 0x00007fb281025556 in QAbstractItemModel::layoutChanged (this=<optimized out>, _t1=..., _t2=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:570
#51 0x00007fb283807d26 in KPageWidgetModel::addPage(KPageWidgetItem*) () from /usr/lib64/libKF5WidgetsAddons.so.5
#52 0x00007fb284f05b56 in ModuleView::addModule(KCModuleInfo*) () from /usr/lib64/libsystemsettingsview.so.3
#53 0x00007fb284f05edd in ModuleView::loadModule(QModelIndex const&) () from /usr/lib64/libsystemsettingsview.so.3
#54 0x00007fb2810adf4f in QtPrivate::QSlotObjectBase::call (a=0x7ffe4c199ae0, r=0x564858b4da00, this=0x564858d0cf70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#55 QMetaObject::activate (sender=sender@entry=0x564858b984f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe4c199ae0) at kernel/qobject.cpp:3784
#56 0x00007fb2810ae547 in QMetaObject::activate (sender=sender@entry=0x564858b984f0, m=m@entry=0x7fb282888b80 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe4c199ae0) at kernel/qobject.cpp:3657
#57 0x00007fb2823e5345 in QAbstractItemView::activated (this=this@entry=0x564858b984f0, _t1=...) at .moc/moc_qabstractitemview.cpp:667
#58 0x00007fb2823e83de in QAbstractItemView::mouseReleaseEvent (this=0x564858b984f0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1936
#59 0x00007fb282429bdf in QListView::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at itemviews/qlistview.cpp:798
#60 0x00007fb27fe9af34 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libKF5ItemViews.so.5
#61 0x00007fb2821d6238 in QWidget::event (this=this@entry=0x564858b984f0, event=event@entry=0x7ffe4c19a350) at kernel/qwidget.cpp:9343
#62 0x00007fb28227943e in QFrame::event (this=0x564858b984f0, e=0x7ffe4c19a350) at widgets/qframe.cpp:550
#63 0x00007fb2823f1293 in QAbstractItemView::viewportEvent (this=0x564858b984f0, event=0x7ffe4c19a350) at itemviews/qabstractitemview.cpp:1750
#64 0x00007fb28107e0ad in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x564858c96c70, event=event@entry=0x7ffe4c19a350) at kernel/qcoreapplication.cpp:1214
#65 0x00007fb282195f05 in QApplicationPrivate::notify_helper (this=this@entry=0x5648587ec550, receiver=receiver@entry=0x564858c96c70, e=e@entry=0x7ffe4c19a350) at kernel/qapplication.cpp:3695
#66 0x00007fb28219e418 in QApplication::notify (this=<optimized out>, receiver=0x564858c96c70, e=0x7ffe4c19a350) at kernel/qapplication.cpp:3161
#67 0x00007fb28107e328 in QCoreApplication::notifyInternal2 (receiver=0x564858c96c70, event=0x7ffe4c19a350) at kernel/qcoreapplication.cpp:1088
#68 0x00007fb28107e50e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffe4c19a350) at kernel/qcoreapplication.cpp:1488
#69 0x00007fb282196245 in qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffe4c19a350) at kernel/qapplication.cpp:4139
#70 0x00007fb282503429 in PressDelayHandler::sendMouseEvent (this=0x564858d0b850, me=0x564858cd0380, flags=0) at util/qflickgesture.cpp:305
#71 0x00007fb282502e4a in PressDelayHandler::released (scrollerIsActive=false, scrollerWasActive=<optimized out>, e=0x7ffe4c19ac00, this=<optimized out>) at util/qflickgesture.cpp:192
#72 QFlickGestureRecognizer::recognize (this=<optimized out>, state=<optimized out>, watched=<optimized out>, event=0x7ffe4c19ac00) at util/qflickgesture.cpp:697
#73 0x00007fb2821e40f2 in QGestureManager::filterEventThroughContexts (this=this@entry=0x564858b54760, contexts=..., event=event@entry=0x7ffe4c19ac00) at kernel/qgesturemanager.cpp:302
#74 0x00007fb2821e59d3 in QGestureManager::filterEvent (this=0x564858b54760, receiver=receiver@entry=0x564858c96c70, event=event@entry=0x7ffe4c19ac00) at kernel/qgesturemanager.cpp:541
#75 0x00007fb28219eaf1 in QApplication::notify (this=0x7ffe4c19b510, receiver=0x564858c96c70, e=0x7ffe4c19ac00) at kernel/qapplication.cpp:2992
#76 0x00007fb28107e328 in QCoreApplication::notifyInternal2 (receiver=0x564858c96c70, event=0x7ffe4c19ac00) at kernel/qcoreapplication.cpp:1088
#77 0x00007fb28107e50e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x564858c96c70, event=event@entry=0x7ffe4c19ac00) at kernel/qcoreapplication.cpp:1488
#78 0x00007fb28219ca0f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x564858c96c70, event=event@entry=0x7ffe4c19ac00, alienWidget=0x564858c96c70, nativeWidget=0x564858974a00, buttonDown=buttonDown@entry=0x7fb2828a13f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2647
#79 0x00007fb2821f0f11 in QWidgetWindow::handleMouseEvent (this=this@entry=0x564858a86210, event=event@entry=0x7ffe4c19b090) at kernel/qwidgetwindow.cpp:670
#80 0x00007fb2821f3d6a in QWidgetWindow::event (this=0x564858a86210, event=0x7ffe4c19b090) at kernel/qwidgetwindow.cpp:289
#81 0x00007fb282195f2c in QApplicationPrivate::notify_helper (this=this@entry=0x5648587ec550, receiver=receiver@entry=0x564858a86210, e=e@entry=0x7ffe4c19b090) at kernel/qapplication.cpp:3701
#82 0x00007fb28219d540 in QApplication::notify (this=0x7ffe4c19b510, receiver=0x564858a86210, e=0x7ffe4c19b090) at kernel/qapplication.cpp:3447
#83 0x00007fb28107e328 in QCoreApplication::notifyInternal2 (receiver=0x564858a86210, event=0x7ffe4c19b090) at kernel/qcoreapplication.cpp:1088
#84 0x00007fb28107e50e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x564858a86210, event=event@entry=0x7ffe4c19b090) at kernel/qcoreapplication.cpp:1488
#85 0x00007fb281917465 in QGuiApplicationPrivate::processMouseEvent (e=0x564858d3f1d0) at kernel/qguiapplication.cpp:2107
#86 0x00007fb2819187b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x564858d3f1d0) at kernel/qguiapplication.cpp:1842
#87 0x00007fb2818f223b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#88 0x00007fb2744cc1da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#89 0x00007fb279c9e624 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#90 0x00007fb279c9e9c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#91 0x00007fb279c9ea4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#92 0x00007fb2810db3af in QEventDispatcherGlib::processEvents (this=0x5648588b4c20, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#93 0x00007fb28107c57a in QEventLoop::exec (this=this@entry=0x7ffe4c19b430, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#94 0x00007fb281085780 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#95 0x00005648570ade00 in ?? ()
#96 0x00007fb28066434a in __libc_start_main () from /lib64/libc.so.6
#97 0x00005648570ade8a in _start ()
[Inferior 1 (process 2878) detached]

Possible duplicates by query: bug 434804, bug 434389, bug 434156, bug 428294, bug 426090.

Reported using DrKonqi
Comment 1 Nate Graham 2021-04-13 21:44:34 UTC
#7  QObject::property (this=this@entry=0x0, name=name@entry=0x7fb28252d913 "_pixmapstyle_combobox_pressed") at kernel/qobject.cpp:3970
#8  0x00007fb282257174 in QPixmapStyle::drawComboBox (this=0x564858887f90, option=0x5648590341e0, painter=0x7ffe4c198610, widget=0x0) at styles/qpixmapstyle.cpp:960
#9  0x00007fb241a257f5 in KQuickStyleItem::paint (this=this@entry=0x5648590317f0, painter=painter@entry=0x7ffe4c198610) at /usr/src/debug/qqc2-desktop-style-5.71.0-lp152.2.3.1.x86_64/plugin/kquickstyleitem.cpp:1552
#10 0x00007fb241a25c1c in KQuickStyleItem::updatePolish (this=0x5648590317f0) at /usr/src/debug/qqc2-desktop-style-5.71.0-lp152.2.3.1.x86_64/plugin/kquickstyleitem.cpp:1769
#11 0x00007fb27ef8bfd3 in QQuickWindowPrivate::polishItems() () from /usr/lib64/libQt5Quick.so.5


Which Plasma theme did you apply that caused this to happen?
Comment 2 Nate Graham 2021-04-13 21:44:42 UTC
.
Comment 3 David Edmundson 2021-04-13 21:54:27 UTC
if unsure, paste output of "qtdiag"
Comment 4 Bug Janitor Service 2021-04-28 04:33:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-05-13 04:33:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!