Opened 13 years ago

Closed 13 years ago

#790 closed defect (fixed)

zzufed .CIN crashes FFMPEG

Reported by: Oana Stratulat Owned by:
Priority: important Component: avformat
Version: git-master Keywords: oom dsicin
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

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

built on Dec 19 2011 00:07:16 with gcc 4.6.1
configuration:
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 46. 0 / 53. 46. 0
libavformat 53. 26. 0 / 53. 26. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0

==30399== Warning: set address range perms: large range [0x393c9080, 0x793ccc96) (undefined)
Truncating packet of size 88225 to 1
[dsicin @ 0x5674820] Estimating duration from bitrate, this may be inaccurate
Input #0, dsicin, from 'corruptfile':

Duration: 00:00:47.58, start: 0.000000, bitrate: 176 kb/s

Stream #0:0: Video: dsicinvideo, pal8, 320x160, 12 tbr, 12 tbn, 12 tbc
Stream #0:1: Audio: dsicinaudio, 22050 Hz, 1 channels, s16, 176 kb/s

[buffer @ 0x56d1340] w:320 h:160 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:
Output #0, null, to 'pipe:':

Metadata:

encoder : Lavf53.26.0
Stream #0:0: Video: rawvideo, pal8, 320x160, q=2-31, 200 kb/s, 90k tbn, 12 tbc
Stream #0:1: Audio: pcm_s16le, 22050 Hz, 1 channels, s16, 352 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (dsicinvideo -> rawvideo)
Stream #0:1 -> #0:1 (dsicinaudio -> pcm_s16le)

Press [q] to stop, ? for help
==30399== Warning: set address range perms: large range [0x393c9070, 0x793ccca6) (noaccess)
Truncating packet of size 88225 to 1
frame= 1 fps= 0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate= 0.0kbits/s

video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
==30399==
==30399== HEAP SUMMARY:
==30399== in use at exit: 264 bytes in 1 blocks
==30399== total heap usage: 116 allocs, 115 frees, 1,074,807,172 bytes allocated
==30399==
==30399== LEAK SUMMARY:
==30399== definitely lost: 264 bytes in 1 blocks
==30399== indirectly lost: 0 bytes in 0 blocks
==30399== possibly lost: 0 bytes in 0 blocks
==30399== still reachable: 0 bytes in 0 blocks
==30399== suppressed: 0 bytes in 0 blocks
==30399== Rerun with --leak-check=full to see details of leaked memory
==30399==
==30399== For counts of detected and suppressed errors, rerun with: -v
==30399== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)

Attachments (2)

corruptfile (1.0 MB ) - added by Oana Stratulat 13 years ago.
valgrind (2.5 KB ) - added by Oana Stratulat 13 years ago.

Download all attachments as: .zip

Change History (3)

by Oana Stratulat, 13 years ago

Attachment: corruptfile added

by Oana Stratulat, 13 years ago

Attachment: valgrind added

comment:1 by Michael Niedermayer, 13 years ago

Component: FFmpegavformat
Keywords: oom dsicin added
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.