Bug 461578 - GNOME/GTK App Style Crashes the KDE Settings When I Press Save Button
Summary: GNOME/GTK App Style Crashes the KDE Settings When I Press Save Button
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 5.27.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 469363 472988 479246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-08 08:31 UTC by İsmail
Modified: 2024-09-01 12:09 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description İsmail 2022-11-08 08:31:45 UTC
Application: systemsettings (5.26.2)

Qt Version: 5.15.7
Frameworks Version: 5.99.0
Operating System: Linux 6.0.7-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.2 [KCrashBackend]

-- Information about the crash:
When I want to change the GTK Application Style theme and then press the Apply / Save button in the KDE System Settings, the System Settings app crashes due to GTK settings change.

It crashes everytime I try to change GTK Application Style theme and press the Apply button.

The crash can be reproduced every time.

-- Backtrace:
Application: Sistem Ayarları (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8519018fcb in ?? ()
#5  0x00007f85181b2570 in g_closure_invoke (closure=0x55e8261fbce0, return_value=0x0, n_param_values=2, param_values=0x7ffcd5e26e90, invocation_hint=0x7ffcd5e26e10) at ../gobject/gclosure.c:832
#6  0x00007f85181c6416 in signal_emit_unlocked_R (node=node@entry=0x55e826d78060, detail=detail@entry=458, instance=instance@entry=0x55e826170e00, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffcd5e26e90) at ../gobject/gsignal.c:3796
#7  0x00007f85181cd3b5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffcd5e27030) at ../gobject/gsignal.c:3549
#8  0x00007f85181cd51f in g_signal_emit (instance=instance@entry=0x55e826170e00, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3606
#9  0x00007f85181b6724 in g_object_dispatch_properties_changed (object=0x55e826170e00, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1428
#10 0x00007f85181b713c in g_object_notify_queue_thaw (object=0x55e826170e00, nqueue=<optimized out>) at ../gobject/gobject.c:359
#11 0x00007f85181bacec in g_object_set_valist (object=0x55e826170e00, first_property_name=<optimized out>, var_args=0x7ffcd5e272d0) at ../gobject/gobject.c:2775
#12 0x00007f85181bb96c in g_object_set (_object=0x55e826170e00, first_property_name=0x7f851ade43e8 "gtk-shell-shows-menubar") at ../gobject/gobject.c:2939
#13 0x00007f851ade33df in set_gtk_shell_shows_menubar () from /usr/lib64/gtk-2.0/modules/libappmenu-gtk-module.so
#14 0x00007f851ade34ac in watch_registrar_dbus () from /usr/lib64/gtk-2.0/modules/libappmenu-gtk-module.so
#15 0x00007f851ade178b in gtk_module_init () from /usr/lib64/gtk-2.0/modules/libappmenu-gtk-module.so
#16 0x00007f84e0751bf2 in load_module (name=0x55e8250fb3a0 "appmenu-gtk-module", module_list=0x0) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkmodules.c:341
#17 load_modules (module_str=<optimized out>) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkmodules.c:421
#18 0x00007f84e07a64f8 in _gtk_modules_settings_changed (modules=0x55e825b7e620 " appmenu-gtk-module ", settings=0x55e826170e00) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkmodules.c:579
#19 settings_update_modules (settings=0x55e826170e00) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtksettings.c:2238
#20 gtk_settings_notify (object=0x55e826170e00, pspec=<optimized out>) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtksettings.c:1396
#21 0x00007f85181b2570 in g_closure_invoke (closure=0x55e8260537d0, return_value=0x0, n_param_values=2, param_values=0x7ffcd5e27670, invocation_hint=0x7ffcd5e275f0) at ../gobject/gclosure.c:832
#22 0x00007f85181c60cd in signal_emit_unlocked_R (node=node@entry=0x55e826d78060, detail=detail@entry=315, instance=instance@entry=0x55e826170e00, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffcd5e27670) at ../gobject/gsignal.c:3726
#23 0x00007f85181cd3b5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffcd5e27810) at ../gobject/gsignal.c:3549
#24 0x00007f85181cd51f in g_signal_emit (instance=instance@entry=0x55e826170e00, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3606
#25 0x00007f85181b6724 in g_object_dispatch_properties_changed (object=0x55e826170e00, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1428
#26 0x00007f85181b9527 in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x55e826170e00) at ../gobject/gobject.c:1544
#27 g_object_notify (object=0x55e826170e00, property_name=<optimized out>) at ../gobject/gobject.c:1594
#28 0x00007f84e07a35ef in apply_queued_setting (data=0x55e826170e00, pspec=0x55e8274e4290, qvalue=0x55e824f72b80) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtksettings.c:1519
#29 0x00007f84e0784c38 in _gtk_settings_set_property_value_from_rc (new_value=0x7ffcd5e27a10, prop_name=0x55e826467680 "gtk-modules", settings=<optimized out>) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtksettings.c:1738
#30 gtk_rc_parse_statement (scanner=0x55e827086850, context=0x55e8260d34b0) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:2972
#31 gtk_rc_parse_any (context=0x55e8260d34b0, input_name=<optimized out>, input_fd=<optimized out>, input_string=<optimized out>) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:2281
#32 0x00007f84e078614d in gtk_rc_context_parse_one_file (context=0x55e8260d34b0, filename=0x55e826d78eb0 "/home/ismail/.gtkrc-2.0", priority=<optimized out>, reload=<optimized out>) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:1033
#33 0x00007f84e078630e in gtk_rc_context_parse_file (context=0x55e8260d34b0, filename=0x55e826d78eb0 "/home/ismail/.gtkrc-2.0", priority=12, reload=0) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:1099
#34 0x00007f84e0787287 in gtk_rc_parse_default_files (context=0x55e8260d34b0) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:862
#35 IA__gtk_rc_reparse_all_for_settings (settings=settings@entry=0x55e826170e00, force_load=force_load@entry=1) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:1809
#36 0x00007f84e078742e in gtk_rc_settings_changed (pspec=<optimized out>, context=0x55e8260d34b0, settings=0x55e826170e00) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:656
#37 gtk_rc_settings_changed (settings=0x55e826170e00, pspec=<optimized out>, context=0x55e8260d34b0) at /usr/src/debug/gtk2-2.24.33-4.1.x86_64/gtk/gtkrc.c:636
#38 0x00007f85181b2570 in g_closure_invoke (closure=0x55e827597570, return_value=0x0, n_param_values=2, param_values=0x7ffcd5e27e40, invocation_hint=0x7ffcd5e27dc0) at ../gobject/gclosure.c:832
#39 0x00007f85181c6416 in signal_emit_unlocked_R (node=node@entry=0x55e826d78060, detail=detail@entry=307, instance=instance@entry=0x55e826170e00, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffcd5e27e40) at ../gobject/gsignal.c:3796
#40 0x00007f85181cd3b5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffcd5e27fe0) at ../gobject/gsignal.c:3549
#41 0x00007f85181cd51f in g_signal_emit (instance=instance@entry=0x55e826170e00, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3606
#42 0x00007f85181b6724 in g_object_dispatch_properties_changed (object=0x55e826170e00, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1428
#43 0x00007f85181b9527 in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x55e826170e00) at ../gobject/gobject.c:1544
#44 g_object_notify (object=0x55e826170e00, property_name=<optimized out>) at ../gobject/gobject.c:1594
#45 0x00007f8518599f2b in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at x11/gdkevents-x11.c:2425
#46 0x00007f854871fa90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#47 0x00007f854871fe48 in ?? () from /lib64/libglib-2.0.so.0
#48 0x00007f854871fedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#49 0x00007f854a133b56 in QEventDispatcherGlib::processEvents (this=0x55e824619e40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#50 0x00007f8519063550 in runRdb (flags=<optimized out>) at /usr/include/qt5/QtCore/qflags.h:121
#51 0x00007f8518af1f65 in KCMStyle::save (this=0x55e825226930) at /usr/src/debug/plasma-workspace-5.26.2/kcms/style/kcmstyle.cpp:293
#52 0x00007f854b32d402 in KCModuleQml::save (this=0x55e825f34730) at /usr/src/debug/kcmutils-5.99.0-1.1.x86_64/src/kcmoduleqml.cpp:299
#53 0x00007f854b335337 in KCModuleProxy::save (this=<optimized out>) at /usr/src/debug/kcmutils-5.99.0-1.1.x86_64/src/kcmoduleproxy.cpp:279
#54 0x00007f854b835751 in ModuleView::moduleSave (this=0x55e824832d00, module=<optimized out>) at /usr/src/debug/systemsettings-5.26.2/core/ModuleView.cpp:369
#55 0x00007f854b835a8e in ModuleView::moduleSave (this=<optimized out>) at /usr/src/debug/systemsettings-5.26.2/core/ModuleView.cpp:360
#56 0x00007f854b837ebe in ModuleView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffcd5e28670) at /usr/src/debug/systemsettings-5.26.2/build/core/systemsettingsview_autogen/EWIEGA46WW/moc_ModuleView.cpp:133
#57 0x00007f854a11354c in doActivate<false> (sender=0x55e8248215b0, signal_index=9, argv=0x7ffcd5e28670) at kernel/qobject.cpp:3931
#58 0x00007f854a10c74f in QMetaObject::activate (sender=sender@entry=0x55e8248215b0, m=m@entry=0x7f854b2be160 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffcd5e28670) at kernel/qobject.cpp:3979
#59 0x00007f854ae97072 in QAbstractButton::clicked (this=this@entry=0x55e8248215b0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#60 0x00007f854ae972da in QAbstractButtonPrivate::emitClicked (this=0x55e824860330) at widgets/qabstractbutton.cpp:416
#61 0x00007f854ae98b78 in QAbstractButtonPrivate::click (this=0x55e824860330) at widgets/qabstractbutton.cpp:409
#62 0x00007f854ae98d97 in QAbstractButton::mouseReleaseEvent (this=0x55e8248215b0, e=0x7ffcd5e28bf0) at widgets/qabstractbutton.cpp:1045
#63 0x00007f854ade6c38 in QWidget::event (this=0x55e8248215b0, event=0x7ffcd5e28bf0) at kernel/qwidget.cpp:9043
#64 0x00007f854ada53fe in QApplicationPrivate::notify_helper (this=this@entry=0x55e8245d5e90, receiver=receiver@entry=0x55e8248215b0, e=e@entry=0x7ffcd5e28bf0) at kernel/qapplication.cpp:3637
#65 0x00007f854adad922 in QApplication::notify (this=<optimized out>, receiver=0x55e8248215b0, e=<optimized out>) at kernel/qapplication.cpp:3081
#66 0x00007f854a0dc128 in QCoreApplication::notifyInternal2 (receiver=0x55e8248215b0, event=0x7ffcd5e28bf0) at kernel/qcoreapplication.cpp:1064
#67 0x00007f854adaba9e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55e8248215b0, event=event@entry=0x7ffcd5e28bf0, alienWidget=<optimized out>, nativeWidget=0x55e82461c750, buttonDown=buttonDown@entry=0x7f854b2f0330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#68 0x00007f854adffa58 in QWidgetWindow::handleMouseEvent (this=0x55e8248e6ee0, event=0x7ffcd5e28ea0) at kernel/qwidgetwindow.cpp:683
#69 0x00007f854ae02fb0 in QWidgetWindow::event (this=0x55e8248e6ee0, event=0x7ffcd5e28ea0) at kernel/qwidgetwindow.cpp:300
#70 0x00007f854ada53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e8248e6ee0, e=0x7ffcd5e28ea0) at kernel/qapplication.cpp:3637
#71 0x00007f854a0dc128 in QCoreApplication::notifyInternal2 (receiver=0x55e8248e6ee0, event=0x7ffcd5e28ea0) at kernel/qcoreapplication.cpp:1064
#72 0x00007f854a57b9ad in QGuiApplicationPrivate::processMouseEvent (e=0x7f8538007080) at kernel/qguiapplication.cpp:2285
#73 0x00007f854a54f37c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#74 0x00007f85473611e0 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:74
#75 0x00007f854871fa90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#76 0x00007f854871fe48 in ?? () from /lib64/libglib-2.0.so.0
#77 0x00007f854871fedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#78 0x00007f854a133b56 in QEventDispatcherGlib::processEvents (this=0x55e824619e40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#79 0x00007f854a0dab9b in QEventLoop::exec (this=this@entry=0x7ffcd5e291d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#80 0x00007f854a0e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#81 0x00007f854a56ee4c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#82 0x00007f854ada5375 in QApplication::exec () at kernel/qapplication.cpp:2829
#83 0x000055e82295cfa8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings-5.26.2/app/main.cpp:188
[Inferior 1 (process 2984) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-11-08 18:05:14 UTC
It's crashing very deep in GTK2, probably when trying to render a preview of the selected GTK style. What style did you choose before hitting the Save button?
Comment 2 İsmail 2022-11-08 19:23:07 UTC
(In reply to Nate Graham from comment #1)
> It's crashing very deep in GTK2, probably when trying to render a preview of
> the selected GTK style. What style did you choose before hitting the Save
> button?

No matter what I select, it crashed anyway. I tried with Breeze, Breeze Dark-gtk, Adwaita, Adwaita Dark etc. This issue happened on the work computer. Now I have tried it in my personal notebook which has the same OS installed, also crashes.
I also noted that some GTK applications do not get themed by the theme we select in GTK Style settings. For example an IDE called MPLAB X IDE for embedded programming which I need to use it for developing microcontroller applications. But as of plasma v 5.25 I think, it started to freeze often and doesn't get the GTK theme anymore. Should I file a different bug for that?
Comment 3 Nicolas Fella 2022-11-08 20:05:30 UTC
> It's crashing very deep in GTK2, probably when trying to render a preview of the selected GTK style.

We don't have previews for GTK themes, except when clicking the "Preview". That doesn't seem to be what's happening here though
Comment 4 Bug Janitor Service 2022-11-23 05:16:12 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 2022-12-08 05:15:42 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!
Comment 6 Nate Graham 2023-05-15 20:54:17 UTC
*** Bug 469363 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-05-15 20:54:50 UTC
Got a new report from 5.27; re-opening.
Comment 8 Nate Graham 2023-08-04 19:02:15 UTC
*** Bug 472988 has been marked as a duplicate of this bug. ***
Comment 9 İsmail 2023-09-07 07:00:44 UTC
Hi folks! I've had to reinstall the OS on the workstation computer. I was exploring the bugs that I submitted and see this one still open. I'd like to share with you that I can switch the GTK themes with no issues now. Perhaps the issue comes out when the OS is loaded wit various things and some libraries or their versions are conflicting somehow. Here is the new installed system's information if it will make sense:

Operating System: openSUSE Tumbleweed 20230902
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.12-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-8100 CPU @ 3.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 10 Nate Graham 2023-09-07 16:38:39 UTC
Awesome, thanks so much for following up!
Comment 11 Nicolas Fella 2024-09-01 12:09:04 UTC
*** Bug 479246 has been marked as a duplicate of this bug. ***