> From: Max Nikulin <maniku...@gmail.com>
> Date: Sun, 29 Jun 2025 18:41:15 +0700
>
> On 28/06/2025 17:51, Max Nikulin wrote:
>> The player is killed by SIGPIPE when it tries to write a warning to
>> stderr.
>
> Anush, please, specify
>
> - Linux distribution and version
>       lsb_release -a
> - Desktop environment/window manager
>       echo "$XDG_CURRENT_DESKTOP"
> - mpv version and package type

bash: lsb_release: command not found.  and I couldn’t figure out how
to get lsb_release command on Guix.

Let me know if this helps

cat /etc/os-release

  NAME="Guix System"
  ID=guix
  PRETTY_NAME="Guix System"
  LOGO=guix-icon
  HOME_URL="https://guix.gnu.org";
  DOCUMENTATION_URL="https://guix.gnu.org/en/manual";
  SUPPORT_URL="https://guix.gnu.org/en/help";
  BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix";

echo "$XDG_CURRENT_DESKTOP"

  GNOME

mpv --version

  mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
  libplacebo version: v7.349.0
  FFmpeg version: 6.1.1
  FFmpeg library versions:
     libavcodec      60.31.102
     libavdevice     60.3.100
     libavfilter     9.12.100
     libavformat     60.16.100
     libavutil       58.29.100
     libswresample   4.12.100
     libswscale      7.5.100


> I have found "-D" option of strace that makes debugging of the issue
> more convenient. Without it a process started from Emacs does not
> become a background one. Try
>
> (let* ((movie "~/big_buck_bunny.webm")
>        (movie-cmd
>       (format
>        "strace -D -tt -f -s 128 -o /tmp/xdg-open.strace xdg-open %s"
>        (shell-quote-argument (expand-file-name movie)))))
>   (let ((process-connection-type nil))
>     (start-process-shell-command "strace" nil movie-cmd)))
>
> and inspect /tmp/xdg-open.strace. Pay attention to lines with "execve", e.g.
>
> 37946 18:08:46.246366 execve("/usr/bin/kaffeine", ["/usr/bin/kaffeine", ...

30432 18:02:56.648054 execve("/home/<user>/.guix-home/profile/bin/xdg-open", 
["xdg-open", "/home/<user>/big_buck_bunny.webm"], 0x7ffe399287b0 /* 142 vars 
*/) = 0
30432 18:02:56.675410 
execve("/gnu/store/pnaxm9i89w91731yaqcpyca7w8xm1kzj-xdg-utils-1.1.3/bin/.xdg-open-real",
 ["/home/<user>/.guix-home/profile/bin/xdg-open", 
"/home/<user>/big_buck_bunny.webm"], 0x26391d80 /* 141 vars */) = 0
30437 18:02:56.706881 execve("/run/current-system/profile/bin/which", ["which", 
"gnome-default-applications-properties"], 0x6f98fb0 /* 142 vars */) = 0
30438 18:02:56.722097 execve("/home/<user>/.guix-home/profile/bin/gio", ["gio", 
"help", "open"], 0x6f98fb0 /* 142 vars */) = 0
30439 18:02:56.757174 execve("/home/<user>/.guix-home/profile/bin/gio", ["gio", 
"open", "/home/<user>/big_buck_bunny.webm"], 0x6f98fb0 /* 142 vars */) = 0
30448 18:02:56.887949 
execve("/gnu/store/f60m9adgjdm4k28583cry5k9ii35bs43-glib-2.82.1/libexec/gio-launch-desktop",
 
["/gnu/store/f60m9adgjdm4k28583cry5k9ii35bs43-glib-2.82.1/libexec/gio-launch-desktop",
 "/gnu/store/rhmf0k4ll5bssisdnnvbpbw6md53dcny-mpv-0.40.0/bin/mpv", 
"--player-operation-mode=pseudo-gui", "--", 
"/home/<user>/big_buck_bunny.webm"], 0xceff230 /* 143 vars */ <unfinished ...>
30448 18:02:56.888844 <... execve resumed>) = 0
30448 18:02:56.894859 
execve("/gnu/store/rhmf0k4ll5bssisdnnvbpbw6md53dcny-mpv-0.40.0/bin/mpv", 
["/gnu/store/rhmf0k4ll5bssisdnnvbpbw6md53dcny-mpv-0.40.0/bin/mpv", 
"--player-operation-mode=pseudo-gui", "--", 
"/home/<user>/big_buck_bunny.webm"], 0xf0562a0 /* 144 vars */) = 0

> and lines at the end of the file like
>
> 37946 18:08:46.548691 write(2, "29-06-25 18:08:46.548 [Warning ] ",
> 33) = -1 EPIPE (Broken pipe)
> 37946 18:08:46.548714 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER,
> si_pid=37946, si_uid=1000} ---
> 37956 18:08:46.548739 <... poll resumed> <unfinished ...>) = ?
> 37952 18:08:46.548751 <... futex resumed>) = ?
> 37956 18:08:46.548786 +++ killed by SIGPIPE +++
> 37952 18:08:46.548801 +++ killed by SIGPIPE +++
> 37954 18:08:46.548998 <... futex resumed>) = ?
> 37953 18:08:46.549005 <... futex resumed>) = ?
> 37951 18:08:46.549008 <... futex resumed>) = ?
> 37950 18:08:46.549012 <... poll resumed> <unfinished ...>) = ?
> 37954 18:08:46.549026 +++ killed by SIGPIPE +++
> 37953 18:08:46.549030 +++ killed by SIGPIPE +++
> 37951 18:08:46.549033 +++ killed by SIGPIPE +++
> 37950 18:08:46.555547 +++ killed by SIGPIPE +++
> 37946 18:08:46.555594 +++ killed by SIGPIPE +++

30461 18:02:57.315361 write(2, "MESA-INTEL: warning: 
../mesa-25.1.3/src/intel/vulkan/anv_formats.c:905: FINISHME: support more 
multi-planar formats with DRM mod"..., 135) = -1 EPIPE (Broken pipe)
30461 18:02:57.315406 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, 
si_pid=30448, si_uid=1000} ---
30464 18:02:57.315467 <... futex resumed>) = ?
30460 18:02:57.315486 <... futex resumed>) = ?
30459 18:02:57.315495 <... futex resumed>) = ?
30453 18:02:57.315501 <... futex resumed>) = ?
30452 18:02:57.315509 <... futex resumed>) = ?
30451 18:02:57.315517 <... futex resumed>) = ?
30448 18:02:57.315525 <... futex resumed>) = ?
30464 18:02:57.315586 +++ killed by SIGPIPE +++
30463 18:02:57.315594 <... futex resumed>) = ?
30462 18:02:57.315600 <... futex resumed>) = ?
30461 18:02:57.315606 +++ killed by SIGPIPE +++
30460 18:02:57.315611 +++ killed by SIGPIPE +++
30459 18:02:57.315615 +++ killed by SIGPIPE +++
30457 18:02:57.315620 <... futex resumed>) = ?
30456 18:02:57.315626 <... futex resumed>) = ?
30455 18:02:57.315632 <... futex resumed>) = ?
30453 18:02:57.315637 +++ killed by SIGPIPE +++
30452 18:02:57.315642 +++ killed by SIGPIPE +++
30451 18:02:57.315646 +++ killed by SIGPIPE +++
30450 18:02:57.315660 <... futex resumed>) = ?
30463 18:02:57.315731 +++ killed by SIGPIPE +++
30462 18:02:57.315737 +++ killed by SIGPIPE +++
30456 18:02:57.315744 +++ killed by SIGPIPE +++
30457 18:02:57.315810 +++ killed by SIGPIPE +++
30450 18:02:57.315816 +++ killed by SIGPIPE +++
30455 18:02:57.325502 +++ killed by SIGPIPE +++
30448 18:02:57.325512 +++ killed by SIGPIPE +++

> Does player die due to SIGPIPE in your case?

Yes, I believe so basing on the logs.

--
Regards,
Anush

Reply via email to