Bug 463436 - System Settings crash on exit when "remote controllers" page is open.
Summary: System Settings crash on exit when "remote controllers" page is open.
Status: RESOLVED WORKSFORME
Alias: None
Product: Plasma Bigscreen
Classification: Plasma
Component: Remote Controllers (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aditya Mehra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-24 17:23 UTC by randomland
Modified: 2023-02-19 15:09 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description randomland 2022-12-24 17:23:23 UTC
Application: systemsettings (5.26.4)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.1.1-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Garuda Linux
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
System Settings crashes if I open "Remote Controllers" page then close System Settings. This is %100 reproducible within both Plasma Wayland Bigscreen and regular Plasma Wayland session. Haven't tried Xorg.
Steps to reproduce:
1. Install plasma remote controller support. 
2. Launch Plasma Bigscreen at least once.
3. Open System Settings.
4. Click on "remote controllers".
5. Close System Settings.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fba5a22f325 in wl_map_insert_at (map=map@entry=0x558aefd69a70, flags=flags@entry=1, i=54, data=<optimized out>) at ../wayland-1.21.0/src/wayland-util.c:276
#7  0x00007fba5a22f483 in proxy_destroy (proxy=proxy@entry=0x7fb9dc2fa3b0) at ../wayland-1.21.0/src/wayland-client.c:510
#8  0x00007fba5a22f5af in wl_proxy_destroy_caller_locks (proxy=0x7fb9dc2fa3b0) at ../wayland-1.21.0/src/wayland-client.c:530
#9  wl_proxy_destroy (proxy=0x7fb9dc2fa3b0) at ../wayland-1.21.0/src/wayland-client.c:553
#10 0x00007fba38793eb6 in wl_registry_destroy (wl_registry=<optimized out>) at /usr/include/wayland-client-protocol.h:1163
#11 KWayland::Client::WaylandPointer<wl_registry, wl_registry_destroy>::release (this=0x7fb9dc2f90e0) at /usr/src/debug/kwayland/kwayland-5.101.0/src/client/wayland_pointer_p.h:44
#12 KWayland::Client::Registry::release (this=this@entry=0x7fb9dc2fa2e0) at /usr/src/debug/kwayland/kwayland-5.101.0/src/client/registry.cpp:458
#13 0x00007fba38793ef3 in KWayland::Client::Registry::~Registry (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland/kwayland-5.101.0/src/client/registry.cpp:453
#14 0x00007fba38793ffe in KWayland::Client::Registry::~Registry (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland/kwayland-5.101.0/src/client/registry.cpp:454
#15 0x00007fba5c2b3bd5 in QObjectPrivate::deleteChildren (this=this@entry=0x7fb9dc2f9890) at kernel/qobject.cpp:2137
#16 0x00007fba5c2b4399 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at kernel/qobject.cpp:1115
#17 0x00007fba1f150fd9 in TaskManager::VirtualDesktopInfo::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/virtualdesktopinfo.cpp:43
#18 TaskManager::VirtualDesktopInfo::WaylandPrivate::~WaylandPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/virtualdesktopinfo.cpp:241
#19 TaskManager::VirtualDesktopInfo::WaylandPrivate::~WaylandPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/virtualdesktopinfo.cpp:241
#20 0x00007fba1f1537f2 in TaskManager::VirtualDesktopInfo::~VirtualDesktopInfo (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/virtualdesktopinfo.cpp:465
#21 0x00007fba1f15381e in TaskManager::VirtualDesktopInfo::~VirtualDesktopInfo (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/virtualdesktopinfo.cpp:468
#22 0x00007fba5c2b3bd5 in QObjectPrivate::deleteChildren (this=this@entry=0x7fb9dc2211d0) at kernel/qobject.cpp:2137
#23 0x00007fba5c2b4399 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at kernel/qobject.cpp:1115
#24 0x00007fba1f16001e in TaskManager::WaylandTasksModel::~WaylandTasksModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/waylandtasksmodel.cpp:373
#25 0x00007fba1f15f98a in TaskManager::WindowTasksModel::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/windowtasksmodel.cpp:49
#26 TaskManager::WindowTasksModel::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/windowtasksmodel.cpp:44
#27 QScopedPointerDeleter<TaskManager::WindowTasksModel::Private>::cleanup (pointer=0x7fb9dc113080) at /usr/include/qt/QtCore/qscopedpointer.h:60
#28 QScopedPointerDeleter<TaskManager::WindowTasksModel::Private>::cleanup (pointer=0x7fb9dc113080) at /usr/include/qt/QtCore/qscopedpointer.h:52
#29 QScopedPointer<TaskManager::WindowTasksModel::Private, QScopedPointerDeleter<TaskManager::WindowTasksModel::Private> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:107
#30 TaskManager::WindowTasksModel::~WindowTasksModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/windowtasksmodel.cpp:78
#31 0x00007fba1f13f39e in TaskManager::WindowTasksModel::~WindowTasksModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/windowtasksmodel.cpp:76
#32 TaskManager::TasksModel::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/tasksmodel.cpp:135
#33 0x00007fba1f14869b in QScopedPointerDeleter<TaskManager::TasksModel::Private>::cleanup (pointer=0x7fb9dc1b4f80) at /usr/include/qt/QtCore/qscopedpointer.h:60
#34 QScopedPointerDeleter<TaskManager::TasksModel::Private>::cleanup (pointer=0x7fb9dc1b4f80) at /usr/include/qt/QtCore/qscopedpointer.h:52
#35 QScopedPointer<TaskManager::TasksModel::Private, QScopedPointerDeleter<TaskManager::TasksModel::Private> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:107
#36 TaskManager::TasksModel::~TasksModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/tasksmodel.cpp:1016
#37 0x00007fba1f1486de in TaskManager::TasksModel::~TasksModel (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.4.1/libtaskmanager/tasksmodel.cpp:1016
#38 0x00007fba5c2b3bd5 in QObjectPrivate::deleteChildren (this=this@entry=0x7fb9dc1e9c80) at kernel/qobject.cpp:2137
#39 0x00007fba5c2b4399 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at kernel/qobject.cpp:1115
#40 0x00007fba5ba53fa5 in __run_exit_handlers (status=0, listp=0x7fba5bbf1760 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113
#41 0x00007fba5ba54120 in __GI_exit (status=<optimized out>) at exit.c:143
#42 0x00007fba5ba3c297 in __libc_start_call_main (main=main@entry=0x558aeeb0f090 <main(int, char**)>, argc=argc@entry=1, argv=argv@entry=0x7ffd62fb5018) at ../sysdeps/nptl/libc_start_call_main.h:74
#43 0x00007fba5ba3c34a in __libc_start_main_impl (main=0x558aeeb0f090 <main(int, char**)>, argc=1, argv=0x7ffd62fb5018, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd62fb5008) at ../csu/libc-start.c:381
#44 0x0000558aeeb10565 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 16785) detached]

Reported using DrKonqi
Comment 1 randomland 2023-02-04 14:40:37 UTC
Still happening with 5.26.90 but seemingly I can't change the version of the bug.
Comment 2 randomland 2023-02-19 15:09:22 UTC
Can no longer reproduce with Plasma 5.27.0.

Operating System: Garuda Linux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400H @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: MONSTER
Product Name: ABRA A7 V13.1
System Version: Not Applicable