Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5211 closed defect (duplicate)

cfhd: crash with fuzzed file 4

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

maybe duplicate of #5209

http://www.datafilehost.com/d/e23898a4

aaa@aaa-VirtualBox /media/sdb1 $ valgrind --leak-check=full ffmpeg/ffmpeg_g -threads 2 -i 3_fuzz3.avi -f null -
==18864== Memcheck, a memory error detector
==18864== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==18864== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==18864== Command: ffmpeg/ffmpeg_g -threads 2 -i 3_fuzz3.avi -f null -
==18864== 
ffmpeg version 2.8.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 23.101 / 57. 23.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[cfhd @ 0x4272300] Too many lowpass coefficients
Input #0, avi, from '3_fuzz3.avi':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Adobe Premiere Pro CC 2015 (Windows)
  Duration: 00:00:00.00, start: 0.000000, bitrate: 1240878840 kb/s
    Stream #0:0: Video: cfhd (CFHD / 0x44484643), gbrp12le(10 bpc), 720x480, 2145368.28 fps, 2145368.28 tbr, 2145368.28 tbn, 2145368.28 tbc
Output #0, null, to 'pipe:':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Lavf57.23.101
    Stream #0:0: Video: wrapped_avframe, gbrp12le(10 bpc), 720x480, q=2-31, 200 kb/s, 2145368.28 fps, 2145368.28 tbn, 2145368.28 tbc
    Metadata:
      encoder         : Lavc57.24.101 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (cfhd (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[cfhd @ 0x4aa6660] Too many lowpass coefficients
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Too many lowpass coefficients
[cfhd @ 0x4ac6640] Invalid subband number
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Subband Count of 36 is unsupported
[cfhd @ 0x4aa6660] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Invalid bits per channel
[cfhd @ 0x4ac6640] Invalid dimensions
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Subband Count of 36 is unsupported
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt dataed=   0x    
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4aa6660] Invalid dimensions
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Channel Count of 2 is unsupported
[cfhd @ 0x4ac6640] No end of header tag found
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4ac6640] Too many highpass coefficents
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4ac6640] Too many highpass coefficents
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Subband Count of 74 is unsupported
[cfhd @ 0x4ac6640] No end of header tag found
[cfhd @ 0x4aa6660] Invalid subband number actual
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Subband Count of 36 is unsupported
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x4ac6640] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4ac6640] Too many lowpass coefficients
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Channel Count of 3598 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Too many highpass coefficents
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4aa6660] Sample format of 259 is unsupported
[cfhd @ 0x4aa6660]  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.
[cfhd @ 0x4aa6660] No end of header tag found
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Invalid lowpass width
[cfhd @ 0x4aa6660] No end of header tag found
[cfhd @ 0x4ac6640] Subband Count of 4132 is unsupported
[cfhd @ 0x4ac6640] Invalid dimensions
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Channel Count of 16387 is unsupported
[cfhd @ 0x4aa6660] No end of header tag found
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
[cfhd @ 0x4ac6640] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x4aa6660] Escape codeword not found, probably corrupt data
==18864== Thread 8:
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x83808EE: av_clip_uintp2_c (common.h:231)
==18864==    by 0x83808EE: filter (cfhd.c:113)
==18864==    by 0x83808EE: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x83808EE: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x838092D: av_clip_uintp2_c (common.h:231)
==18864==    by 0x838092D: filter (cfhd.c:118)
==18864==    by 0x838092D: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x838092D: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x83812B9: av_clip_uintp2_c (common.h:231)
==18864==    by 0x83812B9: filter (cfhd.c:103)
==18864==    by 0x83812B9: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x83812B9: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x8381306: av_clip_uintp2_c (common.h:231)
==18864==    by 0x8381306: filter (cfhd.c:108)
==18864==    by 0x8381306: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x8381306: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x8381353: av_clip_uintp2_c (common.h:231)
==18864==    by 0x8381353: filter (cfhd.c:93)
==18864==    by 0x8381353: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x8381353: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Conditional jump or move depends on uninitialised value(s)
==18864==    at 0x8381394: av_clip_uintp2_c (common.h:231)
==18864==    by 0x8381394: filter (cfhd.c:98)
==18864==    by 0x8381394: horiz_filter_clip (cfhd.c:130)
==18864==    by 0x8381394: cfhd_decode (cfhd.c:715)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864== 
==18864== Invalid write of size 2
==18864==    at 0x8381A0D: filter (cfhd.c:91)
==18864==    by 0x8381A0D: vert_filter (cfhd.c:136)
==18864==    by 0x8381A0D: cfhd_decode (cfhd.c:600)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864==  Address 0x3c is not stack'd, malloc'd or (recently) free'd
==18864== 
==18864== 
==18864== Process terminating with default action of signal 11 (SIGSEGV)
==18864==  Access not within mapped region at address 0x3C
==18864==    at 0x8381A0D: filter (cfhd.c:91)
==18864==    by 0x8381A0D: vert_filter (cfhd.c:136)
==18864==    by 0x8381A0D: cfhd_decode (cfhd.c:600)
==18864==    by 0x8661EC1: frame_worker_thread (pthread_frame.c:147)
==18864==    by 0x409BF6F: start_thread (pthread_create.c:312)
==18864==    by 0x419CBED: clone (clone.S:129)
==18864==  If you believe this happened as a result of a stack
==18864==  overflow in your program's main thread (unlikely but
==18864==  possible), you can try to increase the size of the
==18864==  main thread stack using the --main-stacksize= flag.
==18864==  The main thread stack size used in this run was 8388608.
==18864== 
==18864== HEAP SUMMARY:
==18864==     in use at exit: 13,307,766 bytes in 169 blocks
==18864==   total heap usage: 1,836 allocs, 1,667 frees, 350,406,567 bytes allocated
==18864== 
==18864== Thread 1:
==18864== 272 bytes in 2 blocks are possibly lost in loss record 99 of 130
==18864==    at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==18864==    by 0x401117E: allocate_dtv (dl-tls.c:296)
==18864==    by 0x40118EB: _dl_allocate_tls (dl-tls.c:460)
==18864==    by 0x409C7A2: allocate_stack (allocatestack.c:589)
==18864==    by 0x409C7A2: pthread_create@@GLIBC_2.1 (pthread_create.c:500)
==18864==    by 0x8662FF3: ff_frame_thread_init (pthread_frame.c:706)
==18864==    by 0x871C0FE: avcodec_open2 (utils.c:1330)
==18864==    by 0x80DDD04: init_input_stream (ffmpeg.c:2548)
==18864==    by 0x80DDD04: transcode_init (ffmpeg.c:3206)
==18864==    by 0x80E34FD: transcode (ffmpeg.c:4099)
==18864==    by 0x80C1754: main (ffmpeg.c:4319)
==18864== 
==18864== 680 bytes in 5 blocks are possibly lost in loss record 109 of 130
==18864==    at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==18864==    by 0x401117E: allocate_dtv (dl-tls.c:296)
==18864==    by 0x40118EB: _dl_allocate_tls (dl-tls.c:460)
==18864==    by 0x409C7A2: allocate_stack (allocatestack.c:589)
==18864==    by 0x409C7A2: pthread_create@@GLIBC_2.1 (pthread_create.c:500)
==18864==    by 0x810D2A9: thread_init_internal (pthread.c:180)
==18864==    by 0x810D2A9: ff_graph_thread_init (pthread.c:211)
==18864==    by 0x81004A7: avfilter_graph_alloc_filter (avfiltergraph.c:182)
==18864==    by 0x810B535: create_filter (graphparser.c:114)
==18864==    by 0x810B535: parse_filter (graphparser.c:176)
==18864==    by 0x810BF9C: avfilter_graph_parse2 (graphparser.c:411)
==18864==    by 0x80D5F6E: configure_filtergraph (ffmpeg_filter.c:1002)
==18864==    by 0x80DF30A: transcode_init (ffmpeg.c:3042)
==18864==    by 0x80E34FD: transcode (ffmpeg.c:4099)
==18864==    by 0x80C1754: main (ffmpeg.c:4319)
==18864== 
==18864== LEAK SUMMARY:
==18864==    definitely lost: 0 bytes in 0 blocks
==18864==    indirectly lost: 0 bytes in 0 blocks
==18864==      possibly lost: 952 bytes in 7 blocks
==18864==    still reachable: 13,306,814 bytes in 162 blocks
==18864==         suppressed: 0 bytes in 0 blocks
==18864== Reachable blocks (those to which a pointer was found) are not shown.
==18864== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18864== 
==18864== For counts of detected and suppressed errors, rerun with: -v
==18864== Use --track-origins=yes to see where uninitialised values come from
==18864== ERROR SUMMARY: 5023 errors from 9 contexts (suppressed: 0 from 0)
Killed
(gdb) r -threads 2 -i 3_fuzz3.avi -f null -
Starting program: /media/sdb1/ffmpeg/ffmpeg_g -threads 2 -i 3_fuzz3.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.8.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 23.101 / 57. 23.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[cfhd @ 0x9655dc0] Too many lowpass coefficients
Input #0, avi, from '3_fuzz3.avi':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Adobe Premiere Pro CC 2015 (Windows)
  Duration: 00:00:00.00, start: 0.000000, bitrate: 1240878840 kb/s
    Stream #0:0: Video: cfhd (CFHD / 0x44484643), gbrp12le(10 bpc), 720x480, 2145368.28 fps, 2145368.28 tbr, 2145368.28 tbn, 2145368.28 tbc
[New Thread 0xb7daeb40 (LWP 18879)]
[New Thread 0xb75adb40 (LWP 18880)]
[New Thread 0xb6dacb40 (LWP 18881)]
[New Thread 0xb65abb40 (LWP 18882)]
[New Thread 0xb5daab40 (LWP 18883)]
[New Thread 0xb55a9b40 (LWP 18884)]
[New Thread 0xb4da8b40 (LWP 18885)]
Output #0, null, to 'pipe:':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Lavf57.23.101
    Stream #0:0: Video: wrapped_avframe, gbrp12le(10 bpc), 720x480, q=2-31, 200 kb/s, 2145368.28 fps, 2145368.28 tbn, 2145368.28 tbc
    Metadata:
      encoder         : Lavc57.24.101 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (cfhd (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[cfhd @ 0x9672da0] Too many lowpass coefficients
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9672da0] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Invalid subband number
[cfhd @ 0x9672da0] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Subband Count of 36 is unsupported
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Invalid bits per channel
[cfhd @ 0x96733a0] Invalid dimensions
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Invalid dimensions
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Channel Count of 2 is unsupported
[cfhd @ 0x96733a0] No end of header tag found
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Subband Count of 74 is unsupported
[cfhd @ 0x96733a0] No end of header tag found
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Invalid subband number actual
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Too many lowpass coefficients
[cfhd @ 0x9672da0] Channel Count of 3598 is unsupported
Error while decoding stream #0:0: Invalid argument
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Too many highpass coefficents
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Sample format of 259 is unsupported
[cfhd @ 0x9672da0]  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.
[cfhd @ 0x9672da0] No end of header tag found
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9672da0] Invalid lowpass width
[cfhd @ 0x9672da0] No end of header tag found
[cfhd @ 0x96733a0] Subband Count of 4132 is unsupported
[cfhd @ 0x96733a0] Invalid dimensions
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9672da0] Channel Count of 16387 is unsupported
[cfhd @ 0x9672da0] No end of header tag found
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96733a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9672da0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4da8b40 (LWP 18885)]
0x08381a0d in filter (clip=<optimized out>, len=<optimized out>, 
    high_stride=<optimized out>, high=<optimized out>, 
    low_stride=<optimized out>, low=<optimized out>, 
    out_stride=<optimized out>, output=<optimized out>) at libavcodec/cfhd.c:91
91	            output[(2*i+0)*out_stride] = (tmp + high[0*high_stride]) >> 1;
(gdb) bt
#0  0x08381a0d in filter (clip=<optimized out>, len=<optimized out>, 
    high_stride=<optimized out>, high=<optimized out>, 
    low_stride=<optimized out>, low=<optimized out>, 
    out_stride=<optimized out>, output=<optimized out>) at libavcodec/cfhd.c:91
#1  vert_filter (len=<optimized out>, high_stride=<optimized out>, 
    high=<optimized out>, low_stride=<optimized out>, low=<optimized out>, 
    out_stride=<optimized out>, output=<optimized out>)
    at libavcodec/cfhd.c:136
#2  cfhd_decode (avctx=0x96733a0, data=0x96737a0, got_frame=0x9672d38, 
    avpkt=0x9672cf0) at libavcodec/cfhd.c:600
#3  0x08661ec2 in frame_worker_thread (arg=0x9672c20)
    at libavcodec/pthread_frame.c:147
#4  0xb7f65f70 in start_thread (arg=0xb4da8b40) at pthread_create.c:312
#5  0xb7e9bbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) 

Change History (3)

comment:1 Changed 3 years ago by cehoyos

  • Resolution set to duplicate
  • Status changed from new to closed

Definitely a duplicate.

comment:2 follow-up: Changed 3 years ago by ami_stuff

this still crashes here randomly (sometimes it does, sometimes it doesn't), but with different backtrace

(gdb) r -threads 2 -i 3_fuzz3.avi -f null -
Starting program: /media/sdb1/ffmpeg/ffmpeg_g -threads 2 -i 3_fuzz3.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.8.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[cfhd @ 0x9657de0] Too many lowpass coefficients
Input #0, avi, from '3_fuzz3.avi':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Adobe Premiere Pro CC 2015 (Windows)
  Duration: 00:00:00.00, start: 0.000000, bitrate: 1240878840 kb/s
    Stream #0:0: Video: cfhd (CFHD / 0x44484643), gbrp12le(10 bpc), 720x480, 2145368.28 fps, 2145368.28 tbr, 2145368.28 tbn, 2145368.28 tbc
[New Thread 0xb7daeb40 (LWP 3920)]
[New Thread 0xb75adb40 (LWP 3921)]
[New Thread 0xb6dacb40 (LWP 3922)]
[New Thread 0xb65abb40 (LWP 3923)]
[New Thread 0xb5daab40 (LWP 3924)]
[New Thread 0xb55a9b40 (LWP 3925)]
[New Thread 0xb4da8b40 (LWP 3926)]
Output #0, null, to 'pipe:':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Lavf57.24.100
    Stream #0:0: Video: wrapped_avframe, gbrp12le(10 bpc), 720x480, q=2-31, 200 kb/s, 2145368.28 fps, 2145368.28 tbn, 2145368.28 tbc
    Metadata:
      encoder         : Lavc57.24.101 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (cfhd (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[cfhd @ 0x9674f00] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Invalid subband number
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Too many lowpass coefficients
[cfhd @ 0x96754a0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Invalid argument
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Invalid bits per channel
[cfhd @ 0x96754a0] Invalid dimensions
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Invalid dimensions
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Channel Count of 2 is unsupported
[cfhd @ 0x96754a0] No end of header tag found
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Subband Count of 74 is unsupported
[cfhd @ 0x96754a0] No end of header tag found
[cfhd @ 0x9674f00] Invalid subband number actual
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
[cfhd @ 0x96754a0] Invalid level
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Channel Count of 3598 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Sample format of 259 is unsupported
[cfhd @ 0x9674f00]  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.
[cfhd @ 0x9674f00] No end of header tag found
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Invalid lowpass width
[cfhd @ 0x9674f00] No end of header tag found
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Channel Count of 16387 is unsupported
[cfhd @ 0x9674f00] No end of header tag found
[cfhd @ 0x96754a0] Subband Count of 4132 is unsupported
[cfhd @ 0x96754a0] Invalid dimensions
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96754a0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9674f00] Escape codeword not found, probably corrupt data
[cfhd @ 0x96754a0] Invalid plane dimensions
Error while decoding stream #0:0: Invalid argument

Program received signal SIGSEGV, Segmentation fault.
0x080e130e in check_output_constraints (ost=0x9672d20, ist=0x9659860)
    at ffmpeg.c:1772
1772	    int ist_index  = input_files[ist->file_index]->ist_index + ist->st->index;
(gdb) bt
#0  0x080e130e in check_output_constraints (ost=0x9672d20, ist=0x9659860)
    at ffmpeg.c:1772
#1  process_input_packet (no_eof=0, pkt=0xbfffe334, ist=0x9659860)
    at ffmpeg.c:2415
#2  process_input (file_index=<optimized out>) at ffmpeg.c:3986
#3  0x080e41d0 in transcode_step () at ffmpeg.c:4074
#4  transcode () at ffmpeg.c:4128
#5  0x080c17e5 in main (argc=<optimized out>, argv=<optimized out>)
    at ffmpeg.c:4319
(gdb) 
(gdb) r -threads 3 -i 3_fuzz3.avi -f null -
Starting program: /media/sdb1/ffmpeg/ffmpeg_g -threads 3 -i 3_fuzz3.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.8.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[cfhd @ 0x9657de0] Too many lowpass coefficients
Input #0, avi, from '3_fuzz3.avi':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Adobe Premiere Pro CC 2015 (Windows)
  Duration: 00:00:00.00, start: 0.000000, bitrate: 1240878840 kb/s
    Stream #0:0: Video: cfhd (CFHD / 0x44484643), gbrp12le(10 bpc), 720x480, 2145368.28 fps, 2145368.28 tbr, 2145368.28 tbn, 2145368.28 tbc
[New Thread 0xb7daeb40 (LWP 3862)]
[New Thread 0xb75adb40 (LWP 3863)]
[New Thread 0xb6dacb40 (LWP 3864)]
[New Thread 0xb65abb40 (LWP 3865)]
[New Thread 0xb5daab40 (LWP 3866)]
[New Thread 0xb55a9b40 (LWP 3867)]
[New Thread 0xb4da8b40 (LWP 3868)]
[New Thread 0xb45a7b40 (LWP 3869)]
Output #0, null, to 'pipe:':
  Metadata:
    date            : 2016-01-23T13:45:31+01:00
    encoder         : Lavf57.24.100
    Stream #0:0: Video: wrapped_avframe, gbrp12le(10 bpc), 720x480, q=2-31, 200 kb/s, 2145368.28 fps, 2145368.28 tbn, 2145368.28 tbc
    Metadata:
      encoder         : Lavc57.24.101 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (cfhd (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[cfhd @ 0x9675040] Too many lowpass coefficients
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Too many lowpass coefficients
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9675040] Invalid subband number
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96755e0] Too many lowpass coefficients
[cfhd @ 0x9675be0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Invalid argument
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Invalid bits per channel
[cfhd @ 0x9675040] Invalid dimensions
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9675be0] Invalid dimensions
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Channel Count of 2 is unsupported
[cfhd @ 0x9675be0] No end of header tag found
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96755e0] Too many highpass coefficents
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Subband Count of 74 is unsupported
[cfhd @ 0x96755e0] No end of header tag found
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675be0] Invalid subband number actual
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96755e0] Subband Count of 36 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Too many lowpass coefficients
[cfhd @ 0x9675be0] Invalid level
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675be0] Channel Count of 3598 is unsupported
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Too many highpass coefficents
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Sample format of 259 is unsupported
[cfhd @ 0x9675040]  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.
[cfhd @ 0x9675040] No end of header tag found
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
    Last message repeated 2 times
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675be0] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Invalid lowpass width
[cfhd @ 0x9675040] No end of header tag found
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x96755e0] Subband Count of 4132 is unsupported
[cfhd @ 0x96755e0] Invalid dimensions
[cfhd @ 0x9675be0] Channel Count of 16387 is unsupported
[cfhd @ 0x9675be0] No end of header tag found
Error while decoding stream #0:0: Invalid argument
    Last message repeated 1 times
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x9675040] Escape codeword not found, probably corrupt data
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
Error while decoding stream #0:0: Invalid argument
[cfhd @ 0x96755e0] Escape codeword not found, probably corrupt data
[cfhd @ 0x9675be0] Invalid plane dimensions
Error while decoding stream #0:0: Invalid argument

Program received signal SIGSEGV, Segmentation fault.
0xb7e23b79 in _int_free (av=0xb7f5a420 <main_arena>, p=<optimized out>, 
    have_lock=0) at malloc.c:3987
3987	malloc.c: No such file or directory.
(gdb) bt
#0  0xb7e23b79 in _int_free (av=0xb7f5a420 <main_arena>, p=<optimized out>, 
    have_lock=0) at malloc.c:3987
#1  0x08b4d473 in buffer_replace (src=0x0, dst=0x9674fb0)
    at libavutil/buffer.c:119
#2  av_buffer_unref (buf=buf@entry=0x9674fb0) at libavutil/buffer.c:129
#3  0x0836b90a in av_packet_unref (pkt=pkt@entry=0x9674fb0)
    at libavcodec/avpacket.c:548
#4  0x08662e14 in submit_packet (avpkt=0xbfffe0ec, p=0x9674ee0)
    at libavcodec/pthread_frame.c:340
#5  ff_thread_decode_frame (avctx=avctx@entry=0x9659e80, 
    picture=picture@entry=0x96761e0, 
    got_picture_ptr=got_picture_ptr@entry=0xbfffe330, 
    avpkt=avpkt@entry=0xbfffe0ec) at libavcodec/pthread_frame.c:403
#6  0x0871881f in avcodec_decode_video2 (avctx=0x9659e80, 
    picture=picture@entry=0x96761e0, 
    got_picture_ptr=got_picture_ptr@entry=0xbfffe330, 
    avpkt=avpkt@entry=0xbfffe378) at libavcodec/utils.c:2122
#7  0x080d8e0f in decode_video (ist=ist@entry=0x9659860, 
    pkt=pkt@entry=0xbfffe378, got_output=got_output@entry=0xbfffe330)
    at ffmpeg.c:2075
#8  0x080e1636 in process_input_packet (no_eof=0, pkt=0xbfffe334, 
    ist=0x9659860) at ffmpeg.c:2324
#9  process_input (file_index=<optimized out>) at ffmpeg.c:3986
---Type <return> to continue, or q <return> to quit---
#10 0x080e41d0 in transcode_step () at ffmpeg.c:4074
#11 transcode () at ffmpeg.c:4128
#12 0x080c17e5 in main (argc=<optimized out>, argv=<optimized out>)
    at ffmpeg.c:4319
(gdb) 

comment:3 in reply to: ↑ 2 Changed 3 years ago by cehoyos

Replying to ami_stuff:

this still crashes here randomly (sometimes it does, sometimes it doesn't), but with different backtrace

I am able to reproduce this but what I meant was that the file for this ticket is the same as for ticket #5209.

Note: See TracTickets for help on using tickets.