Opened 12 years ago

Closed 12 years ago

#801 closed defect (fixed)

zzuf .mve crashes FFMPEG memory exceeded

Reported by: Oana Stratulat Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: alac OOM
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

==18532== Memcheck, a memory error detector
==18532== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==18532== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==18532== Command: ffmpeg -i corruptfile -f null -
==18532==
ffmpeg version N-35989-gaa1c590, Copyright (c) 2000-2011 the FFmpeg developers

built on Dec 20 2011 14:30:54 with gcc 4.6.1
configuration:
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 46. 1 / 53. 46. 1
libavformat 53. 27. 0 / 53. 27. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0

[ipmovie @ 0x588c820] Estimating duration from bitrate, this may be inaccurate
Input #0, ipmovie, from 'corruptfile':

Duration: 00:00:47.55, start: 0.000000, bitrate: 352 kb/s

Stream #0:0: Video: interplayvideo, pal8, 432x320, 1000k tbr, 1000k tbn, 1000k tbc
Stream #0:1: Audio: interplay_dpcm, 22050 Hz, 2 channels, s16, 352 kb/s

[null @ 0x58b42a0] Frame rate very high for a muxer not effciciently supporting it.
Please consider specifiying a lower framerate, a different muxer or -vsync 2
[buffer @ 0x58c74a0] w:432 h:320 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:
Output #0, null, to 'pipe:':

Metadata:

encoder : Lavf53.27.0
Stream #0:0: Video: rawvideo, pal8, 432x320, q=2-31, 200 kb/s, 90k tbn, 1000k tbc
Stream #0:1: Audio: pcm_s16le, 22050 Hz, 2 channels, s16, 705 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (interplayvideo -> rawvideo)
Stream #0:1 -> #0:1 (interplay_dpcm -> pcm_s16le)

Press [q] to stop, ? for help
frame= 0 fps= 0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate= 0.0kbits/s

video:0kB audio:11kB global headers:0kB muxing overhead -100.000000%
==18532==
==18532== HEAP SUMMARY:
==18532== in use at exit: 0 bytes in 0 blocks
==18532== total heap usage: 103 allocs, 103 frees, 1,397,574 bytes allocated
==18532==
==18532== All heap blocks were freed -- no leaks are possible
==18532==
==18532== For counts of detected and suppressed errors, rerun with: -v
==18532== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)

Attachments (2)

corruptfile (2.0 MB ) - added by Oana Stratulat 12 years ago.
valgrind (2.1 KB ) - added by Oana Stratulat 12 years ago.

Change History (3)

by Oana Stratulat, 12 years ago

Attachment: corruptfile added

by Oana Stratulat, 12 years ago

Attachment: valgrind added

comment:1 by Michael Niedermayer, 12 years ago

Component: FFmpegavcodec
Keywords: alac OOM added
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Fixed infinite loop
It still allocates 6gb though and iam not sure how to limit that except by setting an arbitrary limit

Note: See TracTickets for help on using tickets.