Opened 4 years ago

Closed 4 years ago

#1369 closed defect (fixed)

h264 crash

Reported by: ami_stuff Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.mplayerhq.hu/DV-raw/small_test2.dv

(gdb) r -vcodec h264 -i small_test2.dv -an -f null -
Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -vcodec h26
4 -i small_test2.dv -an -f null -
[New Thread 3932.0xf68]
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 27 2012 11:57:57 with gcc 4.6.1
  configuration: --disable-ffprobe --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 192 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 2 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal bit depth value (8, 19)
[h264 @ 041281e0] illegal log2_max_frame_num 38
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal log2_max_frame_num 26
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 13 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] chroma_format_idc 27 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] chroma_format_idc 4 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (1) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 0 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] reference picture missing during reorder
[h264 @ 041281e0] reference count overflow
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal bit depth value (7, 545)
[h264 @ 041281e0] illegal bit depth value (7, 15)
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 5
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 4 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] This stream was generated by a broken encoder, invalid 8x8 inf
erence
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] chroma_format_idc 32 is illegal
    Last message repeated 1 times
[h264 @ 041281e0] chroma_format_idc 23 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] non-existing PPS 15 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 12 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 7
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] chroma_format_idc 32 is illegal
    Last message repeated 1 times
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (1) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal bit depth value (74, 36)
[h264 @ 041281e0] illegal log2_max_frame_num 22
[h264 @ 041281e0] illegal log2_max_frame_num 17
    Last message repeated 1 times
[h264 @ 041281e0] chroma_format_idc 5 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] [IMGUTILS @ 0022f434] Picture size 176x0 is invalid
[h264 @ 041281e0] mb_width/height overflow
[h264 @ 041281e0] [IMGUTILS @ 0022f434] Picture size 0x1392 is invalid
[h264 @ 041281e0] mb_width/height overflow
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] chroma_format_idc 22 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 2 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 4 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] This stream was generated by a broken encoder, invalid 8x8 inf
erence
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal log2_max_frame_num 1595
[h264 @ 041281e0] illegal log2_max_frame_num 3
[h264 @ 041281e0] non-existing PPS 2 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 21 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] This stream was generated by a broken encoder, invalid 8x8 inf
erence
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal log2_max_frame_num 131
[h264 @ 041281e0] illegal log2_max_frame_num 3
[h264 @ 041281e0] illegal log2_max_frame_num 131
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal POC type 5
    Last message repeated 1 times
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] non-existing PPS 14 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 36 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 27 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] too many reference frames
    Last message repeated 1 times
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 041281e0] slice type too large (3) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 5 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 192 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] This stream was generated by a broken encoder, invalid 8x8 inf
erence
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 5 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 3
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 4 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 6
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] chroma_format_idc 6 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] pps_id 987 out of range
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] slice type too large (1) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal log2_max_frame_num 35
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 4
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 4 times
[h264 @ 041281e0] no frame!
[h264 @ 041281e0] non-existing PPS 2 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal log2_max_frame_num 27
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 32
    Last message repeated 1 times
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal bit depth value (120, 10)
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal bit depth value (120, 8)
[h264 @ 041281e0] illegal bit depth value (7, 15)
[h264 @ 041281e0] non-existing PPS 2 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal POC type 32
    Last message repeated 1 times
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] first_mb_in_slice overflow
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id out of range
    Last message repeated 1 times
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 041281e0] slice type too large (2) at 0 0
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] chroma_format_idc 5 is illegal
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] sps_id out of range
[h264 @ 041281e0] concealing 18 DC, 18 AC, 18 MV errors
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] illegal log2_max_frame_num 27
    Last message repeated 1 times
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 1 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] get_buffer() failed (stride changed)
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] non-existing PPS 13 referenced
[h264 @ 041281e0] decode_slice_header error
[h264 @ 041281e0] chroma_format_idc 32 is illegal
    Last message repeated 1 times
[h264 @ 041281e0] Overread VUI by 8 bits
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] illegal log2_max_frame_num 18
[h264 @ 041281e0] illegal log2_max_frame_num 3
[h264 @ 041281e0] illegal aspect ratio
[h264 @ 041281e0] sps_id (32) out of range
[h264 @ 041281e0] concealing 18 DC, 18 AC, 18 MV errors

Program received signal SIGSEGV, Segmentation fault.
0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0  0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c96fb98 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c94b244 in ntdll!LdrFindEntryForAddress ()
   from C:\WINDOWS\system32\ntdll.dll
#3  0x03bc0000 in ?? ()
#4  0x7c919c0c in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
#5  0x77c1c3c9 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#6  0x03bc0000 in ?? ()
#7  0x77c1c3e7 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#8  0x00001430 in ?? ()
#9  0x0022f858 in ?? ()
#10 0x77c1c42e in msvcrt!malloc () from C:\WINDOWS\system32\msvcrt.dll
#11 0x00af13a3 in av_malloc (size=5136) at libavutil/mem.c:87
#12 0x0054823a in av_dup_packet (pkt=0x3bd4e80) at libavcodec/avpacket.c:143
#13 0x00477446 in avformat_find_stream_info (ic=0x3bc2340, options=0x3bd1580)
    at libavformat/utils.c:2568
#14 0x0040ab87 in opt_input_file (o=0x22fdc8, opt=0x3bd0ea9 "i",
    filename=<optimized out>) at ffmpeg.c:4327
#15 0x00413a7f in parse_option (optctx=0x22fdc8, opt=<optimized out>,
    arg=0x3bd0eab "small_test2.dv", options=0xb76bc0) at cmdutils.c:305
#16 0x00413ce2 in parse_options (optctx=0x22fdc8, argc=9,
    argv=<optimized out>, options=0xb76bc0,
    parse_arg_function=0x410748 <opt_output_file>) at cmdutils.c:338
#17 0x00b14e95 in main (argc=9, argv=0x3bd0df0) at ffmpeg.c:5906
(gdb)

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords h264 added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:2 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.