Bug#561553: ffmpeg: segmentation fault when creating mjpeg file from jpg sequence
B. Bogart
ben at ekran.org
Fri Dec 18 07:17:54 UTC 2009
Reinhard Tartler wrote:
> this is a good indication that this bug is also present in current
> trunk, i.e., this bug needs to be confirmed and upstreamed.
Compiling ffmpeg fresh for current svn also has the same problem.
> Just a try: please disable your /usr/lib/i686/cmov/ directory (e.g.,
> by renaming). If this causes the symptom to disappear, then the
> defect is in the hand written assembler in i386/dsputil_mmx.c
renaming the directory has not changed the result:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf73776c0 (LWP 19789)]
0xf79c77b0 in get_pixels_mmx (block=0x85fdbf0, 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 0xf79c77b0 in get_pixels_mmx (block=0x85fdbf0, 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 0xf7a812fc in encode_thread (c=0x8607ba0, arg=0x86031a0)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/mpegvideo_enc.c:1537
#2 0xf79bfd6e in avcodec_default_execute (c=0x8607ba0, func=0xf7a7ac60
<encode_thread>, arg=0x860326c, ret=0x0, count=1)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/utils.c:404
#3 0xf7a6cf02 in MPV_encode_picture (avctx=0x8607ba0, buf=0xf724a020
"ÿØÿþ", buf_size=1228800, data=0xffc15e5c)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/mpegvideo_enc.c:2921
#4 0xf79c14b0 in avcodec_encode_video (avctx=0x8607ba0, buf=0xf724a020
"ÿØÿþ", buf_size=1228800, pict=0xffc15e5c)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/libavcodec/utils.c:917
#5 0x0804d412 in output_packet (ist=0x86030f0, ist_index=0,
ost_table=0x8607930, nb_ostreams=1, pkt=0xffc16f98)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/ffmpeg.c:837
#6 0x08051b68 in av_encode (output_files=0x805a440, nb_output_files=1,
input_files=0x805a340, nb_input_files=1,
stream_maps=0x805a4a0, nb_stream_maps=0)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/ffmpeg.c:1989
#7 0x08052175 in main (argc=Cannot access memory at address 0x2a0
)
at
/build/siretart-ffmpeg-debian_0.svn20080206-18-i386-ZyxKlX/ffmpeg-debian-0.svn20080206-18/ffmpeg.c:3939
More information about the pkg-multimedia-maintainers
mailing list