[Ffmpeg-devel] [BUG] better gdb report on crash in fft.c on mingw.
tempn at twmi.rr.com
tempn
Wed Jun 28 22:38:52 CEST 2006
here is a better gdb output of the bug i reported a week ago
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-June/011821.html
hope this helps
-compn
bt
#0 0x008010d8 in ff_fft_calc_c (s=0x2c7f2a0, z=0x2c7f370) at fft.c:224
#1 0x007ffe39 in ff_imdct_calc (s=0x2c7f290, output=0x226ad0,
input=0x2c7b290, tmp=0x2c7f370) at dsputil.h:597
#2 0x006b9c06 in wma_decode_block (s=0x2c74e30) at wmadec.c:1116
#3 0x006ba6bb in wma_decode_frame (s=0x2c74e30, samples=0x2c36008)
at wmadec.c:1170
#4 0x006baa9f in wma_decode_superframe (avctx=0x3110050, data=0x2c36008,
data_size=0x22ec08, buf=0x2c1ca00 "\004", buf_size=1152) at
wmadec.c:1271
#5 0x005998b4 in avcodec_decode_audio (avctx=0x3110050, samples=0x2c36008,
frame_size_ptr=0x22ec08, buf=0x2c1ca00 "\004", buf_size=1152)
at utils.c:976
#6 0x004a076e in decode_audio (sh_audio=0x2c01c28, buf=0x2c36008 "",
minlen=1, maxlen=257536) at ad_ffmpeg.c:159
#7 0x004a04a7 in init (sh_audio=0x2c01c28) at ad_ffmpeg.c:109
#8 0x00462975 in init_audio_codec (sh_audio=0x2c01c28) at dec_audio.c:93
#9 0x00462d32 in init_audio (sh_audio=0x2c01c28, codecname=0x0, afm=0x0,
status=2) at dec_audio.c:192
#10 0x004630bf in init_best_audio_codec (sh_audio=0x2c01c28,
audio_codec_list=0x22ed04, audio_fm_list=0x0) at dec_audio.c:237
#11 0x00407935 in reinit_audio_chain () at mplayer.c:2346
#12 0x0040d395 in main (argc=3, argv=0x1b629d0) at mplayer.c:3594
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8010b8 to 0x8010f8:
0x8010b8 <ff_fft_calc_c+280>: fadd %st(3),%st
0x8010ba <ff_fft_calc_c+282>: fxch %st(2)
0x8010bc <ff_fft_calc_c+284>: fstps (%eax)
0x8010be <ff_fft_calc_c+286>: fsubp %st,%st(2)
0x8010c0 <ff_fft_calc_c+288>: fstps 0x4(%edx)
0x8010c3 <ff_fft_calc_c+291>: add $0x8,%edx
0x8010c6 <ff_fft_calc_c+294>: fstps 0x4(%eax)
0x8010c9 <ff_fft_calc_c+297>: add $0x8,%eax
0x8010cc <ff_fft_calc_c+300>: cmp %esi,%ebx
0x8010ce <ff_fft_calc_c+302>: jge 0x801122 <ff_fft_calc_c+386>
0x8010d0 <ff_fft_calc_c+304>: flds 0x4(%eax)
0x8010d3 <ff_fft_calc_c+307>: mov 0xffffffec(%ebp),%edi
0x8010d6 <ff_fft_calc_c+310>: flds (%eax)
0x8010d8 <ff_fft_calc_c+312>: flds (%edi,%ecx,8)
0x8010db <ff_fft_calc_c+315>: flds 0x4(%edi,%ecx,8)
0x8010df <ff_fft_calc_c+319>: add %ebx,%ecx
0x8010e1 <ff_fft_calc_c+321>: fld %st(1)
0x8010e3 <ff_fft_calc_c+323>: fmul %st(3),%st
0x8010e5 <ff_fft_calc_c+325>: fxch %st(2)
0x8010e7 <ff_fft_calc_c+327>: fmul %st(4),%st
0x8010e9 <ff_fft_calc_c+329>: fxch %st(3)
0x8010eb <ff_fft_calc_c+331>: fmul %st(1),%st
0x8010ed <ff_fft_calc_c+333>: fxch %st(1)
0x8010ef <ff_fft_calc_c+335>: fmulp %st,%st(4)
0x8010f1 <ff_fft_calc_c+337>: faddp %st,%st(2)
0x8010f3 <ff_fft_calc_c+339>: flds (%edx)
0x8010f5 <ff_fft_calc_c+341>: flds 0x4(%edx)
End of assembler dump.
(gdb) info all-registers
eax 0x2c7f398 46658456
ecx 0x80 128
edx 0x2c7f378 46658424
ebx 0x80 128
esp 0x22699c 0x22699c
ebp 0x2269b8 0x2269b8
esi 0x200 512
edi 0x0 0
eip 0x8010d8 0x8010d8
eflags 0x10283 66179
cs 0x1b 27
ss 0x23 35
ds 0x23 35
es 0x23 35
fs 0x38 56
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0.001 (raw 0x3ff583126e978d4fe000)
st3 0.001 (raw 0x3ff583126e978d4fe000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x80000000000000000000)
fctrl 0xffff027f -64897
fstat 0xffff3020 -53216
ftag 0xffff5fff -40961
fiseg 0x0 0
fioff 0x0 0
foseg 0xffff0000 -65536
fooff 0x0 0
fop 0x0 0
(gdb)
More information about the ffmpeg-devel
mailing list