[Ffmpeg-devel] Illegal instruction
Alex2000deluxe at web.de
Alex2000deluxe
Wed Mar 14 10:56:13 CET 2007
> -----Urspr?ngliche Nachricht-----
> Von: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> Gesendet: 14.03.07 10:48:04
> An: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> Betreff: Re: [Ffmpeg-devel] Illegal instruction
> Hi,
>
> Alex2000deluxe at web.de wrote:
> >>-----Urspr?ngliche Nachricht-----
> >>Von: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> >>Gesendet: 14.03.07 10:19:29
> >>An: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> >>Betreff: Re: [Ffmpeg-devel] <kein Betreff>
> >
> >
> >
> >>Alex2000deluxe at web.de wrote:
> >>
> >>>Hi All,
> >>>
> >>>Sorry when Im posting the same Problem from user-mailing list to devel-mailing list. I tried all users advises but I could not solve the problem
> >>>and hope that developers can help me.
> >>>
> >>>i have troubles converting h264 to dv using ffmpeg. The error i get is "Illegal instruction" (not very informative).
> >>>Exact the command line execution works fine on my SuSe linux system (ffmpeg version SVN-r8287), but not on Mac (ffmpeg version SVN-r8287).
> >>>I played a lot with ffmpeg flags, but nothing helps. Every time i got "Illegal instruction".
> >>
> >>http://ffmpeg.mplayerhq.hu/bugreports.html
> >>gdb backtrace please.
> >>
> >>Guillaume
> >
> >
> > Hi Guillaume, thx for answer!
> >
> > Here is the gdb backtrace:
> >
> > NB7002:~/soft/ffmpeg-r8287 admin$ gdb ffmpeg_g
> > GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19 05:10:58 GMT 2006)
> > Copyright 2004 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 "i386-apple-darwin"...Reading symbols for shared libraries ......... done
> >
> > (gdb) r -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
> > Starting program: /Users/admin/soft/ffmpeg-r8287/ffmpeg_g -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
> > Reading symbols for shared libraries .+++++++ done
> > FFmpeg version SVN-r8287, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> > configuration: --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --extra-cflags=-DHAVE_LRINTF --extra-cflags=-I/opt/local/include --extra-ldflags=-dynamic -L/opt/local/lib --disable-ffplay --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-x264 --enable-pthreads --enable-shared
> > libavutil version: 49.3.0
> > libavcodec version: 51.38.0
> > libavformat version: 51.10.0
> > built on Mar 14 2007 10:03:08, gcc: 4.0.1 (Apple Computer, Inc. build 5363)
> > Input #0, avi, from 'test.avi':
> > Duration: 00:00:51.1, start: 0.000000, bitrate: 3726 kb/s
> > Stream #0.0: Video: h264, yuv420p, 720x576, 25.00 fps(r)
> > Stream #0.1: Audio: mp3, 48000 Hz, stereo, 192 kb/s
> > Output #0, dv, to 'test.avi.dv':
> > Stream #0.0: Video: dvvideo, yuv420p, 720x576, q=2-31, 200 kb/s, 25.00 fps(c)
> > Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> > Press [q] to stop encoding
> >
> > Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
> > 0x011415ef in ff_fdct_sse2 ()
> > (gdb)
> >
> >
> > Thx for your effort!
>
> Echo, echo .... Please send a gdb backtrace!
>
> You can obtain it by typing:
>
> bt
> disass $pc-32 $pc+32
> info all-registers
>
> after the prgm crashed on gdb prompt.
>
> Guillaume
sry, sry next chance.
P.S. I compiled the newest ffmpeg revision r-8397 but the same failure.
NB7002:~/soft/ffmpeg-r8397 admin$ gdb ffmpeg_g
GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19 05:10:58 GMT 2006)
Copyright 2004 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 "i386-apple-darwin"...Reading symbols for shared libraries ......... done
(gdb) -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
Undefined command: "-i". Try "help".
(gdb) r -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
Starting program: /Users/admin/soft/ffmpeg-r8397/ffmpeg_g -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
Reading symbols for shared libraries .+++++++ done
FFmpeg version SVN-r8397, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --extra-cflags=-I/opt/local/include --extra-ldflags=-dynamic -L/opt/local/lib --disable-ffplay --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-x264 --enable-pthreads --enable-shared
libavutil version: 49.3.0
libavcodec version: 51.38.0
libavformat version: 51.10.0
built on Mar 14 2007 10:48:38, gcc: 4.0.1 (Apple Computer, Inc. build 5363)
Input #0, avi, from 'test.avi':
Duration: 00:00:51.1, start: 0.000000, bitrate: 3726 kb/s
Stream #0.0: Video: h264, yuv420p, 720x576, 25.00 fps(r)
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 192 kb/s
Output #0, dv, to 'test.avi.dv':
Stream #0.0: Video: dvvideo, yuv420p, 720x576, q=2-31, 200 kb/s, 25.00 fps(c)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x011416df in ff_fdct_sse2 ()
(gdb) bt
#0 0x011416df in ff_fdct_sse2 ()
#1 0xbfffbe40 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x11416bf to 0x11416ff:
0x011416bf <ff_fdct_sse2+725>: cmc
0x011416c0 <ff_fdct_sse2+726>: int3
0x011416c1 <ff_fdct_sse2+727>: paddd %xmm7,%xmm3
0x011416c5 <ff_fdct_sse2+731>: paddd %xmm2,%xmm1
0x011416c9 <ff_fdct_sse2+735>: paddd %xmm6,%xmm3
0x011416cd <ff_fdct_sse2+739>: paddd %xmm6,%xmm1
0x011416d1 <ff_fdct_sse2+743>: psrad $0x11,%xmm3
0x011416d6 <ff_fdct_sse2+748>: psrad $0x11,%xmm1
0x011416db <ff_fdct_sse2+753>: packssdw %xmm3,%xmm1
0x011416df <ff_fdct_sse2+757>: movdqa %xmm1,0(%ecx)
0x011416e4 <ff_fdct_sse2+762>: movq 64(%esi),%xmm2
0x011416e9 <ff_fdct_sse2+767>: movq 72(%esi),%xmm0
0x011416ee <ff_fdct_sse2+772>: movdqa 32(%edx),%xmm3
0x011416f3 <ff_fdct_sse2+777>: movdqa 48(%edx),%xmm7
0x011416f8 <ff_fdct_sse2+782>: movq %xmm2,%xmm1
0x011416fc <ff_fdct_sse2+786>: pshuflw $0x1b,%xmm0,%xmm0
End of assembler dump.
(gdb) info all-registers
eax 0x13f4d20 20925728
ecx 0xbfffe968 -1073747608
edx 0x13f4d30 20925744
ebx 0x11413f9 18093049
esp 0xbfffbe20 0xbfffbe20
ebp 0xbfffe9c0 0xbfffe9c0
esi 0xbfffbe40 -1073758656
edi 0xbfffe9a0 -1073747552
eip 0x11416df 0x11416df <ff_fdct_sse2+757>
eflags 0x10282 66178
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
st0 -nan(0xffe90023003d0003) (raw 0xffffffe90023003d0003)
st1 -nan(0xfff5000a00150006) (raw 0xfffffff5000a00150006)
st2 -nan(0xfffb001100110001) (raw 0xfffffffb001100110001)
st3 -nan(0x6fffcfff6fffa) (raw 0xffff0006fffcfff6fffa)
st4 -nan(0xffeb0016000bffda) (raw 0xffffffeb0016000bffda)
st5 -nan(0xffe30015001affd9) (raw 0xffffffe30015001affd9)
st6 -nan(0xfff1000e0007ffe6) (raw 0xfffffff1000e0007ffe6)
st7 -nan(0x4fff100100019) (raw 0xffff0004fff100100019)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xaaaa 43690
fiseg 0x17 23
fioff 0x7fa4 32676
foseg 0x1f 31
fooff 0xbfffeb38 -1073747144
fop 0x55c 1372
xmm0 {
v4_float = {0, 0, 1.2412922e-23, 8.20916577e-22},
v2_double = {0, 3.7004198397922005e-186},
v16_int8 = "\000\000\000\000\000\000\000\000\031p\031?\034x\033X",
v8_int16 = {0, 0, 0, 0, 6512, 6608, 7288, 7000},
v4_int32 = {0, 0, 426777040, 477633368},
v2_int64 = {0, 1832993429961317208},
uint128 = 6348800164854591513
} (raw 0x581b781cd01970190000000000000000)
xmm1 {
v4_float = {-nan(0x71ff4b), 1.83670712e-39, 1.56104649e-39, -6.06844244e+36},
v2_double = {-nan(0x1ff4b0013fffe), 2.3639054047052597e-308},
v16_int8 = "???K\000\023??\000\020????\027?",
v8_int16 = {-15, -181, 19, -2, 16, -112, -878, 6058},
v4_int32 = {-917685, 1310718, 1114000, -57534550},
v2_int64 = {-3941427061719042, 4784597805176746},
uint128 = 0xfff1ff4b0013fffe0010ff90fc9217aa
} (raw 0xaa1792fc90ff1000feff13004bfff1ff)
xmm2 {
v4_float = {-3.56608165e+37, 4.77361427e-26, -1.31813839e+38, 1.3183191e-24},
v2_double = {-1.4797160889999555e+298, -4.7856622446414928e+302},
v16_int8 = "??0\025l`???T?\027?\000",
v8_int16 = {-554, -24528, 5484, 24768, -314, 21720, 6092, 0},
v4_int32 = {-36265936, 359424192, -20556584, 399245312},
v2_int64 = {-155761008719404864, -88289855598231552},
uint128 = 0xfdd6a030156c60c0fec654d817cc0000
} (raw 0x0000cc17d854c6fec0606c1530a0d6fd)
xmm3 {
v4_float = {-nan(0x7ffff1), -nan(0x7fff4b), 2.66246708e-44, -nan(0x7ffffe)},
v2_double = {-nan(0xffff1ffffff4b), 4.2439915818317315e-313},
v16_int8 = "???????K\000\000\000\023????",
v8_int16 = {-1, -15, -1, -181, 0, 19, -1, -2},
v4_int32 = {-15, -181, 19, -2},
v2_int64 = {-60129542325, 85899345918},
uint128 = 0xfffffff1ffffff4b00000013fffffffe
} (raw 0xfeffffff130000004bfffffff1ffffff)
xmm4 {
v4_float = {-385148768, -3.20973044e-12, 12736709, 2.00390625},
v2_double = {-2.4909784150507209e+66, 3.5145409471269085e+54},
v16_int8 = "??;?a?]KBX?@\000@",
v8_int16 = {-12873, -22725, -21407, -8867, 19266, 22725, 16384, 16384},
v4_int32 = {-843602117, -1402872483, 1262639301, 1073758208},
v2_int64 = {-3623243500459270819, 5422994505513058304},
uint128 = 0xcdb7a73bac61dd5d4b4258c540004000
} (raw 0x00400040c558424b5ddd61ac3ba7b7cd)
xmm5 {
v4_float = {-1.67349358e+28, 4.42697758e-18, 2.6536717e-28, 2.00390625},
v2_double = {-3.5126544735784235e+223, 1.3073881007061008e-223},
v16_int8 = "?XKB\"?S?\021?2I@\000@",
v8_int16 = {-4520, 19266, 8867, 21407, 4520, 12873, 16384, 16384},
v4_int32 = {-296203454, 581129119, 296235593, 1073758208},
v2_int64 = {-1272184147311111265, 1272322184919924736},
uint128 = 0xee584b4222a3539f11a8324940004000
} (raw 0x004000404932a8119f53a322424b58ee)
xmm6 {
v4_float = {9.18354962e-41, 9.18354962e-41, 9.18354962e-41, 9.18354962e-41},
v2_double = {1.3906711618907917e-309, 1.3906711618907917e-309},
v16_int8 = "\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000",
v8_int16 = {1, 0, 1, 0, 1, 0, 1, 0},
v4_int32 = {65536, 65536, 65536, 65536},
v2_int64 = {281474976776192, 281474976776192},
uint128 = 0x00010000000100000001000000010000
} (raw 0x00000100000001000000010000000100)
xmm7 {
v4_float = {-1.55086038e+38, 6.59574288e-34, 2.47708763e-38, -2.28627215e+38},
v2_double = {-2.1728081262533004e+303, 1.04196940491731e-303},
v16_int8 = "??X?\b[.`\001\006??,\000",
v8_int16 = {-279, 22776, 2139, 11872, 262, -8816, -212, 0},
v4_int32 = {-18261768, 140193376, 17227152, -13893632},
v2_int64 = {-78433696186945952, 73990058724294656},
uint128 = 0xfee958f8085b2e600106dd90ff2c0000
} (raw 0x00002cff90dd0601602e5b08f858e9fe)
mxcsr 0x1fa0 8096
mm0 {
uint64 = -6473774136492029,
v2_int32 = {3997699, -1507293},
v4_int16 = {3, 61, 35, -23},
v8_int8 = "\003\000=\000#\000??"
} (raw 0xffe90023003d0003)
mm1 {
uint64 = -3096181792767994,
v2_int32 = {1376262, -720886},
v4_int16 = {6, 21, 10, -11},
v8_int8 = "\006\000\025\000\n\000??"
} (raw 0xfff5000a00150006)
mm2 {
uint64 = -1407301867995135,
v2_int32 = {1114113, -327663},
v4_int16 = {1, 17, 17, -5},
v8_int8 = "\001\000\021\000\021\000??"
} (raw 0xfffb001100110001)
mm3 {
uint64 = 1970311951482874,
v2_int32 = {-589830, 458748},
v4_int16 = {-6, -10, -4, 6},
v8_int8 = "??????\006"
} (raw 0x0006fffcfff6fffa)
mm4 {
uint64 = -5910880020856870,
v2_int32 = {786394, -1376234},
v4_int16 = {-38, 11, 22, -21},
v8_int8 = "??\v\000\026\000??"
} (raw 0xffeb0016000bffda)
mm5 {
uint64 = -8162684128526375,
v2_int32 = {1769433, -1900523},
v4_int16 = {-39, 26, 21, -29},
v8_int8 = "??\032\000\025\000??"
} (raw 0xffe30015001affd9)
mm6 {
uint64 = -4222064520593434,
v2_int32 = {524262, -983026},
v4_int16 = {-26, 7, 14, -15},
v8_int8 = "??\a\000\016\000??"
} (raw 0xfff1000e0007ffe6)
mm7 {
uint64 = 1407310460092441,
v2_int32 = {1048601, 327665},
v4_int16 = {25, 16, -15, 4},
v8_int8 = "\031\000\020\000??\004"
} (raw 0x0004fff100100019)
(gdb)
Many thx
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
_______________________________________________________________________
Viren-Scan f?r Ihren PC! Jetzt f?r jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
More information about the ffmpeg-devel
mailing list