Bug 435371 - Crash when restarting pipewire while a xdg-desktop-portal screencast is in progress
Summary: Crash when restarting pipewire while a xdg-desktop-portal screencast is in pr...
Status: RESOLVED DUPLICATE of bug 434452
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.21.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-05 00:12 UTC by kde
Modified: 2021-04-05 11:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2021-04-05 00:12:34 UTC
SUMMARY
If a screen/window capture is in progress and pipewire is restarted, kwin_wayland segfaults.

STEPS TO REPRODUCE
1. Start a window capture through portal (I'm using OBS 27.0.0-rc1 for this)
2. Restart pipewire (here using systemctl --user restart pipewire.service)

OBSERVED RESULT
kwin_wayland crashes in most attempts

EXPECTED RESULT
kwin_wayland does not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.21.3
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU: AMD 5700XT with AMDGPU

Attaching an unstripped version of kwin_wayland with gdb yields an incomplete backtrace in this fashion when the segfault happens:
#0  0x00007f92bc10f408 in  ()
#1  0x0000563b6c3c90f8 in  ()
#2  0x0000563b6c3c90f8 in  ()
#3  0x0000000000000000 in  ()
Comment 1 Alois Wohlschlager 2021-04-05 11:59:46 UTC

*** This bug has been marked as a duplicate of bug 434452 ***