Bug 426812 - Application Settings Causes Crash
Summary: Application Settings Causes Crash
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.19.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-09-21 13:25 UTC by Chris Reed
Modified: 2020-09-23 19:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-13955-0.html (1.83 KB, text/html)
2020-09-23 18:38 UTC, Chris Reed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Reed 2020-09-21 13:25:55 UTC
Application: systemsettings5 (5.19.5)

Qt Version: 5.15.1
Frameworks Version: 5.74.0
Operating System: Linux 5.4.66-1-lts x86_64
Windowing system: X11
Distribution: Arch Linux

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

Trying to change the application settings back to Breeze

- Custom settings of the application:

I had recently changed the application settings to use a style BT2 or something similar.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fb7557e2eb1 in QPixmapStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQt5Widgets.so.5
#5  0x00007fb738b4982e in ?? () from /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#6  0x00007fb738b4a791 in ?? () from /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#7  0x00007fb75405a0c6 in QQuickWindowPrivate::polishItems() () from /usr/lib/libQt5Quick.so.5
#8  0x00007fb7540e23c0 in QQuickRenderControl::polishItems() () from /usr/lib/libQt5Quick.so.5
#9  0x00007fb75437ce48 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#10 0x00007fb75575b59e in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fb755719752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007fb754bcbcda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007fb755752810 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fb7557572f4 in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#15 0x00007fb75575a64d in QWidgetPrivate::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007fb755757273 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007fb755757312 in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#18 0x00007fb75575a64d in QWidgetPrivate::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007fb755757273 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007fb755757312 in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#21 0x00007fb75575728a in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007fb755757312 in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fb75575a64d in QWidgetPrivate::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007fb755757273 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fb755757312 in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#26 0x00007fb75575a64d in QWidgetPrivate::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007fb75573f1a2 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007fb755f73224 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#29 0x00007fb754c03070 in ?? () from /usr/lib/libQt5Core.so.5
#30 0x00007fb754b75a91 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQt5Core.so.5
#31 0x00007fb754b7e8b1 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007fb754b793d5 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007fb755f715f8 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#34 0x00007fb755f7309d in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#35 0x00007fb754c03070 in ?? () from /usr/lib/libQt5Core.so.5
#36 0x00007fb754b653e7 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Core.so.5
#37 0x00007fb755f79a15 in KPageWidgetModel::addPage(KPageWidgetItem*) () from /usr/lib/libKF5WidgetsAddons.so.5
#38 0x00007fb75624b804 in ModuleView::loadModule(QModelIndex const&, QStringList const&) () from /usr/lib/libsystemsettingsview.so.3
#39 0x00007fb74c64c9a3 in ?? () from /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#40 0x00007fb74c64a82e in ?? () from /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#41 0x00007fb74c64ad53 in ?? () from /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#42 0x00007fb753c5250e in ?? () from /usr/lib/libQt5Qml.so.5
#43 0x00007fb753b3803f in ?? () from /usr/lib/libQt5Qml.so.5
#44 0x00007fb753b39eda in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /usr/lib/libQt5Qml.so.5
#45 0x00007fb753b55ad7 in ?? () from /usr/lib/libQt5Qml.so.5
#46 0x00007fb753b5862f in ?? () from /usr/lib/libQt5Qml.so.5
#47 0x00007fb753af2cce in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /usr/lib/libQt5Qml.so.5
#48 0x00007fb753c6f8d6 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /usr/lib/libQt5Qml.so.5
#49 0x00007fb753c215cd in QQmlBoundSignalExpression::evaluate(void**) () from /usr/lib/libQt5Qml.so.5
#50 0x00007fb753c21ab1 in ?? () from /usr/lib/libQt5Qml.so.5
#51 0x00007fb753c51fad in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib/libQt5Qml.so.5
#52 0x00007fb754c02bb5 in ?? () from /usr/lib/libQt5Core.so.5
#53 0x00007fb7540ad3c3 in QQuickMouseArea::clicked(QQuickMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#54 0x00007fb7540aec90 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () from /usr/lib/libQt5Quick.so.5
#55 0x00007fb7540aff64 in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#56 0x00007fb754046088 in QQuickItem::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#57 0x00007fb755719752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#58 0x00007fb754bcbcda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#59 0x00007fb7540628c8 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#60 0x00007fb754063c7c in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /usr/lib/libQt5Quick.so.5
#61 0x00007fb755036a55 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#62 0x00007fb755719752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#63 0x00007fb754bcbcda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#64 0x00007fb75438122a in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5QuickWidgets.so.5
#65 0x00007fb75575ab0e in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#66 0x00007fb755719752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#67 0x00007fb75572087b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#68 0x00007fb754bcbcda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#69 0x00007fb75571f87e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#70 0x00007fb755773249 in ?? () from /usr/lib/libQt5Widgets.so.5
#71 0x00007fb75577663f in ?? () from /usr/lib/libQt5Widgets.so.5
#72 0x00007fb755719752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#73 0x00007fb754bcbcda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#74 0x00007fb75502a4cc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#75 0x00007fb754fffbac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#76 0x00007fb74fe24f9c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#77 0x00007fb7528b9bfc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#78 0x00007fb75290b1f9 in ?? () from /usr/lib/libglib-2.0.so.0
#79 0x00007fb7528b8421 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#80 0x00007fb754c24941 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#81 0x00007fb754bca65c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#82 0x00007fb754bd2af4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#83 0x0000556875031806 in ?? ()
#84 0x00007fb75459a152 in __libc_start_main () from /usr/lib/libc.so.6
#85 0x00005568750324ae in _start ()
[Inferior 1 (process 7613) detached]

Possible duplicates by query: bug 426586, bug 426416, bug 426202, bug 424778, bug 423824.

Reported using DrKonqi
Comment 1 David Edmundson 2020-09-21 13:45:09 UTC
as a local workaround 

systemsettings5 --style breeze   should force us to use breeze whilst you select back.
Comment 2 Nate Graham 2020-09-23 17:29:42 UTC
Crashing in the widget style:

[KCrash Handler]
#4  0x00007fb7557e2eb1 in QPixmapStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQt5Widgets.so.5

Does it crash 100% of the time when switching *away* from the non-Breeze style and *to* Breeze? And does the reverse happen if you use Breeze and switch to the other theme?
Comment 3 Chris Reed 2020-09-23 18:38:30 UTC
Created attachment 131888 [details]
attachment-13955-0.html

It the applications window crashed each time it was opened. Using the
recommendation from David resolved the issue.

On Wed, Sep 23, 2020, 1:29 PM Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=426812
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |nate@kde.org
>              Status|REPORTED                    |NEEDSINFO
>
> --- Comment #2 from Nate Graham <nate@kde.org> ---
> Crashing in the widget style:
>
> [KCrash Handler]
> #4  0x00007fb7557e2eb1 in QPixmapStyle::drawControl(QStyle::ControlElement,
> QStyleOption const*, QPainter*, QWidget const*) const () from
> /usr/lib/libQt5Widgets.so.5
>
> Does it crash 100% of the time when switching *away* from the non-Breeze
> style
> and *to* Breeze? And does the reverse happen if you use Breeze and switch
> to
> the other theme?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Nate Graham 2020-09-23 19:13:08 UTC
So the bug was in the 3rd-party theme then. Darn. Please report this to the theme creator!