Opened 11 years ago

Closed 11 years ago

#2895 closed defect (fixed)

jpeg2000: invalid write 2

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

Description

I tested with applied "[PATCH] avcodec/jpeg2000dec: check transforme quality in MCT".

knoppix@Microknoppix:/media/sdb1$ gdb ffmpeg-HEAD-b8ff4f5/ffmpeg_g
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /media/sdb1/ffmpeg-HEAD-b8ff4f5/ffmpeg_g...done.
(gdb) r -i fuzz_mj2c.avi -an -f null -
Starting program: /media/sdb1/ffmpeg-HEAD-b8ff4f5/ffmpeg_g -i fuzz_mj2c.avi -an -f null -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
ffmpeg version 2.0-b8ff4f5 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 24 2013 01:32:53 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --disable-ffprobe --disable-ffserver --disable-yasm --enable-gpl
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 29.100 / 55. 29.100
  libavformat    55. 14.102 / 55. 14.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.102 /  3. 82.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 0x9105d60] non-interleaved AVI
[mp3 @ 0x9107180] Header missing
    Last message repeated 1 times
Input #0, avi, from 'fuzz_mj2c.avi':
  Duration: 00:00:05.96, start: 0.000000, bitrate: 320 kb/s
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0) (MJ2C / 0x43324A4D), rgb24, 192x128, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, mono, s16p, 7 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf55.14.102
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 192x128, q=2-31, 200 kb/s, 90k tbn, 24 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x91095a0] Encoder did not produce proper pts, making some up.
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] unsupported marker 0x7F53 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF50 at pos 0x2
[jpeg2000 @ 0x9106640] cblk size invalid
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFB51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid tile dimension -2147483456x128.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid argument
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xBF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] unsupported marker 0xFF71 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xDF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] error during processing marker segment ff55
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xBF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 2 times
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF59 at pos 0x2
[jpeg2000 @ 0x9106640] extra cblk styles 30
[jpeg2000 @ 0x9106640] unsupported marker 0xFD90 at pos 0x66
[jpeg2000 @ 0x9106640] Missing SOT
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xE751 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF73 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFF12 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] unsupported marker 0xFFD1 at pos 0x2
[jpeg2000 @ 0x9106640] extra cblk styles 8
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF41 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFE51 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFF70 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid argument
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xEF51 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFD72 at pos 0x33
[jpeg2000 @ 0x9106640] unsupported marker 0x7F5C at pos 0x41
[jpeg2000 @ 0x9106640] unsupported marker 0xFFB0 at pos 0x66
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] extra cblk styles E0
[jpeg2000 @ 0x9106640] error during processing marker segment ff53
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xF751 at pos 0x2
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x9106640] unsupported marker 0xFE51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF10 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFFD3 at pos 0x33
[jpeg2000 @ 0x9106640] unsupported marker 0xFF94 at pos 0x66
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFB11 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFB52 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFE91 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xFF5A at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xBF51 at pos 0x2
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x9106640] unsupported marker 0xDF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] nreslevels 70 is invalid
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF50 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xBE51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] unsupported marker 0xFF11 at pos 0x2
[jpeg2000 @ 0x9106640] unsupported marker 0xF7D2 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFE11 at pos 0x2
[jpeg2000 @ 0x9106640] cblk size invalid
[jpeg2000 @ 0x9106640] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] unsupported marker 0xFF11 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Support for 3 components 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Invalid sample seperation
[jpeg2000 @ 0x9106640] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x9106640] Block with lengthinc greater than 8192 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.
[jpeg2000 @ 0x9106640] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid data found when processing input

Program received signal SIGSEGV, Segmentation fault.
0xb7eae64e in *__GI_memset (dstpp=dstpp@entry=0xc0000070, c=<optimized out>, 
    c@entry=0, len=<optimized out>, len@entry=24)
    at ../sysdeps/i386/memset.c:65
65	../sysdeps/i386/memset.c: No such file or directory.
(gdb) bt
#0  0xb7eae64e in *__GI_memset (dstpp=dstpp@entry=0xc0000070, 
    c=<optimized out>, c@entry=0, len=<optimized out>, len@entry=24)
    at ../sysdeps/i386/memset.c:65
#1  0x08509a12 in decode_cblk (bandpos=0, height=128, width=4, cblk=0x91b7984, 
    t1=0xbfff6ce8, s=0x90f4b40, codsty=<optimized out>)
    at libavcodec/jpeg2000dec.c:1036
#2  jpeg2000_decode_tile (s=s@entry=0x90f4b40, tile=0x910ad00, 
    picture=picture@entry=0x90f5ae0) at libavcodec/jpeg2000dec.c:1219
#3  0x0850d6be in jpeg2000_decode_frame (avctx=0x9106640, data=0x90f5ae0, 
    got_frame=0xbffff504, avpkt=0xbffff2a8) at libavcodec/jpeg2000dec.c:1634
#4  0x08677a4e in avcodec_decode_video2 (avctx=0x0, picture=0x0, 
    got_picture_ptr=0x0, avpkt=0x0) at libavcodec/utils.c:1982
#5  0x00000000 in ?? ()
(gdb) 
knoppix@Microknoppix:/media/sdb1$ valgrind --leak-check=full ffmpeg-HEAD-b8ff4f5/ffmpeg_g -i fuzz_mj2c.avi -an -f null -
==15789== Memcheck, a memory error detector
==15789== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==15789== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==15789== Command: ffmpeg-HEAD-b8ff4f5/ffmpeg_g -i fuzz_mj2c.avi -an -f null -
==15789== 
ffmpeg version 2.0-b8ff4f5 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 24 2013 01:32:53 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --disable-ffprobe --disable-ffserver --disable-yasm --enable-gpl
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 29.100 / 55. 29.100
  libavformat    55. 14.102 / 55. 14.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.102 /  3. 82.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 0x4229020] non-interleaved AVI
[mp3 @ 0x423b200] Header missing
    Last message repeated 1 times
Input #0, avi, from 'fuzz_mj2c.avi':
  Duration: 00:00:05.96, start: 0.000000, bitrate: 320 kb/s
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0) (MJ2C / 0x43324A4D), rgb24, 192x128, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, mono, s16p, 7 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf55.14.102
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 192x128, q=2-31, 200 kb/s, 90k tbn, 24 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x435a9e0] Encoder did not produce proper pts, making some up.
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] unsupported marker 0x7F53 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF50 at pos 0x2
[jpeg2000 @ 0x423a4e0] cblk size invalid
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFB51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid tile dimension -2147483456x128.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid argument
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xBF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF71 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xDF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff55
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xBF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 2 times
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF59 at pos 0x2
[jpeg2000 @ 0x423a4e0] extra cblk styles 30
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFD90 at pos 0x66
[jpeg2000 @ 0x423a4e0] Missing SOT
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xE751 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF73 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF12 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFFD1 at pos 0x2
[jpeg2000 @ 0x423a4e0] extra cblk styles 8
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF41 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFE51 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF70 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid argument
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xEF51 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFD72 at pos 0x33
[jpeg2000 @ 0x423a4e0] unsupported marker 0x7F5C at pos 0x41
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFFB0 at pos 0x66
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] extra cblk styles E0
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff53
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xF751 at pos 0x2
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFE51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF10 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFFD3 at pos 0x33
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF94 at pos 0x66
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFB11 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFB52 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFE91 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF5A at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xBF51 at pos 0x2
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Operation not permitted
[jpeg2000 @ 0x423a4e0] unsupported marker 0xDF51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] nreslevels 70 is invalid
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF50 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xBE51 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF11 at pos 0x2
[jpeg2000 @ 0x423a4e0] unsupported marker 0xF7D2 at pos 0x33
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFE11 at pos 0x2
[jpeg2000 @ 0x423a4e0] cblk size invalid
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff52
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] unsupported marker 0xFF11 at pos 0x2
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Support for 3 components 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] SOC marker not present
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Invalid sample seperation
[jpeg2000 @ 0x423a4e0] error during processing marker segment ff51
Error while decoding stream #0:0: Invalid data found when processing input
[jpeg2000 @ 0x423a4e0] Block with lengthinc greater than 8192 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.
[jpeg2000 @ 0x423a4e0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
Error while decoding stream #0:0: Invalid data found when processing input
==15789== Invalid write of size 4
==15789==    at 0x402ABFD: memset (mc_replace_strmem.c:966)
==15789==    by 0x8509A11: jpeg2000_decode_tile (jpeg2000dec.c:1036)
==15789==    by 0x850D6BD: jpeg2000_decode_frame (jpeg2000dec.c:1634)
==15789==    by 0x8677A4D: avcodec_decode_video2 (utils.c:1982)
==15789==  Address 0xbec8e0b8 is not stack'd, malloc'd or (recently) free'd
==15789== 
==15789== 
==15789== Process terminating with default action of signal 11 (SIGSEGV)
==15789==  Access not within mapped region at address 0xBEC8E0B8
==15789==    at 0x402ABFD: memset (mc_replace_strmem.c:966)
==15789==    by 0x8509A11: jpeg2000_decode_tile (jpeg2000dec.c:1036)
==15789==    by 0x850D6BD: jpeg2000_decode_frame (jpeg2000dec.c:1634)
==15789==    by 0x8677A4D: avcodec_decode_video2 (utils.c:1982)
==15789==  If you believe this happened as a result of a stack
==15789==  overflow in your program's main thread (unlikely but
==15789==  possible), you can try to increase the size of the
==15789==  main thread stack using the --main-stacksize= flag.
==15789==  The main thread stack size used in this run was 8388608.
==15789== 
==15789== HEAP SUMMARY:
==15789==     in use at exit: 1,278,076 bytes in 254 blocks
==15789==   total heap usage: 4,413 allocs, 4,159 frees, 10,191,224 bytes allocated
==15789== 
==15789== LEAK SUMMARY:
==15789==    definitely lost: 0 bytes in 0 blocks
==15789==    indirectly lost: 0 bytes in 0 blocks
==15789==      possibly lost: 0 bytes in 0 blocks
==15789==    still reachable: 1,278,076 bytes in 254 blocks
==15789==         suppressed: 0 bytes in 0 blocks
==15789== Reachable blocks (those to which a pointer was found) are not shown.
==15789== To see them, rerun with: --leak-check=full --show-reachable=yes
==15789== 
==15789== For counts of detected and suppressed errors, rerun with: -v
==15789== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 59 from 6)
Segmentation fault

Attachments (1)

fuzz_mj2c.avi (233.0 KB ) - added by ami_stuff 11 years ago.

Download all attachments as: .zip

Change History (2)

by ami_stuff, 11 years ago

Attachment: fuzz_mj2c.avi added

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavcodec
Keywords: j2k crash SIGSEGV regression added
Priority: normalimportant
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

Only reproducible here with small number of threads, fixed by Michael in 9a271a9.

Note: See TracTickets for help on using tickets.