James provided an alternative that I verified to solve the issue.
jamesh: I know we had trouble with some Rust apps due to pipewire-rs being
incompatible with the old Pipewire[1]. But for some of those cases, the
resulting binaries actually worked with the core22 pipewire since they weren't
using any of the newer features the binding covered. I wonder if Chromium is
similar?
nteodosio: No, it does cause a segmentation fault when attempting a screen
share, <LP#2074358>.
jamesh:
You'll get a
segfault if you mix one version of libpipewire/libspa with a different version
of the plugins.
One test would be to unpack the snap with unsquashfs, remove
all pipewire libraries and plugins, and repack it with snap pack. See if it
still crashes.
[1] https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/75
** Bug watch added: gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues #75
https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/75
** Changed in: chromium-browser (Ubuntu)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2074358
Title:
Screen share causes segmentation fault in Wayland
Status in chromium-browser package in Ubuntu:
Fix Committed
Bug description:
latest/candidate: 127.0.6533.72 2024-07-26 (2919) 176MB -
Trying to share screen in Wayland causes segmentation fault. Not
happening in latest/stable: 126.0.6478.182 2024-07-19 (2910).
--->
[W][06188.305863] default | [ thread.c: 137
pw_thread_utils_set()] pw_thread_utils_set is deprecated and does nothing
anymore
[0729/101708.956104:ERROR:ptracer.cc(605)] ptrace: Input/output error (5)
[0729/101709.056429:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0729/101709.082714:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0729/101709.096608:WARNING:thread_snapshot_linux.cc(112)] Unknown scheduling
policy 1073741824
[0729/101709.099478:WARNING:thread_snapshot_linux.cc(112)] Unknown scheduling
policy 1073741824
Segmentation fault (core dumped)
<---
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2074358/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp