Bug 463214 - Logging out causes kwin_wayland to segfault and restart
Summary: Logging out causes kwin_wayland to segfault and restart
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.26.4
Platform: Arch Linux Other
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-19 00:03 UTC by marvelrenju1
Modified: 2022-12-19 18:00 UTC (History)
0 users

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 marvelrenju1 2022-12-19 00:03:26 UTC
SUMMARY

I am using an nvidia gpu with wayland. When I try to logout instead of returning to sddm the desktop restarts and I can no longer click the log off button (https://bugs.kde.org/show_bug.cgi?id=449948).

The problem does not appear when using the X11 session.

Backtrace:

Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f9a13547358 in ?? () from /usr/lib/libkwin.so.5
[Current thread is 1 (Thread 0x7f9a0c791880 (LWP 8633))]
(gdb) bt
#0  0x00007f9a13547358 in  () at /usr/lib/libkwin.so.5
#1  0x00007f9a13392f4e in  () at /usr/lib/libkwin.so.5
#2  0x00007f9a13366cd7 in  () at /usr/lib/libkwin.so.5
#3  0x00007f9a135aa8b8 in  () at /usr/lib/libkwin.so.5
#4  0x00007f9a1360f414 in  () at /usr/lib/libkwin.so.5
#5  0x00007f9a103da8ba in  () at /usr/lib/libwayland-server.so.0
#6  0x00007f9a103dafdb in wl_client_destroy () at /usr/lib/libwayland-server.so.0
#7  0x00007f9a103db1f7 in wl_display_destroy_clients () at /usr/lib/libwayland-server.so.0
#8  0x00007f9a13597339 in KWaylandServer::Display::~Display() () at /usr/lib/libkwin.so.5
#9  0x00007f9a134b805d in  () at /usr/lib/libkwin.so.5
#10 0x00007f9a11ab3bd5 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007f9a11ab4399 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007f9a134b928e in KWin::WaylandServer::~WaylandServer() () at /usr/lib/libkwin.so.5
#13 0x00007f9a11ab3bd5 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#14 0x00007f9a11ab4399 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#15 0x000055579c055165 in  ()
#16 0x00007f9a10a3c290 in  () at /usr/lib/libc.so.6
#17 0x00007f9a10a3c34a in __libc_start_main () at /usr/lib/libc.so.6
#18 0x000055579c056c95 in  ()

STEPS TO REPRODUCE
1.  Login to kde wayland session
2.  Attempt to logout

OBSERVED RESULT
KDE desktop restarts and is fully functional except for logout button now freezing everything.

EXPECTED RESULT
Return to SDDM.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 marvelrenju1 2022-12-19 16:14:38 UTC
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Comment 2 marvelrenju1 2022-12-19 18:00:03 UTC
Can't reproduce seems to have fixed itself.