Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908490 - kde-plasma/kwin kwin_wayland crash during media-video/pipewire update
Summary: kde-plasma/kwin kwin_wayland crash during media-video/pipewire update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-14 10:09 UTC by Михаил
Modified: 2023-07-13 09:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Михаил 2023-06-14 10:09:20 UTC
kde wayland session was reset after pipewire update.

Reproducible: Didn't try




dmesg:

[Wed Jun 14 12:55:41 2023] kwin_wayland[485]: segfault at 0 ip 00007febed7442a1 sp 00007ffed7823150 error 4 in libpipewire-module-client-node.so[7febed741000+2d000] likely on CPU 2 (core 0, socket 0)
[Wed Jun 14 12:55:41 2023] Code: 98 00 00 00 49 89 6f 60 48 89 ef 4c 8d 6c 24 07 e8 f4 cd ff ff 49 89 07 48 8d 35 86 a0 02 00 48 8b 95 e0 05 00 00 49 89 57 08 <48> 8b 12 4d 89 a7 a0 00 00 00 49 89 57 10 41 c7 47 20 ff ff ff ff

kde-plasma/kwin-5.27.5-r2
media-video/pipewire-0.3.71-r2
Comment 1 Mike Gilbert gentoo-dev 2023-06-14 15:29:23 UTC
I think you will need to provide more information for any action to be taken on this bug report. A backtrace might be helpful.
Comment 2 Михаил 2023-06-14 21:18:23 UTC
Coredump looks useless.


warning: Can't open file /usr/lib64/libpipewire-0.3.so.0.370.0 (deleted) during file-backed mapping note processing
[New LWP 485]
[New LWP 576]
[New LWP 566]
[New LWP 96053]
[New LWP 617]
[New LWP 9851]
[New LWP 508]
[New LWP 564]
[New LWP 567]
[New LWP 615]
[New LWP 616]
[New LWP 618]
[New LWP 621]
[New LWP 565]
[New LWP 15174]
[New LWP 9852]

warning: .dynamic section for "/usr/lib64/libjpeg.so.62" is not at the expected address (wrong library or version mismatch?)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
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  0x00007febed7442a1 in ?? () from /usr/lib64/pipewire-0.3/libpipewire-module-client-node.so
[Current thread is 1 (Thread 0x7fec2e4c1540 (LWP 485))]
(gdb) bt
#0  0x00007febed7442a1 in ?? () from /usr/lib64/pipewire-0.3/libpipewire-module-client-node.so
#1  0x00007fec335c6d6c in ?? () from /usr/lib64/libpipewire-0.3.so.0
#2  0x00007fec336263bd in pw_stream_connect () from /usr/lib64/libpipewire-0.3.so.0
Backtrace stopped: Cannot access memory at address 0x207325203a7024f8
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-27 11:46:41 UTC
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243 at least, I've seen a KDE-side bug for this but not sure where yet.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-13 09:47:11 UTC
This is fixed with 0.3.74 (as much as possible) and I'm going to add a warning too.
Comment 5 Larry the Git Cow gentoo-dev 2023-07-13 09:49:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c7c394a58c59269bdb8af838014ff94ccb9cdc

commit 72c7c394a58c59269bdb8af838014ff94ccb9cdc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-13 09:49:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-13 09:49:11 +0000

    media-video/pipewire: add note re kwin/mutter
    
    KWin and Mutter need to be restarted after upgrading (most) PipeWire versions
    to keep screencasting working. KWin no longer crashes w/ >=0.3.74 though.
    
    Closes: https://bugs.gentoo.org/908490
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/pipewire/pipewire-0.3.74.ebuild | 7 +++++++
 media-video/pipewire/pipewire-9999.ebuild   | 7 +++++++
 2 files changed, 14 insertions(+)