[FFmpeg-trac] #8541(avcodec:new): ffmpeg crashes with a segfault when the VideoToolbox hardware acceleration is used to decode a video

FFmpeg trac at avcodec.org
Thu Feb 27 11:30:34 EET 2020


#8541: ffmpeg crashes with a segfault when the VideoToolbox hardware acceleration
is used to decode a video
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  viktoriia.eteam                    |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  4.2
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 '''ffmpeg version'''

 {{{
 ffmpeg version 4.2.2-tessus  https://evermeet.cx/ffmpeg/  Copyright (c)
 2000-2019 the FFmpeg developers
   built with Apple clang version 11.0.0 (clang-1100.0.33.16)
   configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
 version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
 --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d
 --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-
 libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
 libopus --enable-librubberband --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
 libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-
 flags=--static --disable-ffplay
   libavutil      56. 31.100 / 56. 31.100
   libavcodec     58. 54.100 / 58. 54.100
   libavformat    58. 29.100 / 58. 29.100
   libavdevice    58.  8.100 / 58.  8.100
   libavfilter     7. 57.100 /  7. 57.100
   libswscale      5.  5.100 /  5.  5.100
   libswresample   3.  5.100 /  3.  5.100
   libpostproc    55.  5.100 / 55.  5.100
 }}}

 '''macOS version:''' 10.15.3

 '''Command'''

 {{{
 ffmpeg -benchmark -hwaccel videotoolbox -i
 /Volumes/MacHDD/Video/01c56b0dc1.ts -f null -
 }}}

 '''Console output'''

 https://0x0.st/ibKl.log

 '''Note'''

 The crash occurs not on all machines.
 ffmpeg crashes on:
 - Macmini6,2 with Intel HD Graphics 4000 1536 MB;
 - MacBookPro14,3 with Radeon Pro 560.

 ffmpeg does not crash on:
 - Macmini8,1 with Intel UHD Graphics 630 1536 MB.

 '''Sample file'''
 https://0x0.st/iqIq.ts
 http://samples.mplayerhq.hu/ts/01c56b0dc1.ts

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8541>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list