Opened 12 years ago
Closed 12 years ago
#1889 closed defect (fixed)
wavpack: huge memory allocation with prepared file
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
should I report problems like this or only crashes?
C:\>ffmpeg -i mem.mkv -f null - ffmpeg version N-46283-g1475815 Copyright (c) 2000-2012 the FFmpeg developers built on Nov 2 2012 02:31:20 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-w32threads --enable-memalign-hack --enable-runtime-cpudetect --enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 - lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable- libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx libavutil 52. 1.100 / 52. 1.100 libavcodec 54. 70.100 / 54. 70.100 libavformat 54. 35.100 / 54. 35.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 21.106 / 3. 21.106 libswscale 2. 1.102 / 2. 1.102 libswresample 0. 16.100 / 0. 16.100 libpostproc 52. 1.100 / 52. 1.100 [matroska,webm @ 0x1edc2c0] Estimating duration from bitrate, this may be inaccu rate Input #0, matroska,webm, from 'mem.mkv': Metadata: ENCODER : Lavf54.35.100 Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Audio: wavpack, 16000 Hz, mono, s16 (default) Output #0, null, to 'pipe:': Metadata: encoder : Lavf54.35.100 Stream #0:0: Audio: pcm_s16le, 16000 Hz, mono, s16, 256 kb/s (default) Stream mapping: Stream #0:0 -> #0:0 (wavpack -> pcm_s16le) Press [q] to stop, [?] for help [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred Invalid number of samples: -1955236267te= 0.0kbits/s Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -521203691 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1658698091 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1159073963 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1414440939 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1166962603 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1777631658 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1123563819 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1374157226 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -638010538 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -485775323 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -303249323 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1667421863 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1517418155 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1298639766 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1528407975 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1427934123 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1684967595 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1257802907 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -1013899627 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -12 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -334279591 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -437179051 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] get_buffer() failed Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -829239467 Error while decoding stream #0:0: Error number -22 occurred [wavpack @ 0x1fc08e0] Invalid number of samples: -2040900715 Error while decoding stream #0:0: Error number -22 occurred size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead nan% Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i f used)
Attachments (1)
Change History (3)
by , 12 years ago
comment:1 by , 12 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 12 years ago
Analyzed by developer: | set |
---|---|
Component: | undetermined → avcodec |
Resolution: | → fixed |
Status: | open → closed |
Yes, reporting problems with big memory allocations is welcome.
Note:
See TracTickets
for help on using tickets.
Does not crash if I limit the thread's memory.