Bug 474126 - System settings crash on opening 'Application Style'
Summary: System settings crash on opening 'Application Style'
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-04 03:32 UTC by Alice
Modified: 2023-10-17 05:48 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (3.92 KB, text/plain)
2023-10-15 04:09 UTC, FirstAirBender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alice 2023-09-04 03:32:59 UTC
Application: systemsettings (5.27.7)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
navigating to Appearance -> Application Style causes this crash

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Aborted

[KCrash Handler]
#4  0x00007fd55ce8e83c in  () at /usr/lib/libc.so.6
#5  0x00007fd55ce3e668 in raise () at /usr/lib/libc.so.6
#6  0x00007fd55ce264b8 in abort () at /usr/lib/libc.so.6
#7  0x00007fd55d6a0098 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#8  0x00007fd55d6c6d78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fd535f4fbf4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#10 0x00007fd55e5e6f94 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fd536675189 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#12 0x00007fd55b4a6961 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007fd55b44c76f in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007fd55b44d116 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
#15 0x00007fd55a915982 in  () at /usr/lib/libQt5QmlModels.so.5
#16 0x00007fd55bafb6e9 in  () at /usr/lib/libQt5Quick.so.5
#17 0x00007fd55bae9c2a in  () at /usr/lib/libQt5Quick.so.5
#18 0x00007fd55bafadf7 in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007fd55baff9ad in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007fd55baffc52 in QQuickItemView::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5Quick.so.5
#21 0x00007fd55d8d17f3 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007fd55a8e9a9b in QQmlInstanceModel::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5QmlModels.so.5
#23 0x00007fd55a90e6ad in  () at /usr/lib/libQt5QmlModels.so.5
#24 0x00007fd55a91130c in  () at /usr/lib/libQt5QmlModels.so.5
#25 0x00007fd55a91768b in QQmlDelegateModel::_q_modelReset() () at /usr/lib/libQt5QmlModels.so.5
#26 0x00007fd55a91e5c3 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5QmlModels.so.5
#27 0x00007fd55d8d126f in  () at /usr/lib/libQt5Core.so.5
#28 0x00007fd55d859182 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#29 0x00007fd536671992 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#30 0x00007fd536673269 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#31 0x00007fd55eaf9c66 in  () at /usr/lib/libKF5KCMUtils.so.5
#32 0x00007fd55d8c4174 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007fd55e57893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007fd55d89c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007fd55d8a165b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#36 0x00007fd55d8e76d8 in  () at /usr/lib/libQt5Core.so.5
#37 0x00007fd55bf10a61 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#38 0x00007fd55bf6dc29 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007fd55bf0e112 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007fd55d8eb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007fd55d89b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007fd55d89c8a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x0000555d95a12bd9 in  ()
#44 0x00007fd55ce27cd0 in  () at /usr/lib/libc.so.6
#45 0x00007fd55ce27d8a in __libc_start_main () at /usr/lib/libc.so.6
#46 0x0000555d95a13575 in  ()
[Inferior 1 (process 1322955) detached]

Reported using DrKonqi
Comment 1 Antonio Rojas 2023-09-04 08:29:39 UTC
#9  0x00007fd535f4fbf4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so

The crash is in an unsupported style
Comment 2 FirstAirBender 2023-10-15 04:09:44 UTC
Created attachment 162315 [details]
New crash information added by DrKonqi

systemsettings (5.27.8) using Qt 5.15.11

I tried opening application style and the settings app just crashed

-- Backtrace (Reduced):
#7  0x00007f14716a00c2 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007f14725e6f44 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
[...]
#12 0x00007f146f6a4901 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007f146f650667 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007f146f651016 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
Comment 3 Alice 2023-10-17 04:08:48 UTC
(In reply to Antonio Rojas from comment #1)
> #9  0x00007fd535f4fbf4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
> 
> The crash is in an unsupported style

should i remove it?
Comment 4 FirstAirBender 2023-10-17 05:48:34 UTC
I was able to resolve this by recompiling qt5-styleplugin on archlinux and qt6gtk2. These packages need to be recompiled whenever qt5-base or qt6-base is updated.