[MPlayer-users] [Bug_Report - Crash] Segfault in module: decode_audio

Vincent Gerard v.ge at wanadoo.fr
Sun Feb 4 17:09:58 CET 2007


Hello,

Since some versions, Mplayer segfault sometimes during the play,i have not 
reported this bug before because it occurs very rarely.

I have found a file where this crash occurs more often , i think can reproduce 
the Crash quite easily if you need some additionnal information.

This is my first bug-report for mplayer, sorry if it doesn't respect 
the "standard model"

Thank you again for this fantastic video player !

Vincent Gerard

----------------------------

Debug infos :

System information :
-----------------------------
distrib : Gentoo 2006.1 64bits, up to date on AMD64.
kernel : 2.6.18-gentoo-r6
libc version 2.4 NPTL
gcc version 4.1.1 (Gentoo 4.1.1-r1)
GNU ld version 2.16.1

MPlayer 1.0rc1-4.1.1

CPUinfo :
--------------------------
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) 64 Processor 3400+
stepping        : 8
cpu MHz         : 2202.906
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 4410.74
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
--------------------------------------------

GDB output :

A:1163.2 V:1163.2 A-V:  0.003 ct:  0.415 967/967  2%  0%  0.4% 0 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47178447529232 (LWP 6788)]
0x000000000079fb2a in vorbis_residue_decode (vc=0xd6a9a0, vr=0xd7f6a0, 
ch=2 '\002', do_not_decode=0x7fff1a765420 "",
    vec=0xd6d570, vlen=1024) at vorbis.c:1512

Backtrace :

#0  0x000000000079fb2a in vorbis_residue_decode (vc=0xd6a9a0, vr=0xd7f6a0, 
ch=2 '\002', do_not_decode=0x7fff1a765420 "",
    vec=0xd6d570, vlen=1024) at vorbis.c:1512
#1  0x00000000007a0f73 in vorbis_parse_audio_packet (vc=0xd6a9a0) at 
vorbis.c:1658
#2  0x00000000007a1628 in vorbis_decode_frame (avccontext=<value optimized 
out>, data=0x2aaaaab2ac10,
    data_size=0x7fff1a765594, buf=<value optimized out>, buf_size=185) at 
vorbis.c:1773
#3  0x00000000005ad816 in avcodec_decode_audio (avctx=0xd696f0, samples=0x2, 
frame_size_ptr=0xd6e7b0, buf=0xd6d7b0 "",
    buf_size=4676) at utils.c:924
#4  0x0000000000492000 in decode_audio (sh_audio=0xca3850,
    buf=0x2aaaaab2ac10 "©á^á\026ãÍâwä$ä@åÓä\201åßä\216å¨ä­
å\225ä\næêä\212æ\220å²æüå\020æ¥åÕä¨ä±ã­
ã-ãDãRãrãÒãÕã7äìã$äpãÇã»âåã¨âïä\233ã)æÌä\205æ*å$æÇä/æ³ä3çyå\235è®æ\tê\027èïë(êcîÓì\022ð¹î¨ï\217î¢íØìÁëNëÅê¥êÇéðéïçFè±å\bæïã\027ä²â\216âsáþà<à\177ßÞßéÞ\020áðߣãZâ¾æ@åÔé\033è=íXë\214ñ\237ï]ö\213ô"..., 
minlen=7936, maxlen=<value optimized out>) at ad_ffmpeg.c:161
#5  0x000000000048e798 in decode_audio (sh_audio=0xca3850, 
buf=0xdaeeb0 "æôfò\226ø\200õTü¿ø¹ÿ´ûÈ\002Zþ \005Å",
    minlen=<value optimized out>, maxlen=<value optimized out>) at 
dec_audio.c:387
#6  0x0000000000421769 in main (argc=<value optimized out>, argv=<value 
optimized out>) at mplayer.c:4075
-------------------------

disass $pc-32 $pc+32 :

Dump of assembler code from 0x79fb0a to 0x79fb4a:
0x000000000079fb0a <vorbis_residue_decode+1866>:    lea    (%r8,%r14,1),%rdx
0x000000000079fb0e <vorbis_residue_decode+1870>:    xor    %esi,%esi
0x000000000079fb10 <vorbis_residue_decode+1872>:    movzbl %sil,%eax
0x000000000079fb14 <vorbis_residue_decode+1876>:    movss  (%rcx),%xmm0
0x000000000079fb18 <vorbis_residue_decode+1880>:    lea    (%r10,%rax,1),%rax
0x000000000079fb1c <vorbis_residue_decode+1884>:    add    $0x2,%esi
0x000000000079fb1f <vorbis_residue_decode+1887>:     inc    %r12
0x000000000079fb22 <vorbis_residue_decode+1890>:    add    $0x4,%r8
0x000000000079fb26 <vorbis_residue_decode+1894>:    shl    $0x2,%rax
0x000000000079fb2a <vorbis_residue_decode+1898>:    addss  (%rdi,%rax,1),%xmm0
0x000000000079fb2f <vorbis_residue_decode+1903>:     movss  %xmm0,(%rcx)
0x000000000079fb33 <vorbis_residue_decode+1907>:    add    $0x4,%rcx
0x000000000079fb37 <vorbis_residue_decode+1911>:    movss  (%rdx),%xmm0
0x000000000079fb3b <vorbis_residue_decode+1915>:    addss  0x4(%rdi,%rax,1),
%xmm0
0x000000000079fb41 <vorbis_residue_decode+1921>:    movzbl %sil,%eax
0x000000000079fb45 <vorbis_residue_decode+1925>:    movss  %xmm0,(%rdx)
0x000000000079fb49 <vorbis_residue_decode+1929>:    add    $0x4,%rdx
End of assembler dump.

Info all registers:
----------------------------------------------------------

rax            0x3fffffff0      17179869168
rbx            0x8      8
rcx            0xd6d7b0 14079920
rdx            0xd6e7b0 14084016
rsi            0x2      2
rdi            0xcea1b0 13541808
rbp            0x7fff1a7653e0   0x7fff1a7653e0
rsp            0x7fff1a765290   0x7fff1a765290
r8             0x1244   4676
r9             0xffffffff       4294967295
r10            0xfffffffc       4294967292
r11            0x4      4
r12            0x91     145
r13            0xd9c080 14270592
r14            0xd6d570 14079344
r15            0x2b     43
rip            0x79fb2a 0x79fb2a <vorbis_residue_decode+1898>
eflags         0x210216 [ PF AF IF RF ID ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            -nan(0xe8f8ed83ee74f2ad) (raw 0xffffe8f8ed83ee74f2ad)
st1            -nan(0xffffe8f8ffffed83) (raw 0xffffffffe8f8ffffed83)
st2            -nan(0xbe4e7ed1be424184) (raw 0xffffbe4e7ed1be424184)
st3            -nan(0xbe424184be4e7ed1) (raw 0xffffbe424184be4e7ed1)
st4            -nan(0xbe383d48be0c6355) (raw 0xffffbe383d48be0c6355)
st5            -nan(0x3db9d6793e2846a5) (raw 0xffff3db9d6793e2846a5)
st6            -nan(0x3e3b5de400000000) (raw 0xffff3e3b5de400000000)
st7            -nan(0x080000000)        (raw 0xffff0000000080000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
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 = {0x2, 0x4, 0xffffba52, 0xffffc333}, v2_double = 
{0x48b, 0x8000000000000000}, v16_int8 = {0x0,
    0x0, 0x0, 0x40, 0x28, 0x2d, 0x92, 0x40, 0x35, 0x5c, 0x8b, 0xc6, 0x54, 
0x34, 0x73, 0xc6}, v8_int16 = {0x0, 0x4000,
    0x2d28, 0x4092, 0x5c35, 0xc68b, 0x3454, 0xc673}, v4_int32 = {0x40000000, 
0x40922d28, 0xc68b5c35, 0xc6733454},
  v2_int64 = {0x40922d2840000000, 0xc6733454c68b5c35}, uint128 = 
0xc6733454c68b5c3540922d2840000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0,
    0x80, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x80}, v8_int16 = {0x0, 0x8000, 
0x0, 0x8000, 0x0, 0x8000, 0x0, 0x8000},
  v4_int32 = {0x80000000, 0x80000000, 0x80000000, 0x80000000}, v2_int64 = 
{0x8000000080000000, 0x8000000080000000},
  uint128 = 0x80000000800000008000000080000000}
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},
  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, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0,
    0x80, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x80}, v8_int16 = {0x0, 0x8000, 
0x0, 0x8000, 0x0, 0x8000, 0x0, 0x8000},
  v4_int32 = {0x80000000, 0x80000000, 0x80000000, 0x80000000}, v2_int64 = 
{0x8000000080000000, 0x8000000080000000},
  uint128 = 0x80000000800000008000000080000000}
xmm6           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0,
    0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 
0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0}, uint128 
= 0x00000000000000003ff0000000000000}
xmm7           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0,
    0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 
0x3fe0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x3fe00000, 0x0, 0x0}, v2_int64 = {0x3fe0000000000000, 0x0}, uint128 
= 0x00000000000000003fe0000000000000}
xmm8           {v4_float = {0x0, 0x2, 0x0, 0x0}, v2_double = {0x3, 0x0}, 
v16_int8 = {0x0, 0x0, 0x0, 0x60, 0xd9, 0x8, 0x9,
    0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x6000, 
0x8d9, 0x4009, 0x0, 0x0, 0x0, 0x0},
  v4_int32 = {0x60000000, 0x400908d9, 0x0, 0x0}, v2_int64 = 
{0x400908d960000000, 0x0},
  uint128 = 0x0000000000000000400908d960000000}
xmm9           {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}
xmm10          {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}
xmm11          {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}
xmm12          {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}
xmm13          {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}
xmm14          {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}
xmm15          {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          0x1fa0   [ PE IM DM ZM OM UM PM ]

End of info-all-registers---------------------




More information about the MPlayer-users mailing list