Bug 456954 - Settings crashes when clicking on Application Style from left panel.
Summary: Settings crashes when clicking on Application Style from left panel.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-20 18:36 UTC by joe.schroedl
Modified: 2022-10-30 22:34 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (4.63 KB, text/plain)
2022-10-30 22:34 UTC, Shocking Sys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joe.schroedl 2022-07-20 18:36:52 UTC
Application: systemsettings (5.25.80)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.12-3-MANJARO x86_64
Windowing System: X11
Distribution: Manjaro Linux
DrKonqi: 5.25.80 [KCrashBackend]

-- Information about the crash:
Settings screen crashed when trying to click on Application style in the left panel.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f70a017236c in  () at /usr/lib/libc.so.6
#5  0x00007f70a0122838 in raise () at /usr/lib/libc.so.6
#6  0x00007f70a010c535 in abort () at /usr/lib/libc.so.6
#7  0x00007f70a05c8ede in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#8  0x00007f70a05e6b7d in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f7074cbbcb4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so
#10 0x00007f70a13ab654 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f7074f25a36 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#12 0x00007f709e69b161 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007f709e6401ef in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007f709e640b96 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
#15 0x00007f709ba6a77e in  () at /usr/lib/libQt5QmlModels.so.5
#16 0x00007f709eaf8c39 in  () at /usr/lib/libQt5Quick.so.5
#17 0x00007f709eadfc62 in  () at /usr/lib/libQt5Quick.so.5
#18 0x00007f709eaeeb8f in  () at /usr/lib/libQt5Quick.so.5
#19 0x00007f709eaf758d in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007f709eaee5c2 in QQuickItemView::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5Quick.so.5
#21 0x00007f70a07e6378 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f709ba41a9b in QQmlInstanceModel::modelUpdated(QQmlChangeSet const&, bool) () at /usr/lib/libQt5QmlModels.so.5
#23 0x00007f709ba6621d in  () at /usr/lib/libQt5QmlModels.so.5
#24 0x00007f709ba6c564 in  () at /usr/lib/libQt5QmlModels.so.5
#25 0x00007f709ba6f8bd in QQmlDelegateModel::_q_modelReset() () at /usr/lib/libQt5QmlModels.so.5
#26 0x00007f709ba76da3 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5QmlModels.so.5
#27 0x00007f70a07e609d in  () at /usr/lib/libQt5Core.so.5
#28 0x00007f70a076fe52 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#29 0x00007f7074f202c2 in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#30 0x00007f7074f1bd6f in  () at /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_style.so
#31 0x00007f70a00ad648 in  () at /usr/lib/libKF5KCMUtils.so.5
#32 0x00007f70a07d9440 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007f70a133cb3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f70a07b5ad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007f70a07b65e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#36 0x00007f70a07fc548 in  () at /usr/lib/libQt5Core.so.5
#37 0x00007f709edddc6b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#38 0x00007f709ee34001 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007f709eddb392 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007f70a080032c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007f70a07ae27c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007f70a07b8da9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x000055e71b76bcd5 in  ()
#44 0x00007f70a010d290 in  () at /usr/lib/libc.so.6
#45 0x00007f70a010d34a in __libc_start_main () at /usr/lib/libc.so.6
#46 0x000055e71b76c625 in  ()
[Inferior 1 (process 5343) detached]

The reporter indicates this bug may be a duplicate of or related to bug 451008, bug 452467, bug 453895.

Reported using DrKonqi
Comment 1 Antonio Rojas 2022-07-20 19:51:57 UTC
#9  0x00007f7074cbbcb4 in  () at /usr/lib/qt/plugins/styles/libqgtk2style.so

The crash is in an unsupported style
Comment 2 Ömer Fadıl USTA 2022-07-27 07:34:03 UTC
I am getting same crash but different .so file : 
#8  0x00007f2f86c9fede _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fede)
#9  0x00007f2f86c9ff3c _Z9qt_assertPKcS0_i (libQt5Core.so.5 + 0x9ff3c)
#10 0x00007f2f7854dd7a n/a (/home/kde-dev/kde/usr/lib/libKF5WaylandClient.so.5.97.0 + 0xddd7a)
#11 0x00007f2f3c22c122 n/a (libukui-proxy-style.so + 0x21122)
#12 0x00007f2f86ebd341 n/a (libQt5Core.so.5 + 0x2bd341)
Comment 3 Antonio Rojas 2022-07-27 08:30:21 UTC
(In reply to Ömer Fadıl USTA from comment #2)
> I am getting same crash but different .so file : 
> #8  0x00007f2f86c9fede _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 +
> 0x9fede)
> #9  0x00007f2f86c9ff3c _Z9qt_assertPKcS0_i (libQt5Core.so.5 + 0x9ff3c)
> #10 0x00007f2f7854dd7a n/a
> (/home/kde-dev/kde/usr/lib/libKF5WaylandClient.so.5.97.0 + 0xddd7a)
> #11 0x00007f2f3c22c122 n/a (libukui-proxy-style.so + 0x21122)
> #12 0x00007f2f86ebd341 n/a (libQt5Core.so.5 + 0x2bd341)

Also an unsupported style
Comment 4 Ömer Fadıl USTA 2022-07-27 09:03:40 UTC
From side of libukui-proxy-style.so  [ yes i know it is unsupported but still wantted to dig in a little ]

It crashes when it trys to change seat pointer  
m_pointer = m_seat->createPointer(this);   //  qt5-ukui-platformtheme/ukui-styles/proxy-style/window-manager.cpp line 63 

whenever i disable related block  ``` if (pointerChanged) {   -> if (false) { ``` 
it is nolonger crashes [ but still its syles doesnt work and makes related softwares crash when trying to start [ for example dolphin ] ]
Comment 5 Shocking Sys 2022-10-30 22:34:53 UTC
Created attachment 153343 [details]
New crash information added by DrKonqi

systemsettings (5.25.5) using Qt 5.15.6

Just clicked "System Config" from Menu (basic pre-installed widget Plasma/Kickoff), Appearence so path would looks like:
System Config (Параметры системы) -> Appearance (Внешний вид) -> Appearance of applications (Оформление приложений) = And here System Config crash and Asked to send a report. Also any Chromium-based Applications (Chromium, Visual Studio Code, VS Codium) not work and crash with segfault and coredump.
Latest available manjaro update installed.

Unfortunately I currently have a localized menu, the brackets indicate how it is shown for me as I may be wrong about how it looks in reality on an English system, so here is an approximate translation and original string what I clicked.

-- Backtrace (Reduced):
#7  0x00007fe997625ede in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007fe998407634 in QStyleFactory::create(QString const&) () at /usr/lib/libQt5Widgets.so.5
[...]
#12 0x00007fe99573c651 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#13 0x00007fe9956e2bdf in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#14 0x00007fe9956e3586 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5