[FFmpeg-trac] #2903(undetermined:new): png: invalid write

FFmpeg trac at avcodec.org
Mon Aug 26 18:42:47 CEST 2013


#2903: png: invalid write
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 Replying to [comment:2 richardpl]:
 > That is unrelated issue that have been fixed.
 > Does same happens with -threads 1?

 It crashes here with some win32 autobuild which I downloaded when ran with
 -threads 2 or 4, but not with 1 or 8.

 {{{
 {{{
 C:\>ffmpeg -threads 4 -i png_fuzz.mov -f null -
 ffmpeg version N-55763-g22fbc7f Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug 26 2013 02:23:51 with gcc 4.5.0 (GCC) 20100414 (Fedora
 MinGW 4.5.
 0-1.fc14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-
 cpudetect --
 enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -lw
 inmm -lpthread' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapsh
 ots/build/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/sna
 pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
 version3 --
 enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
 --enable-li
 bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
 --enable-li
 bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx
 --disab
 le-decoder=libvpx
   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
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'png_fuzz.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-03-24 20:33:27
   Duration: 00:00:05.96, start: 0.000000, bitrate: 7021 kb/s
     Stream #0:0(eng): Video: png (png  / 0x20676E70), rgba, 189x127 [SAR
 2834:28
 34 DAR 189:127], 7019 kb/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc (default)
     Metadata:
       creation_time   : 2012-03-24 20:33:27
       handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf55.14.102
     Stream #0:0(eng): Video: rawvideo (RGBA / 0x41424752), rgba, 189x127
 [SAR 1:
 1 DAR 189:127], q=2-31, 200 kb/s, 90k tbn, 24 tbc (default)
     Metadata:
       creation_time   : 2012-03-24 20:33:27
       handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
 Stream mapping:
   Stream #0:0 -> #0:0 (png -> rawvideo)
 Press [q] to stop, [?] for help
 [png @ 0x2127240] chunk too big
 [png @ 0x216c000] inflate returned error -3
 [null @ 0x2163020] [png @ 0x21284c0] Encoder did not produce proper pts,
 making
 some up.
 inflate returned error -3
 [png @ 0x21255e0] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 inflate returned error -3
 [png @ 0x216c000] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 inflate returned error -3
 [png @ 0x2127240] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 chunk too big
 [png @ 0x21284c0] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 Missing png signature
 Error while decoding stream #0:0: Invalid data found when processing input
 [png @ 0x21255e0] inflate returned error -3
 [png @ 0x216c000] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 chunk too big
 [png @ 0x2127240] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 chunk too big
 [png @ 0x21284c0] Error while decoding stream #0:0: Invalid data found
 when proc
 essing input
 chunk too big
 Error while decoding stream #0:0: Invalid data found when processing input
     Last message repeated 2 times
 }}}
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2903#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list