[Bug 269973] multimedia/mpv: Segmentation fault when rewinding forward or backward media on CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Mar 2023 13:34:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269973

--- Comment #9 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Alexander Vereeken from comment #6)
> * thread #1, name = 'mpv/demux', stop reason = signal SIGSEGV
>  * frame #0: 0x00000008258bd2d8 libavformat.so.58`ff_seek_frame_binary(s=0x0000000878424000, stream_index=0, target_ts=0, flags=1) at utils.c:0
>    frame #1: 0x00000008258be35b libavformat.so.58`av_seek_frame [inlined] seek_frame_internal(s=0x0000000878424000, stream_index=0, timestamp=0, flags=1) at utils.c:2481:16
>    frame #2: 0x00000008258be23c libavformat.so.58`av_seek_frame(s=0x0000000878424000, stream_index=<unavailable>, timestamp=<unavailable>, flags=1) at utils.c:2504:11
>    frame #3: 0x0000000000395827 mpv`demux_seek_lavf(demuxer=0x000000087834e650, seek_pts=0, flags=2) at demux_lavf.c:1335:13
>    frame #4: 0x000000000038aa93 mpv`execute_seek(in=0x0000000878366450) at demux.c:2455:9

Does mpv built against newer ffmpeg (bug 261302) also crash?
What port options in ffmpeg did you change (besides DEBUG) ?
Can you reproduce with ffmpeg CLI (without mpv)? For example, "ffmpeg -i
foo.mp4 -ss 5 -f null /dev/null"

(In reply to Daniel Engberg from comment #8)
According to comment 0 the crash is supposed to be easy to reproduce. ASLR is
enabled on -CURRENT since base b014e0f15bc7, so there'd be far more dead
canaries.

-- 
You are receiving this mail because:
You are the assignee for the bug.