nixpkgs/pkgs
Bjørn Forsman 365fa435c9 jellyfin-media-player: disable pipewireSupport in mpv to fix segfault
Without this change it segfaults when trying to play any media:

  $ jellyfinmediaplayer
  Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
  libpng warning: iCCP: known incorrect sRGB profile
  Logging to /home/bf/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
  Cannot load libcuda.so.1
  Segmentation fault (core dumped)

The backtrace shows pipewire being at fault:

  $ coredumpctl debug
  [...]
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007f711428c9bb in core_event_demarshal_remove_id () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
  [Current thread is 1 (Thread 0x7f6ffdc87640 (LWP 1360949))]
  (gdb) bt
  #0  0x00007f711428c9bb in core_event_demarshal_remove_id () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
  #1  0x00007f711428886c in process_remote () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
  #2  0x00007f7114288e68 in on_remote_data () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so
  #3  0x00007f7114310efe in loop_iterate () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/spa-0.2/support/libspa-support.so
  #4  0x00007f71266fe7f2 in do_loop () from /nix/store/nhffrd7f15dhfbkwzgayq7hhzmdvdy19-pipewire-0.3.63-lib/lib/libpipewire-0.3.so.0
  #5  0x00007f7128b08e86 in start_thread () from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
  #6  0x00007f7128b8fce0 in clone3 () from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
  (gdb)

Standalone mpv doesn't segfault (when directly playing the underlying
media files). I don't know why.

Fixes: b97cda7d44 ("mpv-unwrapped: 0.34.1 -> 0.35.0")

Fixes https://github.com/NixOS/nixpkgs/issues/205141

Ref https://github.com/jellyfin/jellyfin-media-player/issues/341
2023-01-02 12:32:02 +01:00
..
applications Merge pull request #208290 from Ma27/bump-gitea 2023-01-02 12:01:05 +01:00
build-support Merge pull request #208358 from Artturin/makepkgconfigitemfixcross 2022-12-30 15:19:01 +02:00
common-updater
data Merge pull request #208520 from sei40kr/etc-whitesur-icon-theme 2023-01-02 18:22:46 +08:00
desktops Merge pull request #207715 from jtojnar/gnome-debug 2023-01-02 06:40:46 +01:00
development tinygltf: 2.6.3 -> 2.7.0 2023-01-02 19:11:32 +08:00
games nanosaur,nanosaur2,otto-matic: cleanup cmake build 2023-01-02 09:04:39 +11:00
misc wiki-tui: add changelog to meta 2023-01-01 18:34:59 +01:00
os-specific linux_testing_bcachefs: 2022-10-31 -> 2022-12-29 2023-01-01 19:58:17 +01:00
pkgs-lib
servers Merge pull request #208661 from rhoriguchi/prowlarr 2023-01-02 01:24:28 +01:00
shells Merge pull request #207224 from ncfavier/nix-bash-completions 2023-01-01 10:43:13 +01:00
stdenv stdenv/check-meta: do deep type checks 2023-01-01 14:10:42 +01:00
test
tools Merge pull request #206284 from alerque/sile-0.14.6 2023-01-02 12:41:45 +02:00
top-level jellyfin-media-player: disable pipewireSupport in mpv to fix segfault 2023-01-02 12:32:02 +01:00