Pipewire Segmentation Fault on libX11 update
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, shell
調査の方向性
The report names PipeWire 1.6.9, libX11 1.8.14, wlroots based window managers, and Sway, but gives no source files or failing test. Start by checking the reported package updates and PipeWire logs for the X11 I/O error, then try the reproduction steps in a wlroots session. Done means identifying and fixing the cause of the idle crash; the report does not specify a test or expected resolution beyond PipeWire remaining running.
索引モデルが issue の本文から書いたものです。
説明
Is this a new report?
Yes
System Info
Void 6.18.58_1 x86_64 AuthenticAMD uptodate rrrrm
Package(s) Affected
pipewire-1.6.9_1 libX11-1.8.14_1 libX11-32bit-1.8.14_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
None found, except /r/voidlinux
Expected behaviour
Until now, /usr/bin/pipewire was fairly flexible, and allowed itself to be launched directly from a given wlroots-based WM of choice, aside from being stable overall
Actual behaviour
After updating packages libX11-1.8.14_1 libX11-32bit-1.8.14_1, /usr/bin/pipewire started experiencing severe issues on wlroots-based WMs (Tested and confirmed on sway)
It now has a guaranteed crash when launch is attempted from WM config, wheter directly or through a dedicated script. 3-years old setups that had been stable until now, became utterly non-functional inspite of very different hardware configurations
Output is always similar to this (This was also posted on Reddit, but I have found this error to be recurring in my own logs):
[W][12:54:43.206919] mod.x11-bell | [module-x11-bell.: 321 x11_io_error_handler()] X11 I/O error handler called on display :0
[W][12:54:43.207004] mod.x11-bell | [module-x11-bell.: 162 x11_io_error_exit_handler()] X11 display (:0) has encountered a fatal I/O error
[W][12:54:43.207020] mod.x11-bell | [module-x11-bell.: 321 x11_io_error_handler()] X11 I/O error handler called on display :0
[W][12:54:43.207028] mod.x11-bell | [module-x11-bell.: 162 x11_io_error_exit_handler()] X11 display (:0) has encountered a fatal I/O error
Segmentation fault pipewire
This error is also encountered when attempting to launch /usr/bin/pipewire through daemonize, as well as manually lauching /usr/bin/pipewire alongside /usr/bin/wireplumber (As it was done in the past) without resorting to files into $HOME/.config/pipewire/pipewire.conf.d/ to do that for you. This suggests not to be a configuration error per se.
The error itself is somewhat difficult to replicate outside of using a WM's own launch routines. Manually ensuring to have launched /usr/bin/pipewire alongside /usr/bin/wireplumber will NOT trigger the error immediately. Indeed, it has been observed for /usr/bin/pipewire not to crash at all if kept into a sort of "KEEP-ALIVE" status where it's constantly being fed an audio source. Leaving the system idle (No standby, or sleep, just idle) however, will eventually guarantee a sort of automated /usr/bin/pipewire crash with an output similar to the above.
Attempting to keep /usr/bin/pipewire alongside /usr/bin/wireplumber as both being launched by a terminal emulator which is kept minimized in foreground, will still eventually lead to the aforementioned error with no appreciable change in behaviour, suggesting there not to be a daemonization problem.
Several users on Reddit have reported this very same concern:
https://www.reddit.com/r/voidlinux/comments/1xeyqqi/pipewire_randomly_crashing_mid_session_voidlinux/
https://www.reddit.com/r/voidlinux/comments/1xfmqb4/closing_steam_crashes_pipewire_waybar/
https://www.reddit.com/r/voidlinux/comments/1xfsvep/a_pipewire_crash_temporary_solution/
Steps to reproduce
- You need to be using a
wlroots-based WM, and also possibly anXWaylandsession running - Launch
/usr/bin/pipewirealongside/usr/bin/wireplumberwhether manually, through a dedicated script, or through the WM's own launching routines - Use
wpctl statusin a terminal emulator to ensure yourpipewiresession is actually running properly (It may simply skip to step 5 directly, especially if launching from a WM's own launch routine) - Leave the system idle for a while, or otherwise do any task without constantly feeding
/usr/bin/pipewirean audio source - Run
wctl statusagain, and find out that, suddenly,wireplumberreports it cannot anymore connect topipewire - Utilize
pgrepto realize thatpipewireis not anymore among running processess (pipewire-pulsemay still run in a non-functional state, however) - Check your
pipewirelogs for errors
- 主要言語
- Shell
- スター
- 3.5k
- フォーク
- 2.8k
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 302
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
void-linux/void-packages のほかの issue
-
bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
void-linux/void-packages#63325 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
void-linux/void-packages#63249 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
xmlto: sources no longer available from upstream対応中かも @L1TerminalFault が 8 日前に担当しました。 オープンbug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
void-linux/void-packages#63237 ·
メンテナーはふだん 1 日以内に返信
-
AI 🤖 bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
void-linux/void-packages#63041 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
request
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
void-linux/void-packages#63016 ·
メンテナーはふだん 1 日以内に返信
void-linux/void-packages の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
rossoctl/automation#133 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
docker-library/redmine#433 ·
-
`openssh_authorized_keys_url` should be moved out of tool-versions.yml対応中かも @lemeurherve が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jenkins-infra/packer-images#3228 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
richardcase/skills#26 ·
メンテナーはふだん 1 日以内に返信
-
marmite skill: `curl ... | sh` is the first install method, bypassing review and integrity checksオープン
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
rochacbruno/marmite#565 ·