Bug 442318

Summary: System Settings crashes after changing Virtual Desktops settings on Wayland
Product: [Applications] systemsettings Reporter: Neal Gompa <ngompa13>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: isma.af, u9000
Priority: NOR Keywords: drkonqi
Version: 5.22.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Neal Gompa 2021-09-12 03:41:22 UTC
Application: systemsettings5 (5.22.5)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.1-300.fc35.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.5
Distribution: Fedora Linux 35 (KDE Plasma Prerelease)

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

I toggled "Show on-screen display when switching" on and clicked apply, which caused it to crash (after applying the setting). Toggling it back off and applying the setting causes the crash again.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f724b3a7e44 in QWaylandClientExtensionPrivate::handleRegistryGlobal(void*, wl_registry*, unsigned int, QString const&, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#5  0x00007f724b394419 in QtWaylandClient::QWaylandDisplay::registry_global(unsigned int, QString const&, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#6  0x00007f724b3b06c3 in QtWayland::wl_registry::handle_global(void*, wl_registry*, unsigned int, char const*, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#7  0x00007f7248c46c04 in ffi_call_unix64 () from /lib64/libffi.so.6
#8  0x00007f7248c46108 in ffi_call () from /lib64/libffi.so.6
#9  0x00007f724b301d10 in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#10 0x00007f724b30241b in dispatch_event.isra () from /lib64/libwayland-client.so.0
#11 0x00007f724b30260c in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#12 0x00007f724b38c7e3 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#13 0x00007f724d98a3f0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f724d98cb4a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib64/libQt5Core.so.5
#15 0x00007f724d98d363 in QSocketNotifier::event(QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007f724e52c443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f724d956798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f724d9a85ff in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#19 0x00007f724b6fc33f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007f724b751288 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#21 0x00007f724b6f99e3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007f724d9a7b78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#23 0x00007f724d9551a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007f724d95d6e4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#25 0x000056402a8f158c in main ()
[Inferior 1 (process 9247) detached]

Possible duplicates by query: bug 442289, bug 441707, bug 441700, bug 441504, bug 441277.

Reported using DrKonqi
Comment 1 Ismael Asensio 2021-09-12 14:40:02 UTC

*** This bug has been marked as a duplicate of bug 437455 ***
Comment 2 DJ Chase 2021-11-12 14:14:47 UTC
Created attachment 143485 [details]
New crash information added by DrKonqi

systemsettings5 (5.22.5) using Qt 5.15.2

- What I was doing when the application crashed:
Changing the virutal desktop settings on Wayland

-- Backtrace (Reduced):
#5  0x00007f208f7dc6a7 in QWaylandClientExtensionPrivate::handleRegistryGlobal(void*, wl_registry*, unsigned int, QString const&, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#6  0x00007f208f7c91b9 in QtWaylandClient::QWaylandDisplay::registry_global(unsigned int, QString const&, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#7  0x00007f208f7e5af3 in QtWayland::wl_registry::handle_global(void*, wl_registry*, unsigned int, char const*, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#8  0x00007f208d07bc04 in ffi_call_unix64 () from /lib64/libffi.so.6
#9  0x00007f208d07b108 in ffi_call () from /lib64/libffi.so.6