Bug 475726

Summary: system settings crash on opening 'application style' when in gnome DE
Product: [Applications] systemsettings Reporter: Alice <alice>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fanzhuyifan, lyrix.spam, nightcitysun
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Alice 2023-10-17 04:08:07 UTC
Application: systemsettings (5.27.8)

Qt Version: 5.15.11
Frameworks Version: 5.110.0
Operating System: Linux 6.5.5-x64v2-xanmod1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
well dolphin looked really weird in gnome, it alternated between dark background on dark text to light backgrond on dark text, so i couldn't read half of the filenames, so i tried to alter my kde style but this page is still broken

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f61a7cac83c in  () at /usr/lib/libc.so.6
#5  0x00007f61a7c5c668 in raise () at /usr/lib/libc.so.6
#6  0x00007f61a7c444b8 in abort () at /usr/lib/libc.so.6
#7  0x00007f61a82a00c2 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#8  0x00007f61a82c6dc0 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f61989d3bf4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#10 0x00007f61a91e6f44 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f6199ee1189 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#12 0x00007f61a62a4901 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007f61a6250667 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007f61a6251016 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
#15 0x00007f61a36849c2 in  () at /usr/lib/libQt5QmlModels.so.5
#16 0x00007f61a6900259 in  () at /usr/lib/libQt5Quick.so.5
#17 0x00007f61a68f1c7a in  () at /usr/lib/libQt5Quick.so.5
#18 0x00007f61a68f9aa7 in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007f61a68fea0d in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007f61a68f90b2 in QQuickItemView::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5Quick.so.5
#21 0x00007f61a84d06a3 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f61a3658a9b in QQmlInstanceModel::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5QmlModels.so.5
#23 0x00007f61a367d6cd in  () at /usr/lib/libQt5QmlModels.so.5
#24 0x00007f61a368034c in  () at /usr/lib/libQt5QmlModels.so.5
#25 0x00007f61a36866cb in QQmlDelegateModel::_q_modelReset() () at /usr/lib/libQt5QmlModels.so.5
#26 0x00007f61a368d603 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5QmlModels.so.5
#27 0x00007f61a84d011f in  () at /usr/lib/libQt5Core.so.5
#28 0x00007f61a8458042 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#29 0x00007f6199edd992 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#30 0x00007f6199edf269 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#31 0x00007f61a96e1c66 in  () at /usr/lib/libKF5KCMUtils.so.5
#32 0x00007f61a84c3024 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007f61a91788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f61a849b5b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007f61a84a051b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#36 0x00007f61a84e6588 in  () at /usr/lib/libQt5Core.so.5
#37 0x00007f61a6f0df19 in  () at /usr/lib/libglib-2.0.so.0
#38 0x00007f61a6f6c2b7 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007f61a6f0c112 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007f61a84ea3cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007f61a849a2c4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007f61a849b763 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x000055f8a694cbd9 in  ()
#44 0x00007f61a7c45cd0 in  () at /usr/lib/libc.so.6
#45 0x00007f61a7c45d8a in __libc_start_main () at /usr/lib/libc.so.6
#46 0x000055f8a694d575 in  ()
[Inferior 1 (process 295077) detached]

The reporter indicates this bug may be a duplicate of or related to bug 474126.

Reported using DrKonqi
Comment 1 fanzhuyifan 2023-10-17 04:15:57 UTC
Thank you for the bug report! Unfortunately I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

Could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for details about how to do this.

Thanks again!
Comment 2 Antonio Rojas 2023-10-17 06:31:02 UTC
#9  0x00007f61989d3bf4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so

Crash is in an unsupported style
Comment 3 Roman 2023-12-22 11:00:51 UTC
Created attachment 164361 [details]
New crash information added by DrKonqi

systemsettings (5.27.10) using Qt 5.15.11

It craches in KDE Plasma right on clicking on "Application style" item in "Global Theme" section.

-- Backtrace (Reduced):
#7  0x00007fb1746a00c2 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007fb1755e6f74 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
[...]
#12 0x00007fb1724a47f1 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007fb172450617 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007fb172450fc6 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
Comment 4 lyrix.spam 2024-01-12 10:51:58 UTC
Та же проблема. После удаления qt5-styleplugins (5.0.0.0.20170311-35.4 из AUR) все работает нормально.
Comment 5 lyrix.spam 2024-01-12 10:54:46 UTC
(In reply to lyrix.spam from comment #4)
> Та же проблема. После удаления qt5-styleplugins (5.0.0.0.20170311-35.4 из
> AUR) все работает нормально.

Sorry for DeepL translation plugin...

Same Issue, after removing qt5-styleplugins (5.0.0.0.20170311-35.4 AUR) all work as  expected.