#[SOLVED] MPV crashes with SIGSERV when playing specific mp3 files - troubleshooting guidance needed

25 messages · Page 1 of 1 (latest)

clever cedar
#

The issue doesn't happen with all files. Only a subset. If I play the same files with mplayer, they play fine. Making a post here to see if anyone can help me troubleshoot before I go on to make a github issue or something. I can't really see any obvious errors in the log, so I am pretty confused.

> mpv foo.mp3 
● Audio  --aid=1  (mp3 1ch 44100 Hz 67 kbps)
AO: [pipewire] 44100Hz mono 1ch floatp
fish: Job 1, 'mpv foo.mp3' terminated by signal SIGSEGV (Address boundary error)

Modded permissions to 777 to try to avoid that contingency.

#
~> systemctl status --user pipewire-pulse.service
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Wed 2025-03-12 17:33:50 UTC; 1h 14min ago
 Invocation: e5ef1a94ccb7416c95261471ee061f46
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 3471 (pipewire-pulse)
      Tasks: 3 (limit: 76855)
     Memory: 14.4M (peak: 19.7M)
        CPU: 6.494s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─3471 /usr/bin/pipewire-pulse

Mar 12 17:33:50 hearth systemd[3456]: Started PipeWire PulseAudio.
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire-pulse[3471]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
#
> systemctl status --user pipewire.service
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Wed 2025-03-12 17:33:50 UTC; 1h 14min ago
 Invocation: 769d339d516a42e8a8b53e1002397aab
TriggeredBy: ● pipewire.socket
   Main PID: 3467 (pipewire)
      Tasks: 3 (limit: 76855)
     Memory: 9.4M (peak: 11.3M)
        CPU: 4.478s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─3467 /usr/bin/pipewire

Mar 12 17:33:50 hearth systemd[3456]: Started PipeWire Multimedia Service.
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Mar 12 17:33:50 hearth pipewire[3467]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
#

from journal:

Mar 12 18:51:18 hearth sudo[110353]: pam_unix(sudo:session): session closed for user root
Mar 12 18:51:22 hearth kernel: data-loop.0[110452]: segfault at 0 ip 00007fdcbd4ed2cd sp 00007fdc755f34c8 error 4 in libc.so.6[16c2cd,7fdcbd3a5000+171000] likely on CPU 20 (core 10, socket 0)
Mar 12 18:51:22 hearth kernel: Code: 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 48 89 f8 48 83 fa 20 72 23 <c5> fe 6f 06 48 83 fa 40 0f 87 a5 00 00 00 c5>
Mar 12 18:51:22 hearth systemd-coredump[110453]: Process 110435 (mpv) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Mar 12 18:51:22 hearth systemd[1]: Started Process Core Dump (PID 110453/UID 0).
Mar 12 18:51:23 hearth (sd-parse-elf)[110457]: Could not parse core file, dwfl_core_file_report() failed: (null)
Mar 12 18:51:23 hearth (sd-parse-elf)[110457]: Failed to inspect core file: Invalid argument
Mar 12 18:51:23 hearth systemd-coredump[110454]: [🡕] Process 110435 (mpv) of user 1000 dumped core.
Mar 12 18:51:23 hearth systemd[1]: systemd-coredump@15-110453-0.service: Deactivated successfully.
Mar 12 18:51:23 hearth systemd[1]: systemd-coredump@15-110453-0.service: Consumed 498ms CPU time, 241.1M memory peak.
worthy nymph
#

@clever cedar does that mp3 work on vlc?

clever cedar
worthy nymph
#

@clever cedar does it work in mpv-git?

clever cedar
worthy nymph
#

@clever cedar stock mpv or a frontend?

clever cedar
worthy nymph
#

@clever cedar can you link the "mp3"

clever cedar
#

the mpv package hasn't been updated since 2024-11-30, so I guess the trouble is figuring out exactly which dependency is causing the issue...

worthy nymph
#

worked for me fsdeshrug

clever cedar
#

hmm. I guess there's two broad possibilities:

  1. it's a pipewire/pipewire-pulse/alsamixer/etc. configuration issue of some kind.
  2. need to figure out how to get backtraces if it's an issue with a dependency mpv is calling.
worthy nymph
worthy nymph
desert sedge
#

it's a pipewire bug and it was already fixed, gonna wait for update now... (https://github.com/mpv-player/mpv/issues/16028)
for now as a workaround run mpv with different audio output backend (e.g. --ao=alsa for ALSA)

GitHub

mpv Information mpv 0.39.0+git20241217.32d103c58072 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects libplacebo version: v7.349.0 FFmpeg version: 7.1 FFmpeg library versions: libavcodec 61.19.10...

worthy nymph
#

@clever cedar

clever cedar
#

ah thank you

#

I just stumbled upon this git issue myself and came back to write here

#

I will mark the thread as solved