Bug#501891: ffmpeg dumps core on a metacafe flash video
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Oct 11 09:54:52 UTC 2008
Package: ffmpeg
Version: 0.svn20080206-13
Severity: normal
The following is only tested with this one specific movie. clive refused
to download all others I tried.
$ clive 'http://www.metacafe.com/watch/1216086/south_park_mac_vs_pc_vs_linux/'
clive 0.4.18 20080715 [Linux]
http://www.metacafe.com/watch/1216086/south_park_mac_vs_pc_vs_l (cache)
SouthParkMacVsPCVsLinuxVideo.flv 1.9MB
=> 1 (1.9MB), failed: 0, skipped: 0.
SouthParkMacVsPCVsLinuxVideo.flv 100% 1.9MB 99.7KB/s 00:00:19
$ ffmpeg -i /tmp/SouthParkMacVsPCVsLinuxVideo.flv SouthParkMacVsPCVsLinuxVideo.ogg
FFmpeg version r11872+debian_0.svn20080206-13, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Sep 22 2008 07:18:25, gcc: 4.3.2
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, flv, from '/tmp/SouthParkMacVsPCVsLinuxVideo.flv':
Duration: 00:01:54.1, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Video: vp6f, yuv420p, 320x240 [PAR 0:1 DAR 0:1], 30.00 tb(r)
Stream #0.1: Audio: mp3, 44100 Hz, stereo, 64 kb/s
Output #0, ogg, to 'SouthParkMacVsPCVsLinuxVideo.ogg':
Stream #0.0: Video: libtheora, yuv420p, 320x240 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 30.00 tb(c)
Stream #0.1: Audio: flac, 44100 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
Segmentation fault (core dumped)
$ ls -l SouthParkMacVsPCVsLinuxVideo.*
-rw-r--r-- 1 tzafrir tzafrir 1948366 2008-04-15 18:03 SouthParkMacVsPCVsLinuxVideo.flv
-rw-r--r-- 1 tzafrir tzafrir 112457 2008-10-11 11:32 SouthParkMacVsPCVsLinuxVideo.ogg
The resulting ogg movie shows just the few seconds and plays fine. Any
attempt to play the files with mplayer and vlc results in showing the
same initial snippet and then crashing.
Trace from the core dump:
(gdb) bt
#0 0x00007f34bad553f6 in vp6_parse_coeff_huffman (s=0x123d190)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/bitstream.h:883
#1 0x00007f34bad4f7db in vp56_decode_frame (avctx=0x1161290,
data=0x7fffc380cbf0, data_size=0x7fffc380cda8, buf=0x11ac540 "",
buf_size=18684)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/vp56.c:410
#2 0x00007f34baac7d7b in avcodec_decode_video (avctx=0x1161290,
picture=0x7fffc380cbf0, got_picture_ptr=0x7fffc380cda8, buf=0x11ac540 "",
buf_size=18684)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/utils.c:945
#3 0x000000000040693a in output_packet (ist=0x116b4d0, ist_index=0,
ost_table=0x116b570, nb_ostreams=2, pkt=0x7fffc380db80)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:1108
#4 0x000000000040a291 in av_encode (output_files=0x612e40, nb_output_files=1,
input_files=0x612d00, nb_input_files=1, stream_maps=0x612ee0,
nb_stream_maps=0)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:1989
#5 0x000000000040a834 in main (argc=<value optimized out>,
argv=<value optimized out>)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:3939
#0 0x00007f34bad553f6 in vp6_parse_coeff_huffman (s=0x123d190)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/bitstream.h:883
run = <value optimized out>
ct = 0
model = (vp56_model_t *) 0x123f520
vlc_coeff = <value optimized out>
coeff = <value optimized out>
sign = <value optimized out>
coeff_idx = 0
b = 0
pt = 0
#1 0x00007f34bad4f7db in vp56_decode_frame (avctx=0x1161290,
data=0x7fffc380cbf0, data_size=0x7fffc380cda8, buf=0x11ac540 "",
buf_size=18684)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/vp56.c:410
mb_row = 0
mb_col = 0
mb_offset = 0
block = <value optimized out>
stride_uv = 416
mb_row_flip = 0
stride_y = 832
golden_frame = 0
res = <value optimized out>
p = (AVFrame * const) 0x123ece0
is_alpha = <value optimized out>
alpha_offset = 0
#2 0x00007f34baac7d7b in avcodec_decode_video (avctx=0x1161290,
picture=0x7fffc380cbf0, got_picture_ptr=0x7fffc380cda8, buf=0x11ac540 "",
buf_size=18684)
at /build/buildd/ffmpeg-debian-0.svn20080206/libavcodec/utils.c:945
ret = <value optimized out>
#3 0x000000000040693a in output_packet (ist=0x116b4d0, ist_index=0,
ost_table=0x116b570, nb_ostreams=2, pkt=0x7fffc380db80)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:1108
os = (AVFormatContext *) 0x1161b10
ost = (AVOutputStream *) 0x116b4d0
ptr = (uint8_t *) 0x11ac540 ""
len = 18684
ret = <value optimized out>
i = 2
data_buf = (uint8_t *) 0x7f34b7351010 ""
data_size = 115200
got_picture = 0
picture = {data = {0x0, 0x0, 0x0, 0x0}, linesize = {0, 0, 0, 0},
base = {0x0, 0x0, 0x0, 0x0}, key_frame = 1, pict_type = 0,
pts = -9223372036854775808, coded_picture_number = 0,
display_picture_number = 0, quality = 0, age = 0, reference = 0,
qscale_table = 0x0, qstride = 0, mbskip_table = 0x0, motion_val = {0x0,
0x0}, mb_type = 0x0, motion_subsample_log2 = 0 '\0', opaque = 0x0,
error = {0, 0, 0, 0}, type = 0, repeat_pict = 0, qscale_type = 0,
interlaced_frame = 0, top_field_first = 0, pan_scan = 0x0,
palette_has_changed = 0, buffer_hints = 0, dct_coeff = 0x0, ref_index = {
0x0, 0x0}}
buffer_to_free = (void *) 0x0
subtitle = {format = 56192, start_display_time = 32767,
end_display_time = 3138816511, num_rects = 32564, rects = 0x1004}
subtitle_to_free = (AVSubtitle *) 0x0
got_subtitle = 0
samples_size = 204032
samples = (short int *) 0x7f34b7351010
#4 0x000000000040a291 in av_encode (output_files=0x612e40, nb_output_files=1,
input_files=0x612d00, nb_input_files=1, stream_maps=0x612ee0,
nb_stream_maps=0)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:1989
ist_index = 0
pkt = {pts = 4105, dts = 4105, data = 0x11ac540 "", size = 18684,
stream_index = 0, flags = 1, duration = 0,
destruct = 0x7f34bb165ee0 <av_destruct_packet>, priv = 0x0, pos = 187182}
file_index = <value optimized out>
ipts_min = <value optimized out>
opts_min = <value optimized out>
ret = <value optimized out>
i = <value optimized out>
j = 2
k = 1
n = 2
nb_ostreams = 2
is = <value optimized out>
os = (AVFormatContext *) 0x1161b10
codec = <value optimized out>
icodec = (AVCodecContext *) 0x21b10
ost = <value optimized out>
ost_table = (AVOutputStream **) 0x116b570
ist = (AVInputStream *) 0x116b4d0
key = <value optimized out>
want_sdp = 0
#5 0x000000000040a834 in main (argc=<value optimized out>,
argv=<value optimized out>)
at /build/buildd/ffmpeg-debian-0.svn20080206/ffmpeg.c:3939
ti = <value optimized out>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ffmpeg depends on:
ii libavcodec51 0.svn20080206-13 ffmpeg codec library
ii libavdevice52 0.svn20080206-13 ffmpeg device handling library
ii libavformat52 0.svn20080206-13 ffmpeg file format library
ii libavutil49 0.svn20080206-13 ffmpeg utility library
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii libimlib2 1.4.0-1.1 powerful image loading and renderi
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii libswscale0 0.svn20080206-13 ffmpeg video scaling library
ffmpeg recommends no packages.
ffmpeg suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list