[FFmpeg-trac] #4509(undetermined:new): hq_hqa: crash withfuzzed file 2

FFmpeg trac at avcodec.org
Fri Apr 24 23:52:10 CEST 2015


#4509: hq_hqa: crash withfuzzed file 2
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://www.datafilehost.com/d/9006495a

 {{{
 knoppix at Microknoppix:/media/sdb1$ valgrind --leak-check=full
 ffmpeg/ffmpeg_g -i fuzz8.avi -f null -
 ==12406== Memcheck, a memory error detector
 ==12406== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==12406== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
 info
 ==12406== Command: ffmpeg/ffmpeg_g -i fuzz8.avi -f null -
 ==12406==
 ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.7 (Debian 4.7.2-4)
   configuration: --disable-ffserver --disable-ffprobe --disable-ffplay
 --enable-gpl
   libavutil      54. 23.101 / 54. 23.101
   libavcodec     56. 35.101 / 56. 35.101
   libavformat    56. 31.100 / 56. 31.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 14.100 /  5. 14.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [hq_hqa @ 0x4c3f040] Invalid slice size 94640.
 Input #0, avi, from 'fuzz8.avi':
   Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: hq_hqa (CUVC / 0x43565543), yuv422p, 720x480 [SAR
 9:10 DAR 27:20], 2097157.00 fps, 2097157.00 tbr, 2097157.00 tbn,
 2097157.00 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf56.31.100
     Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x480
 [SAR 9:10 DAR 27:20], q=2-31, 200 kb/s, 2097157.00 fps, 2097157.00 tbn,
 2097157.00 tbc
     Metadata:
       encoder         : Lavc56.35.101 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (hq_hqa (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 [hq_hqa @ 0x4f3c960] Invalid slice size 94640.
 [null @ 0x4f3d680] Encoder did not produce proper pts, making some up.
 [hq_hqa @ 0x4f3c960] Invalid slice size 99508.
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 103 at slice 0.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 24 at slice 6.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 124810.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.00:00:00.00 bitrate=N/A
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 174 at slice 1.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 99076.
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 36 at slice 5.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 85 at slice 1.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 112 at slice 3.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 82 at slice 4.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 81 at slice 5.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 85 at slice 1.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 129710.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.00:00:00.00 bitrate=N/A
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid INFO size (4194328).
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 127490.
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 128 at slice 6.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 129174.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 74 at slice 7.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 130216.0.00 bitrate=N/A
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 82 at slice 2.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 128446.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 148 at slice 3.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 53 at slice 3.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 127152.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 110 at slice 3.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 127314.
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 51 at slice 2.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 167 at slice 5.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 126410.
 [hq_hqa @ 0x4f3c960] HQ Profile 33 is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means
 that your file has a feature which has not been implemented.
 [hq_hqa @ 0x4f3c960] If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 Input stream #0:0 frame changed from size:720x480 fmt:yuv422p to
 size:160x120 fmt:yuv422p
 [hq_hqa @ 0x4f3c960] Invalid INFO size (2097176).
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 27 at slice 0./A
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 106 at slice 1.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 Input stream #0:0 frame changed from size:160x120 fmt:yuv422p to
 size:720x480 fmt:yuv422p
 [hq_hqa @ 0x4f3c960] Invalid slice size 116318.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 66 at slice 0.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Invalid slice size 105474.
 [hq_hqa @ 0x4f3c960] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 15 at slice 3.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x4f3c960] Error decoding macroblock 121 at slice 4.
 [hq_hqa @ 0x4f3c960] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 ==12406== Invalid read of size 1
 ==12406==    at 0x85A483E: hq_hqa_decode_frame (hq_hqa.c:164)
 ==12406==    by 0x87A47DD: avcodec_decode_video2 (utils.c:2379)
 ==12406==    by 0x80D66CB: decode_video (ffmpeg.c:1981)
 ==12406==    by 0x8B55C3F: ??? (in /media/sdb1/ffmpeg/ffmpeg_g)
 ==12406==  Address 0x15 is not stack'd, malloc'd or (recently) free'd
 ==12406==
 ==12406==
 ==12406== Process terminating with default action of signal 11 (SIGSEGV)
 ==12406==  Access not within mapped region at address 0x15
 ==12406==    at 0x85A483E: hq_hqa_decode_frame (hq_hqa.c:164)
 ==12406==    by 0x87A47DD: avcodec_decode_video2 (utils.c:2379)
 ==12406==    by 0x80D66CB: decode_video (ffmpeg.c:1981)
 ==12406==    by 0x8B55C3F: ??? (in /media/sdb1/ffmpeg/ffmpeg_g)
 ==12406==  If you believe this happened as a result of a stack
 ==12406==  overflow in your program's main thread (unlikely but
 ==12406==  possible), you can try to increase the size of the
 ==12406==  main thread stack using the --main-stacksize= flag.
 ==12406==  The main thread stack size used in this run was 8388608.
 ==12406==
 ==12406== HEAP SUMMARY:
 ==12406==     in use at exit: 1,646,450 bytes in 160 blocks
 ==12406==   total heap usage: 4,668 allocs, 4,508 frees, 15,019,235 bytes
 allocated
 ==12406==
 ==12406== LEAK SUMMARY:
 ==12406==    definitely lost: 0 bytes in 0 blocks
 ==12406==    indirectly lost: 0 bytes in 0 blocks
 ==12406==      possibly lost: 0 bytes in 0 blocks
 ==12406==    still reachable: 1,646,450 bytes in 160 blocks
 ==12406==         suppressed: 0 bytes in 0 blocks
 ==12406== Reachable blocks (those to which a pointer was found) are not
 shown.
 ==12406== To see them, rerun with: --leak-check=full --show-reachable=yes
 ==12406==
 ==12406== For counts of detected and suppressed errors, rerun with: -v
 ==12406== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 95 from 6)
 Segmentation fault
 }}}

 {{{
 (gdb) r -i fuzz8.avi -f null -
 Starting program: /media/sdb1/ffmpeg/ffmpeg_g -i fuzz8.avi -f null -
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
 ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.7 (Debian 4.7.2-4)
   configuration: --disable-ffserver --disable-ffprobe --disable-ffplay
 --enable-gpl
   libavutil      54. 23.101 / 54. 23.101
   libavcodec     56. 35.101 / 56. 35.101
   libavformat    56. 31.100 / 56. 31.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 14.100 /  5. 14.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [hq_hqa @ 0x9558260] Invalid slice size 94640.
 Input #0, avi, from 'fuzz8.avi':
   Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: hq_hqa (CUVC / 0x43565543), yuv422p, 720x480 [SAR
 9:10 DAR 27:20], 2097157.00 fps, 2097157.00 tbr, 2097157.00 tbn,
 2097157.00 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf56.31.100
     Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x480
 [SAR 9:10 DAR 27:20], q=2-31, 200 kb/s, 2097157.00 fps, 2097157.00 tbn,
 2097157.00 tbc
     Metadata:
       encoder         : Lavc56.35.101 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (hq_hqa (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 [hq_hqa @ 0x95596c0] Invalid slice size 94640.
 [null @ 0x9596820] Encoder did not produce proper pts, making some up.
 [hq_hqa @ 0x95596c0] Invalid slice size 99508.
 [hq_hqa @ 0x95596c0] Error decoding macroblock 103 at slice 0.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 24 at slice 6.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 124810.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 174 at slice 1.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 99076.
 [hq_hqa @ 0x95596c0] Error decoding macroblock 36 at slice 5.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 85 at slice 1.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 112 at slice 3.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 82 at slice 4.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 81 at slice 5.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 85 at slice 1.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 129710.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid INFO size (4194328).
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 127490.
 [hq_hqa @ 0x95596c0] Error decoding macroblock 128 at slice 6.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 129174.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 74 at slice 7.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 130216.
 [hq_hqa @ 0x95596c0] Error decoding macroblock 82 at slice 2.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 128446.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 148 at slice 3.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 53 at slice 3.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 127152.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 110 at slice 3.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 127314.
 [hq_hqa @ 0x95596c0] Error decoding macroblock 51 at slice 2.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 167 at slice 5.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 126410.
 [hq_hqa @ 0x95596c0] HQ Profile 33 is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means
 that your file has a feature which has not been implemented.
 [hq_hqa @ 0x95596c0] If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
 list. (ffmpeg-devel at ffmpeg.org)
 Input stream #0:0 frame changed from size:720x480 fmt:yuv422p to
 size:160x120 fmt:yuv422p
 [hq_hqa @ 0x95596c0] Invalid INFO size (2097176).
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 27 at slice 0.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 106 at slice 1.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 Input stream #0:0 frame changed from size:160x120 fmt:yuv422p to
 size:720x480 fmt:yuv422p
 [hq_hqa @ 0x95596c0] Invalid slice size 116318.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 66 at slice 0.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Invalid slice size 105474.
 [hq_hqa @ 0x95596c0] Not a HQ/HQA frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 15 at slice 3.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input
 [hq_hqa @ 0x95596c0] Error decoding macroblock 121 at slice 4.
 [hq_hqa @ 0x95596c0] Error decoding frame.
 Error while decoding stream #0:0: Invalid data found when processing input

 Program received signal SIGSEGV, Segmentation fault.
 hq_decode_frame (data_size=106758, prof_num=<optimized out>,
 pic=0x9597580,
     ctx=0x95961c0) at libavcodec/hq_hqa.c:164
 warning: Source file is more recent than executable.
 164                 ret = hq_decode_mb(ctx, pic, &gb, perm[0] * 16,
 perm[1] * 16);
 (gdb) bt
 #0  hq_decode_frame (data_size=106758, prof_num=<optimized out>,
     pic=0x9597580, ctx=0x95961c0) at libavcodec/hq_hqa.c:164
 #1  hq_hqa_decode_frame (avctx=0x95596c0, data=0x9597580,
     got_frame=0xbffff594, avpkt=0xbffff308) at libavcodec/hq_hqa.c:332
 #2  0x087a47de in avcodec_decode_video2 (avctx=0x95596c0,
     picture=picture at entry=0x9597580,
     got_picture_ptr=got_picture_ptr at entry=0xbffff594,
     avpkt=avpkt at entry=0xbffff840) at libavcodec/utils.c:2379
 #3  0x080d66cc in decode_video (ist=ist at entry=0x955b4a0,
     pkt=pkt at entry=0xbffff840, got_output=got_output at entry=0xbffff594)
     at ffmpeg.c:1981
 #4  0x080dd366 in process_input_packet (pkt=0xbffff7e8, ist=0x955b4a0)
     at ffmpeg.c:2229
 #5  process_input (file_index=70) at ffmpeg.c:3738
 #6  transcode_step () at ffmpeg.c:3832
 #7  transcode () at ffmpeg.c:3885
 #8  0x080bd006 in main (argc=<optimized out>, argv=<optimized out>)
     at ffmpeg.c:4067
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list