Bug#561553: ffmpeg: segmentation fault when creating mjpeg file from jpg sequence
B. Bogart
ben at ekran.org
Fri Dec 18 05:39:57 UTC 2009
Package: ffmpeg
Version: 0.svn20080206-18
Severity: normal
I'm using the following command to create a avi from a sequence of
jpegs:
ffmpeg -intra -an -sameq -i "images/store_%05d.jpg" -vcodec mjpeg
output.avi
Around frame 20000 I get a segmentation fault producing the following
backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf73c46c0 (LWP 11201)]
0xf7a13cb0 in ?? () from /usr/lib/i686/cmov/libavcodec.so.51
(gdb) bt
#0 0xf7a13cb0 in ?? () from /usr/lib/i686/cmov/libavcodec.so.51
#1 0x09cc1bc0 in ?? ()
#2 0x09b531a0 in ?? ()
#3 0xf7acd668 in ?? () from /usr/lib/i686/cmov/libavcodec.so.51
#4 0x09b4dbf0 in ?? ()
#5 0x00000000 in ?? ()
First I thought it was a bad jpeg (attached). So I filled a directory
with 22500 symbolic links to the attached jpeg.
When trying to run the same ffmpeg command I get an identical segfault,
always happening around frame 214xx. Remeber all frames are simply
links that point to the attached jpeg.
This happens both in the lenny ffmpeg, and the ffmpeg included in
debian multimedia.
I just installed the ffmpeg-dbg package which gives the following in
gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf739f6c0 (LWP 12337)]
0xf79eecb0 in get_pixels_mmx (block=0x9170bf0, pixels=0x0,
line_size=336)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/i386/dsputil_mmx.c:225
225
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/i386/dsputil_mmx.c:
No such file or directory.
in
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/i386/dsputil_mmx.c
(gdb) bt
#0 0xf79eecb0 in get_pixels_mmx (block=0x9170bf0, pixels=0x0,
line_size=336)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/i386/dsputil_mmx.c:225
#1 0xf7aa8668 in encode_thread (c=0x917aba0, arg=0x91761a0)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/mpegvideo_enc.c:1537
#2 0xf79e729e in avcodec_default_execute (c=0x917aba0, func=0xf7aa2110
<encode_thread>, arg=0x917626c, ret=0x0, count=1)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/utils.c:404
#3 0xf7a944d2 in MPV_encode_picture (avctx=0x917aba0, buf=0xf7272020
"ÿØÿþ", buf_size=1228800, data=0xffe3d07c)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/mpegvideo_enc.c:2921
#4 0xf79e89d0 in avcodec_encode_video (avctx=0x917aba0, buf=0xf7272020
"ÿØÿþ", buf_size=1228800, pict=0xffe3d07c)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/utils.c:917
#5 0x0804d412 in _start ()
#6 0x0917aba0 in ?? ()
#7 0xf7272020 in ?? ()
#8 0x0012c000 in ?? ()
#9 0xffe3d07c in ?? ()
#10 0x33240a80 in ?? ()
#11 0x00000000 in ?? ()
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages ffmpeg depends on:
ii libavcodec51 0.svn20080206-18 ffmpeg codec library
ii libavdevice52 0.svn20080206-18 ffmpeg device handling library
ii libavformat52 0.svn20080206-18 ffmpeg file format library
ii libavutil49 0.svn20080206-18 ffmpeg utility library
ii libc6 2.9-3 GNU C Library: Shared libraries
ii libfreetype6 2.3.7-2+lenny1 FreeType 2 font engine, shared lib
ii libimlib2 1.4.2-4 powerful image loading and renderi
ii libsdl1.2debian 1.2.13-4 Simple DirectMedia Layer
ii libswscale0 0.svn20080206-18 ffmpeg video scaling library
ffmpeg recommends no packages.
ffmpeg suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: store_21421.jpg
Type: image/jpeg
Size: 15940 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20091217/745e8cf8/attachment.jpg>
More information about the pkg-multimedia-maintainers
mailing list