It might be a bug, or maybe something is miscompiled, I dont know
This is happened when I try to encode any video (I think; I tried avi(mpeg2, mpeg4 ...) asf, flv etc...), using mp3 for audio encoder: sorg at localhost /mnt/wdc/video $ cd /home/sorg/ffmpeg/ sorg at localhost ~/ffmpeg $ gdb ./ffmpeg_g GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r -i /mnt/wdc/video/saijai1.asf -vcodec mpeg4 -b 500k -acodec mp3 -ab 128k /home/sorg/muca.avi Starting program: /home/sorg/ffmpeg/ffmpeg_g -i /mnt/wdc/video/saijai1.asf -vcodec mpeg4 -b 500k -acodec mp3 -ab 128k /home/sorg/muca.avi Failed to read a valid object file image from memory. FFmpeg version SVN-r8459, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-libmp3lame libavutil version: 49.4.0 libavcodec version: 51.40.0 libavformat version: 51.11.0 built on Mar 21 2007 00:52:19, gcc: 4.1.2 (Gentoo 4.1.2) Seems stream 1 codec frame rate differs from container frame rate: 1000.00(1000/1) -> 25.00 (25/1) Input #0, asf, from '/mnt/wdc/video/saijai1.asf': Duration: 00:00:07.0, start: 3.000000, bitrate: 734 kb/s Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s Stream #0.1: Video: wmv1, yuv420p, 320x240, 25.00 fps(r) File '/home/sorg/muca.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to '/home/sorg/muca.avi': Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, 500 kb/s, 25.00fps(c) Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Program received signal SIGFPE, Arithmetic exception. 0xb7efdcba in lame_init_params () from /usr/lib/libmp3lame.so.0 (gdb) bt #0 0xb7efdcba in lame_init_params () from /usr/lib/libmp3lame.so.0 #1 0xb7ee0180 in ?? () from /lib/libc.so.6 #2 0xb7ee8ee8 in ?? () from /usr/lib/libmp3lame.so.0 #3 0xb7f92510 in ?? () #4 0x00010878 in ?? () #5 0x086aa788 in ?? () #6 0x0000007c in ?? () #7 0x00024040 in ?? () #8 0xb7edeff4 in ?? () from /lib/libc.so.6 #9 0xb7ee0180 in ?? () from /lib/libc.so.6 #10 0x00010878 in ?? () #11 0xbfea4128 in ?? () #12 0xb7e28b75 in calloc () from /lib/libc.so.6 Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0xb7efdc9a to 0xb7efdcda: 0xb7efdc9a <lame_init_params+4954>: and $0xd9,%al 0xb7efdc9c <lame_init_params+4956>: rcr $0xa3,%al 0xb7efdc9f <lame_init_params+4959>: mov %ah,0xffffffff(%ebp) 0xb7efdca2 <lame_init_params+4962>: incl 0x30dc04c4(%ebx) 0xb7efdca8 <lame_init_params+4968>: fstps 0x7cc8(%edi) 0xb7efdcae <lame_init_params+4974>: jmp 0xb7efcfd2 <lame_init_params+1682> 0xb7efdcb3 <lame_init_params+4979>: mov 0xb0(%esp),%esi 0xb7efdcba <lame_init_params+4986>: flds 0x48(%esi) 0xb7efdcbd <lame_init_params+4989>: jmp 0xb7efca9e <lame_init_params+350> 0xb7efdcc2 <lame_init_params+4994>: cmp $0x3b92,%ecx 0xb7efdcc8 <lame_init_params+5000>: mov $0xac44,%esi 0xb7efdccd <lame_init_params+5005>: jg 0xb7efcc06 <lame_init_params+710> 0xb7efdcd3 <lame_init_params+5011>: cmp $0x2bd4,%ecx 0xb7efdcd9 <lame_init_params+5017>: mov $0x7d00,%si End of assembler dump. (gdb) info all-registers eax 0x80 128 ecx 0x85ddc70 140369008 edx 0x85ddc70 140369008 ebx 0xb7f29808 -1208838136 esp 0xbfea40c0 0xbfea40c0 ebp 0xb7d0f008 0xb7d0f008 esi 0x85ddc70 140369008 edi 0x80 128 eip 0xb7efdcba 0xb7efdcba <lame_init_params+4986> eflags 0x10202 [ IF RF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 1 (raw 0x3fff8000000000000000) st5 1 (raw 0x3fff8000000000000000) st6 2 (raw 0x40008000000000000000) st7 1 (raw 0x3fff8000000000000000) fctrl 0x372 882 fstat 0x80a1 32929 ftag 0xffff 65535 fiseg 0x73 115 fioff 0xb7f1235b -1208933541 foseg 0x7b 123 fooff 0xb7f2ba00 -1208829440 fop 0x11f 287 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, ---Type <return> to continue, or q <return> to quit--- uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1f80 [ IM DM ZM OM UM PM ] mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm4 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm5 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm6 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} (gdb)
participants (1)
-
dosentnd@gmail.com