[MPlayer-users] MPlayer crash - Bugreport

Timo Teifel timo at teifel-net.de
Sun Nov 24 16:45:02 CET 2002


Hi,

I had a file which had a A/V desynchronization of about 300ms, the
audio was behind the movie, and since mencoder can't fix that, I used
VirtualDub...
The Original file just skipped a few seconds at the exact same position,
reporting:
---
error while decoding block: 26 x 4 (3)
Error at MB: 170
concealing errors
a52: CRC check failed!  0.003 ct:  0.056  73727/73727   9%  4%  1.8% 0 0 50%
a52: error at resampling
---
After AV Synchronisation with VirtualDub, MPlayer crashes. (See 
.log and sample .avi file!) Another File I corrected the same way doesn't 
show such a problem...

Here the requested System Info:

Redhat 8.0
Linux itchy 2.4.19 #2 Mon Oct 14 10:54:32 CEST 2002 i686 athlon i386 GNU/Linux
/lib/libc-2.2.93.so
XFree86, 4.2.0
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
GNU ld version 2.13.90.0.2 20020802
binutils version: GNU assembler 2.13.90.0.2 20020802
KDE 3
no gui

Hardware:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 902.061
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat 
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1795.68

Elsa GeForce 2MX with TV-Out
NVidia Kernel Driver (closed source) 1.0-3123
Creative SBLive! 5.1, oss drivers


MPlayer CVS-021124-06:00-3.2

Since the bug is reproducable, I followed instructions in the DOC's,
recompiled newest CVS Version and included the debugger output:
(gdb) bt
#0  msmpeg4_decode_block (s=0x8352cb0, block=0x835bce8, n=1, coded=-1)
    at msmpeg4.c:1823
#1  0x081954ef in msmpeg4v34_decode_mb (s=0x8352cb0, block=0x835bc68)
    at msmpeg4.c:1631
#2  0x0819bffd in decode_slice (s=0x8352cb0) at h263dec.c:203
#3  0x0819c8cf in h263_decode_frame (avctx=0x8352ac0, data=0xbfffe620,
    data_size=0xbfffe5fc,
    buf=0x84bb450 "@\2119*Ú 
\005¥ì\035_ß[\024É\220EVM<ÚÙí_µ\204QÝd\tz\001zÚº\237\020;Ëõ\212;Lh½÷TóYdQ\001s¼\034\221Fµ?E\005º\216¯\204qÞ\201¥Ñ®FÊ`\eì¥\024s\002âèõF«[\025'úp´»Ñº6¨Éä\213¡rÅ©kËñÇbD\002Ò\224Ç[ÒfõͶ\206Wܨ¡é\026\017qI_$\021ÁÈÞ\222h[M b4àO\205Î\225£\200ª&\204D\032Èu\v", 
buf_size=8712) at h263dec.c:561
#4  0x0815b167 in avcodec_decode_video (avctx=0x8352ac0, picture=0x1,
    got_picture_ptr=0xbfffe5fc, buf=0x1 <Address 0x1 out of bounds>,
    buf_size=1) at utils.c:139
#5  0x080b0b3d in decode (sh=0x83138c0, data=0x8352ac0, len=8712, flags=0)
    at vd_ffmpeg.c:526
#6  0x080a6fb3 in decode_video (sh_video=0x83138c0,
    start=0x1 <Address 0x1 out of bounds>, in_size=1, drop_frame=0)
    at dec_video.c:306
#7  0x08068ea9 in main (argc=3, argv=0xbffff954) at mplayer.c:1580
#8  0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8195c2b to 0x8195c6b:
0x8195c2b <msmpeg4_decode_block+1099>:  fmull  (%edi)
0x8195c2d <msmpeg4_decode_block+1101>:  mov    $0x4d,%dh
0x8195c2f <msmpeg4_decode_block+1103>:  les    (%edi),%ecx
0x8195c31 <msmpeg4_decode_block+1105>:  mov    $0x44,%dh
0x8195c33 <msmpeg4_decode_block+1107>:  (bad)
0x8195c34 <msmpeg4_decode_block+1108>:  add    %ebx,%edx
0x8195c36 <msmpeg4_decode_block+1110>:
    jecxz  0x8195bf9 <msmpeg4_decode_block+1049>
0x8195c38 <msmpeg4_decode_block+1112>:  sti
0x8195c39 <msmpeg4_decode_block+1113>:  decl   0xf8c1a445(%ecx)
0x8195c3f <msmpeg4_decode_block+1119>:  pop    %es
0x8195c40 <msmpeg4_decode_block+1120>:  mov    %eax,0xffffff9c(%ebp)
0x8195c43 <msmpeg4_decode_block+1123>:  mov    0xffffff9c(%ebp),%ecx
0x8195c46 <msmpeg4_decode_block+1126>:  mov    %esi,%eax
0x8195c48 <msmpeg4_decode_block+1128>:  cltd
0x8195c49 <msmpeg4_decode_block+1129>:  xor    %ebx,%esi
0x8195c4b <msmpeg4_decode_block+1131>:  idivl  0xffffffd4(%ebp)
0x8195c4e <msmpeg4_decode_block+1134>:  mov    0xffffffe0(%ebp),%edx
0x8195c51 <msmpeg4_decode_block+1137>:  sub    %ebx,%esi
0x8195c53 <msmpeg4_decode_block+1139>:  mov    %eax,0xffffffc0(%ebp)
0x8195c56 <msmpeg4_decode_block+1142>:  mov    0x24(%edx,%ecx,4),%eax
0x8195c5a <msmpeg4_decode_block+1146>:  mov    0xffffffc0(%ebp),%ecx
0x8195c5d <msmpeg4_decode_block+1149>:  movsbl (%ecx,%eax,1),%eax
0x8195c61 <msmpeg4_decode_block+1153>:  add    0xffffffa4(%ebp),%eax
0x8195c64 <msmpeg4_decode_block+1156>:  add    0xffffffe4(%ebp),%eax
0x8195c67 <msmpeg4_decode_block+1159>:  add    %eax,0xffffffec(%ebp)
0x8195c6a <msmpeg4_decode_block+1162>:  mov    0xffffffc4(%ebp),%eax
End of assembler dump.

I'll upload the sample file, the .log and this text to the ftp server now...

Hope I didn't forget anything....
Timo




More information about the MPlayer-users mailing list