mplayer crashes when playing flac files
Mehul Ved
mehul.n.ved at gmail.com
Fri Jan 18 10:14:50 PST 2008
Whenever I play a flac file, mplayer crashes with error :-
--------------
MPlayer interrupted by signal 11 in module: init_audio_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
--------------
Here's the needed information as per
/usr/local/share/doc/mplayer/bugreports_advusers.html
--------------
uname -a
FreeBSD bsd.mehulved.com 6.2-RELEASE FreeBSD 6.2-RELEASE #6: Mon Jan
7 03:49:20 IST 2008
root at bsd.mehulved.com:/usr/obj/usr/src/sys/MYKERNEL i386
--------------
-------------
ls -l /lib/libc[.-]*
-r--r--r-- 1 root wheel 922668 Jan 12 2007 /lib/libc.so.6
-------------
-------------
gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
-------------
-------------
ld -v
GNU ld version 2.15 [FreeBSD] 2004-05-23
-------------
-------------
as --version
GNU assembler 2.15 [FreeBSD] 2004-05-23
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-obrien-freebsd'.
-------------
-------------
(gdb) bt
#0 metadata_parse (s=0x88f7610) at bitstream.h:694
#1 0x082edfd0 in flac_decode_frame (avctx=0x61e8a, data=0x3ee00,
data_size=0xffffffff,
buf=0x10000 <Error reading address 0x10000: Bad address>,
buf_size=143664144) at flac.c:628
#2 0x0828e6af in avcodec_decode_audio2 (avctx=0x8902410, samples=0xbfbfd5e0,
frame_size_ptr=0x30f450, buf=0x815db14 "\203�\020\205�u\r�\a",
buf_size=143619600) at utils.c:970
#3 0x0813cd5e in decode_audio (sh_audio=0x888c900,
buf=0x3fe150e3 <Error reading address 0x3fe150e3: Bad address>, minlen=0,
maxlen=257536) at ad_ffmpeg.c:164
#4 0x0813cbd2 in init (sh_audio=0x888c900) at ad_ffmpeg.c:112
#5 0x08105f30 in init_audio_codec (sh_audio=0x888c900) at dec_audio.c:93
#6 0x0810622a in init_audio (sh_audio=0x888c900, codecname=0x88f73ca "",
afm=0xbfbfd684 "", status=135291777) at dec_audio.c:195
#7 0x08106381 in init_best_audio_codec (sh_audio=0x88f73b2,
audio_codec_list=0xbfbfd684, audio_fm_list=0xbfbfeb98) at dec_audio.c:238
#8 0x08082f6e in reinit_audio_chain () at mplayer.c:1482
#9 0x08086e7e in main (argc=3, argv=0xbfbfebe4) at mplayer.c:3271
------------------
------------------
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x82ecdc3 to 0x82ece03:
0x082ecdc3 <metadata_parse+195>: xor $0x83001a16,%eax
0x082ecdc8 <metadata_parse+200>: les (%eax),%edx
0x082ecdca <metadata_parse+202>: mov 0x40(%esp),%edi
0x082ecdce <metadata_parse+206>: add $0x4,%edi
0x082ecdd1 <metadata_parse+209>: lea 0x0(%esi),%esi
0x082ecdd4 <metadata_parse+212>: mov 0x8(%edi),%edx
0x082ecdd7 <metadata_parse+215>: mov %edx,%eax
0x082ecdd9 <metadata_parse+217>: sar $0x3,%eax
0x082ecddc <metadata_parse+220>: mov 0x40(%esp),%ecx
0x082ecde0 <metadata_parse+224>: mov 0x4(%ecx),%ebx
0x082ecde3 <metadata_parse+227>: movzbl (%ebx,%eax,1),%eax
0x082ecde7 <metadata_parse+231>: mov %edx,%ecx
0x082ecde9 <metadata_parse+233>: and $0x7,%ecx
0x082ecdec <metadata_parse+236>: shl %cl,%eax
0x082ecdee <metadata_parse+238>: shr $0x7,%al
0x082ecdf1 <metadata_parse+241>: inc %edx
0x082ecdf2 <metadata_parse+242>: mov %edx,0x8(%edi)
0x082ecdf5 <metadata_parse+245>: movzbl %al,%eax
0x082ecdf8 <metadata_parse+248>: mov %eax,0xc(%esp)
0x082ecdfc <metadata_parse+252>: mov %edx,%eax
0x082ecdfe <metadata_parse+254>: sar $0x3,%eax
0x082ece01 <metadata_parse+257>: mov (%ebx,%eax,1),%eax
End of assembler dump.
--------------
--------------
(gdb) info all-registers
eax 0x61e8a 401034
ecx 0x88f7610 143619600
edx 0x30f450 3208272
ebx 0x895a010 144023568
esp 0xbfbfd510 0xbfbfd510
ebp 0x6 0x6
esi 0x10 16
edi 0x88f7614 143619604
eip 0x82ecde3 0x82ecde3
eflags 0x210202 2163202
cs 0x33 51
ss 0x3b 59
ds 0xbfbf003b -1078001605
es 0x2949003b 692650043
fs 0x2949003b 692650043
gs 0x1b 27
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 63.107947805456702253246170641887147 (raw 0x4004fc6e89de98722ec4)
st3 862 (raw 0x4008d780000000000000)
st4 1 (raw 0x3fff8000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0.54112411133772053695167869591386989 (raw
0x3ffe8a871c1945c75000)
st7 0.54112411133772053695167869591386989 (raw
0x3ffe8a871c1945c75000)
fctrl 0x127f 4735
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x33 51
fioff 0x813cd2c 135515436
foseg 0x3b 59
fooff 0x888c9ac 143182252
fop 0x1c9 457
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x26caf}, v2_double = {0x0,
0x8000000000000000}, v16_int8 = {0x8, 0x50, 0xa0, 0xd, 0xf2, 0x5c, 0x5d,
0x18, 0x49, 0x3, 0xf9, 0xbd, 0xce, 0x2b, 0x1b, 0x48}, v8_int16 = {0x5008,
0xda0, 0x5cf2, 0x185d, 0x349, 0xbdf9, 0x2bce, 0x481b}, v4_int32 = {
0xda05008, 0x185d5cf2, 0xbdf90349, 0x481b2bce}, v2_int64 = {
0x185d5cf20da05008, 0x481b2bcebdf90349},
uint128 = 0x481b2bcebdf90349185d5cf20da05008}
xmm1 {v4_float = {0xa9bad780, 0x0, 0x0, 0x4f380000}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x51, 0x8a, 0xac,
0xce, 0x43, 0x1, 0xdc, 0x71, 0xc8, 0xcc, 0xdf, 0x36, 0xc8, 0xb0, 0x18,
0xd3}, v8_int16 = {0x8a51, 0xceac, 0x143, 0x71dc, 0xccc8, 0x36df, 0xb0c8,
0xd318}, v4_int32 = {0xceac8a51, 0x71dc0143, 0x36dfccc8, 0xd318b0c8},
v2_int64 = {0x71dc0143ceac8a51, 0xd318b0c836dfccc8},
uint128 = 0xd318b0c836dfccc871dc0143ceac8a51}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x8000000000000000}, v16_int8 = {0x82, 0x8f, 0x6e, 0x99, 0x9, 0xcb, 0x7a,
0x8, 0x45, 0x42, 0xb, 0xd, 0xfb, 0xe5, 0x22, 0xe8}, v8_int16 = {0x8f82,
0x996e, 0xcb09, 0x87a, 0x4245, 0xd0b, 0xe5fb, 0xe822}, v4_int32 = {
0x996e8f82, 0x87acb09, 0xd0b4245, 0xe822e5fb}, v2_int64 = {
0x87acb09996e8f82, 0xe822e5fb0d0b4245},
uint128 = 0xe822e5fb0d0b4245087acb09996e8f82}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0xff92fdf4}, v2_double = {
0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xb3, 0x1, 0x32,
0xb5, 0x87, 0xe0, 0xe3, 0xfb, 0x3e, 0x18, 0xcb, 0x62, 0x19, 0x4, 0xda,
0xca}, v8_int16 = {0x1b3, 0xb532, 0xe087, 0xfbe3, 0x183e, 0x62cb, 0x419,
0xcada}, v4_int32 = {0xb53201b3, 0xfbe3e087, 0x62cb183e, 0xcada0419},
v2_int64 = {0xfbe3e087b53201b3, 0xcada041962cb183e},
uint128 = 0xcada041962cb183efbe3e087b53201b3}
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 8064
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 = 0xfc6e89de98722ec4, v2_int32 = {0x98722ec4,
0xfc6e89de}, v4_int16 = {0x2ec4, 0x9872, 0x89de, 0xfc6e}, v8_int8 = {0xc4,
0x2e, 0x72, 0x98, 0xde, 0x89, 0x6e, 0xfc}}
mm3 {uint64 = 0xd780000000000000, v2_int32 = {0x0, 0xd7800000},
v4_int16 = {0x0, 0x0, 0x0, 0xd780}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x80, 0xd7}}
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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0x8a871c1945c75000, v2_int32 = {0x45c75000,
0x8a871c19}, v4_int16 = {0x5000, 0x45c7, 0x1c19, 0x8a87}, v8_int8 = {0x0,
0x50, 0xc7, 0x45, 0x19, 0x1c, 0x87, 0x8a}}
mm7 {uint64 = 0x8a871c1945c75000, v2_int32 = {0x45c75000,
0x8a871c19}, v4_int16 = {0x5000, 0x45c7, 0x1c19, 0x8a87}, v8_int8 = {0x0,
0x50, 0xc7, 0x45, 0x19, 0x1c, 0x87, 0x8a}}
--------------------
Should I file it as a bug with mplayer or is something wrong on my part?
More information about the freebsd-multimedia
mailing list