Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2022 16:26:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267200] multimedia/ffmpeg: Segmentation fault in ff_seek_frame_binary()
Message-ID:  <bug-267200-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267200

            Bug ID: 267200
           Summary: multimedia/ffmpeg: Segmentation fault in
                    ff_seek_frame_binary()
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: iron.udjin@gmail.com
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

OS: 13-STABLE n252783

multimedia/ffmpeg:
Options        :
        ALSA           : on
        AMR_NB         : off
        AMR_WB         : off
        AOM            : off
        ARIBB24        : off
        ASM            : on
        ASS            : on
        BS2B           : off
        CACA           : off
        CDIO           : off
        CODEC2         : off
        DAV1D          : on
        DC1394         : off
        DEBUG          : on
        DOCS           : off
        DRM            : off
        FDK_AAC        : off
        FLITE          : off
        FONTCONFIG     : off
        FREETYPE       : on
        FREI0R         : on
        FRIBIDI        : off
        GCRYPT         : off
        GLSLANG        : on
        GME            : off
        GMP            : on
        GNUTLS         : on
        GPL3           : on
        GSM            : off
        ICONV          : on
        ILBC           : off
        JACK           : off
        KVAZAAR        : off
        LADSPA         : on
        LAME           : on
        LENSFUN        : off
        LIBBLURAY      : off
        LIBRSVG2       : off
        LIBRTMP        : off
        LIBXML2        : off
        LTO            : off
        LV2            : off
        MBEDTLS        : off
        MFX            : off
        MODPLUG        : off
        MYSOFA         : off
        NONFREE        : on
        OPENAL         : on
        OPENCL         : on
        OPENGL         : on
        OPENH264       : off
        OPENJPEG       : on
        OPENMPT        : on
        OPENSSL        : off
        OPTIMIZED_CFLAGS: on
        OPUS           : off
        POCKETSPHINX   : off
        PULSEAUDIO     : on
        RABBITMQ       : off
        RAV1E          : off
        RIST           : off
        RTCPU          : on
        RUBBERBAND     : off
        SDL            : off
        SMB            : off
        SNAPPY         : off
        SNDIO          : off
        SOXR           : off
        SPEEX          : on
        SRT            : off
        SSH            : off
        SVTAV1         : off
        SVTHEVC        : off
        SVTVP9         : off
        TESSERACT      : off
        THEORA         : on
        TWOLAME        : off
        V4L            : on
        VAAPI          : on
        VAPOURSYNTH    : off
        VDPAU          : on
        VIDSTAB        : off
        VMAF           : off
        VORBIS         : on
        VO_AMRWBENC    : on
        VPX            : on
        VULKAN         : on
        WEBP           : off
        X264           : on
        X265           : on
        XCB            : off
        XVID           : on
        XVIDEO         : off
        ZIMG           : off
        ZMQ            : off
        ZVBI           : off

When I'm try to play video in BDAV container use multimedia/mpv and seek +5
sec, I'm getting Segmentation fault:

 (+) Video --vid=3D1 (h264 1920x1080 23.976fps)
 (+) Audio --aid=3D1 --alang=3Drus (ac3 6ch 48000Hz)
     Audio --aid=3D2 --alang=3Drus (ac3 6ch 48000Hz)
     Audio --aid=3D3 --alang=3Deng (dts 6ch 48000Hz)
     Audio --aid=3D4 --alang=3Deng (ac3 2ch 48000Hz)
     Subs  --sid=3D1 --slang=3Drus (hdmv_pgs_subtitle)
     Subs  --sid=3D2 --slang=3Dukr (hdmv_pgs_subtitle)
     Subs  --sid=3D3 --slang=3Deng (hdmv_pgs_subtitle)
     Subs  --sid=3D4 --slang=3Deng (hdmv_pgs_subtitle)
     Subs  --sid=3D5 --slang=3Drus (hdmv_pgs_subtitle)
     Subs  --sid=3D6 --slang=3Dukr (hdmv_pgs_subtitle)
     Subs  --sid=3D7 --slang=3Deng (hdmv_pgs_subtitle)
[New LWP 127957 of process 58190]
Using hardware decoding (vdpau-copy).
[New LWP 127958 of process 58190]
[LWP 127958 of process 58190 exited]
[New LWP 127959 of process 58190]
AO: [oss] 48000Hz stereo 2ch spdif-ac3
VO: [gpu] 1920x1080 nv12
AV: 00:01:00 / 01:31:47 (1%) A-V: -0.046
Thread 15 "mpv/demux" received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
[Switching to LWP 127955 of process 58190]
0x0000000801fcaa03 in ff_seek_frame_binary (s=3Ds@entry=3D0x834260000,
stream_index=3D<optimized out>, stream_index@entry=3D0,
target_ts=3Dtarget_ts@entry=3D64865460, flags=3Dflags@entry=3D0) at
libavformat/utils.c:2175
2175           if (e->timestamp <=3D target_ts || e->pos =3D=3D e->min_dist=
ance) {
(gdb) bt
#0  0x0000000801fcaa03 in ff_seek_frame_binary (s=3Ds@entry=3D0x834260000,
stream_index=3D<optimized out>, stream_index@entry=3D0,
target_ts=3Dtarget_ts@entry=3D64865460, flags=3Dflags@entry=3D0) at
libavformat/utils.c:2175
#1  0x0000000801fcba9b in seek_frame_internal (s=3D0x834260000, stream_inde=
x=3D0,
timestamp=3D64865460, flags=3D0) at libavformat/utils.c:2481
#2  av_seek_frame (s=3D0x834260000, stream_index=3D<optimized out>,
timestamp=3D<optimized out>, flags=3D0) at libavformat/utils.c:2504
#3  0x000000000031a380 in ?? ()
#4  0x000000000031315c in ?? ()
#5  0x000000000030c9fd in ?? ()
#6  0x000000000030bc7e in ?? ()
#7  0x0000000802c219b8 in ?? () from /lib/libthr.so.3
#8  0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffde5f1000

The problem only with BDAV container. Video in other containers plays fine.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267200-7788>