nixpkgs-suyu/pkgs/top-level
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
..
agda-packages.nix
aliases.nix Merge pull request #207382 from wegank/mongodb 2022-12-31 23:07:42 +01:00
all-packages.nix jellyfin-media-player: disable pipewireSupport in mpv to fix segfault 2023-01-02 12:32:02 +01:00
beam-packages.nix
config.nix
coq-packages.nix
cubocore-packages.nix
cuda-packages.nix
darwin-packages.nix Link to documentation 2022-12-20 10:03:48 -08:00
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix treewide: fix typos 2022-12-17 19:39:44 -05:00
emscripten-packages.nix
gnuradio-packages.nix treewide: fix typos 2022-12-17 19:39:44 -05:00
haskell-packages.nix haskell.compiler.ghc94: 9.4.2 -> 9.4.4 2022-12-29 13:49:47 +01:00
haxe-packages.nix lib.replaceChars: warn about being a deprecated alias 2022-12-15 22:25:51 +02:00
impure.nix
java-packages.nix Merge pull request #199802 from jerith666/openjdk-19 2022-11-30 08:01:20 -05:00
kodi-packages.nix
linux-kernels.nix linux_testing_bcachefs: 2022-10-31 -> 2022-12-29 2023-01-01 19:58:17 +01:00
lua-packages.nix Revert "luaPackages.lsqlite3complete: init at 0.9.5-1" 2023-01-02 21:03:17 +10:00
make-tarball.nix
metrics.nix
nim-packages.nix nimPackages.getdns: init at 20221222 2022-12-22 16:05:41 -06:00
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.domainslib: init at 0.5.0 2023-01-02 08:48:28 +01:00
octave-packages.nix
packages-config.nix
perl-packages.nix Merge pull request #205373 from anthonyroussel/exiftool 2022-12-16 23:05:56 +01:00
php-packages.nix Merge pull request #208084 from apeschar/phan 2022-12-30 09:45:59 +11:00
python-aliases.nix python3Packges.pyicu: rename from PyICU 2022-12-28 18:09:57 +01:00
python-packages.nix Merge pull request #207947 from s1341/init_django_scim2 2023-01-01 17:21:23 +01:00
python2-packages.nix Merge master into staging-next 2022-12-15 12:01:09 +00:00
qt5-packages.nix libsForQt5.maui-core: init at 0.5.6 2022-12-22 11:26:33 -05:00
qt6-packages.nix
release-alternatives.nix
release-cross.nix pkgs/top-level/release-cross.nix: add Hydra jobs for pkgsCross.platform.nixStatic 2023-01-02 08:53:59 +01:00
release-cuda.nix
release-haskell.nix release-haskell: Pick correct versions for hlint and hls 2022-12-30 17:42:21 +01:00
release-lib.nix
release-python.nix
release-r.nix
release-small.nix
release.nix
ruby-packages.nix rubyPackages.rails-html-sanitizer: 1.4.3 -> 1.4.4 2022-12-22 16:01:40 +01:00
splice.nix
stage.nix
unixtools.nix
wine-packages.nix