[FFmpeg-trac] #5554(avformat:open): FFmpeg segfaults when trying to decode an DNxHD 145 MXF file (was: FFmpeg segfaults when trying to encode an DNxHD 145 MXF file)

FFmpeg trac at avcodec.org
Fri May 13 18:24:51 CEST 2016


#5554: FFmpeg segfaults when trying to decode an DNxHD 145 MXF file
-------------------------------------+-------------------------------------
             Reporter:  steved       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mxf crash    |               Blocked By:
  SIGSEGV regression                 |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => avformat
 * priority:  normal => important
 * version:  unspecified => git-master
 * keywords:   => mxf crash SIGSEGV regression


Comment:

 Regression since e5d217f0
 {{{
 (gdb) r -i BYS_Episode053.mov.572CB82C_cut.mxf
 Starting program: ffmpeg_g -i BYS_Episode053.mov.572CB82C_cut.mxf
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 ffmpeg version N-79976-gcb928fc Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libfreetype --enable-fontconfig
   libavutil      55. 24.100 / 55. 24.100
   libavcodec     57. 41.102 / 57. 41.102
   libavformat    57. 36.100 / 57. 36.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 45.100 /  6. 45.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100

 Program received signal SIGSEGV, Segmentation fault.
 0x00007ffff500c0e5 in __memcmp_sse4_1 () from /lib64/libc.so.6
 (gdb) bt
 #0  0x00007ffff500c0e5 in __memcmp_sse4_1 () from /lib64/libc.so.6
 #1  0x000000000066b7d0 in mxf_resolve_strong_ref (type=AnyType,
 strong_ref=0x50,
     mxf=<optimized out>) at libavformat/mxfdec.c:1115
 #2  mxf_parse_structural_metadata (mxf=0x1e6bde0) at
 libavformat/mxfdec.c:1942
 #3  mxf_read_header (s=0x1e6b280) at libavformat/mxfdec.c:2813
 #4  0x00000000006e0a8d in avformat_open_input (ps=ps at entry=0x7fffffffd5f8,
     filename=filename at entry=0x7fffffffe1c7
 "BYS_Episode053.mov.572CB82C_cut.mxf",
     fmt=fmt at entry=0x0, options=0x1e6b168) at libavformat/utils.c:555
 #5  0x000000000048eb82 in open_input_file (o=o at entry=0x7fffffffd6b0,
 filename=<optimized out>)
     at ffmpeg_opt.c:979
 #6  0x0000000000487283 in open_files (inout=inout at entry=0x116a566 "input",
     open_file=open_file at entry=0x48d1a0 <open_input_file>, l=<optimized
 out>, l=<optimized out>)
     at ffmpeg_opt.c:3033
 #7  0x000000000048f141 in ffmpeg_parse_options (argc=argc at entry=3,
     argv=argv at entry=0x7fffffffdd28) at ffmpeg_opt.c:3070
 #8  0x000000000047f8e3 in main (argc=3, argv=0x7fffffffdd28) at
 ffmpeg.c:4327
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5554#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list