Bug 1222233

Summary: Segmentation fault in kwin_wayland
Product: [openSUSE] openSUSE Tumbleweed Reporter: Felix Niederwanger <felix.niederwanger>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: journal log of the crash

Description Felix Niederwanger 2024-04-02 12:06:32 UTC
Created attachment 873996 [details]
journal log of the crash

During normal desktop usage suddenly my desktop reset itself. The journal revealed a SIGSEGV in kwin_wayland:

> Apr 02 13:57:26 racetrack-7290 kernel: traps: kwin_wayland[3284] general protection fault ip:7f448470c615 sp:7ffc5e0b7290 error:0 in screencast.so[7f4484700000+14000]
> Apr 02 13:57:26 racetrack-7290 systemd[1]: Started Process Core Dump (PID 11805/UID 0).
> Apr 02 13:57:26 racetrack-7290 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
> Apr 02 13:57:27 racetrack-7290 systemd-coredump[11808]: [🡕] Process 3284 (kwin_wayland) of user 1000 dumped core.
> 
>                                                         Stack trace of thread 3284:
>                                                         #0  0x00007f448470c615 _ZN4KWin16ScreenCastStream17onStreamAddBufferEP9pw_buffer (screencast.so + 0x16615)
>                                                         #1  0x00007f447ffa2c6b n/a (libpipewire-0.3.so.0 + 0x87c6b)
>                                                         #2  0x00007f447ff9a9eb pw_impl_port_use_buffers (libpipewire-0.3.so.0 + 0x7f9eb)
>                                                         #3  0x00007f447feeadb5 n/a (libpipewire-module-client-node.so + 0x11db5)
>                                                         #4  0x00007f447fef9e27 n/a (libpipewire-module-client-node.so + 0x20e27)
>                                                         #5  0x00007f44840517d0 n/a (libpipewire-module-protocol-native.so + 0x157d0)
>                                                         #6  0x00007f4484051f90 n/a (libpipewire-module-protocol-native.so + 0x15f90)
>                                                         #7  0x00007f44840937e6 n/a (libspa-support.so + 0x87e6)
>                                                         #8  0x00007f4484705aa9 n/a (screencast.so + 0xfaa9)
>                                                         #9  0x00007f4489fdaa83 n/a (libQt6Core.so.6 + 0x1daa83)
>                                                         #10 0x00007f4489fe27af _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt6Core.so.6 + 0x1e27af)
>                                                         #11 0x00007f4489fe2ffe _ZN15QSocketNotifier5eventEP6QEvent (libQt6Core.so.6 + 0x1e2ffe)
>                                                         #12 0x00007f448b1c1a7e _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x1c1a7e)
>                                                         #13 0x00007f4489f87998 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x187998)
>                                                         #14 0x00007f448a0df36c _ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt6Core.so.6 + 0x2df36c)
>                                                         #15 0x00007f448a0dfe37 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2dfe37)
>                                                         #16 0x00007f448ac0646d _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x60646d)
>                                                         #17 0x00007f4489f921ab _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1921ab)
>                                                         #18 0x00007f4489f8bde6 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x18bde6)
>                                                         #19 0x0000558b21d4385a n/a (kwin_wayland + 0x5885a)
>                                                         #20 0x00007f448962a1f0 __libc_start_call_main (libc.so.6 + 0x2a1f0)
>                                                         #21 0x00007f448962a2b9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a2b9)
>                                                         #22 0x0000558b21d496d5 n/a (kwin_wayland + 0x5e6d5)

I'm attaching the full journal here. I also have the coredump but am reluctant to post it here, because the desktop session might contain sensitive data.

I'm on Tumbleweed 20240329 and have no idea what could have triggered this issue or how to reproduce it.