[MacPorts] #73954: mpv seg faults on EXC_BAD_ACCESS

MacPorts noreply at macports.org
Sat May 2 13:40:39 UTC 2026


#73954: mpv seg faults on EXC_BAD_ACCESS
-------------------------+--------------------
 Reporter:  rodmur       |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.12.5
 Keywords:  tahoe arm64  |       Port:  mpv
-------------------------+--------------------
 This may actually be a bug in ffmpeg8, but I'm not certain, this problem
 only started happening after ffmpeg8 was upgraded.

 {{{
 $ mpv --playlist=wnycfm.pls
 Playing: https://fm939.wnyc.org/wnycfm
 [1]    47150 segmentation fault  mpv --playlist=wnycfm.pls
 }}}

 If I run lldb on this I see:
 {{{
 $ lldb -- mpv --playlist=wnycfm.pls
 (lldb) target create "mpv"
 Current executable set to '/opt/local/bin/mpv' (arm64).
 (lldb) settings set -- target.run-args  "--playlist=wnycfm.pls"
 (lldb) run
 Process 47117 launched: '/opt/local/bin/mpv' (arm64)
 2026-05-02 09:19:19.653330-0400 mpv[47117:505123] [mpv] AppHub initialised
 2026-05-02 09:19:19.655290-0400 mpv[47117:505282] [mpv] Initialising Input
 2026-05-02 09:19:19.672320-0400 mpv[47117:505282] [mpv] Starting
 RemoteCommandCenter
 Playing: https://fm939.wnyc.org/wnycfm
 Process 47117 stopped
 * thread #23, name = 'opener', stop reason = EXC_BAD_ACCESS (code=1,
 address=0x0)
     frame #0: 0x0000000000000000
 error: memory read failed for 0x0
 Target 0: (mpv) stopped.
 (lldb) bt
 * thread #23, name = 'opener', stop reason = EXC_BAD_ACCESS (code=1,
 address=0x0)
   * frame #0: 0x0000000000000000
     frame #1: 0x0000000100072bcc mpv`demux_open_lavf + 2592
     frame #2: 0x000000010006e2dc mpv`open_given_type + 1064
     frame #3: 0x0000000100069a78 mpv`demux_open_url + 492
     frame #4: 0x00000001000c5594 mpv`open_demux_thread + 148
     frame #5: 0x00000001814dfc58 libsystem_pthread.dylib`_pthread_start +
 136
 }}}

 I've used that playlist a long time, it pretty simple, it just the stream
 for WNYC FM, as the title suggests. I can play it with VLC and ffplay8, so
 that proves ffmpeg8 is "working", but there may be some incompatibility
 between mpv and ffmpeg8 now.  Any suggestions on how I might debug this
 further?

-- 
Ticket URL: <https://trac.macports.org/ticket/73954>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list