[MPlayer-users] [Bugreport] Dxr3 and qt

Anders Rune Jensen anders at gnulinux.dk
Sat Nov 30 05:57:02 CET 2002


Hi

I got quicktime working fine on my laptop so I thought I would try it
on my dxr3. It played fine for about 2 min, then mplayer crashed. The
crash happens exactly at the same point in the movie, no matter if I
just let it play or I fast-forwards to the place where it crashes. I
recompiled with debug and a full gdb bt is at the buttom of this mail.

I really hope this helps.

mplayer -vo dxr3 -vop lavc TheTwoTowers-tlr_480.mov

BT:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 29177)]
0x0819e574 in mpeg1_encode_block (s=0x85742d0, block=0x857d508, n=5)
    at common.h:309
309             *(UINT32 *)s->buf_ptr = be2me_32(bit_buf);

(gdb) bt
#0  0x0819e574 in mpeg1_encode_block (s=0x85742d0, block=0x857d508, n=5)
    at common.h:309
#1  0x0819de7d in mpeg1_encode_mb (s=0x85742d0, block=0x857d288, motion_x=0, 
    motion_y=0) at mpeg12.c:383
#2  0x0815f928 in encode_mb (s=0x85742d0, motion_x=0, motion_y=0)
    at mpegvideo.c:2413
#3  0x08162a05 in encode_picture (s=0x85742d0, picture_number=3106)
    at mpegvideo.c:2968
#4  0x08152e5e in MPV_encode_picture (avctx=0x84b1fa0, buf=0x85595a0 "", 
    buf_size=109840, data=0xbfffe9fc) at mpegvideo.c:1046
#5  0x0814fee3 in avcodec_encode_video (avctx=0x84b1fa0, buf=0x85595a0 "", 
    buf_size=109840, pict=0xbfffe9fc) at utils.c:122
#6  0x0809863e in put_image (vf=0x8348be8, mpi=0x83cd158) at vf_lavc.c:92
#7  0x08094f21 in vf_next_put_image (vf=0x84b2190, mpi=0x83cd158) at vf.c:390
#8  0x08096d31 in put_image (vf=0x84b2190, mpi=0x83524b0) at vf_scale.c:217
#9  0x08088f40 in decode_video (sh_video=0x82db490, 
    start=0x86e84c0 "a\001KvA\U\230\"\003A232 ... \213\022;\024\222Jp",
    in_size=84862, drop_frame=0) at dec_video.c:329
#10 0x08051866 in main (argc=2, argv=0xbffffd34) at mplayer.c:1581
#11 0x40b0b3c1 in __libc_start_main () from /lib/libc.so.6

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x819e554 to 0x819e594:
0x819e554 <mpeg1_encode_block+628>:     shl    %cl,%edx
0x819e556 <mpeg1_encode_block+630>:     or     %eax,%edx
0x819e558 <mpeg1_encode_block+632>:
    jmp    0x819e580 <mpeg1_encode_block+672>
0x819e55a <mpeg1_encode_block+634>:     lea    0x0(%esi),%esi
0x819e560 <mpeg1_encode_block+640>:     mov    0xffffffcc(%ebp),%eax
0x819e563 <mpeg1_encode_block+643>:     mov    %ebx,%ecx
0x819e565 <mpeg1_encode_block+645>:     shl    %cl,%edx
0x819e567 <mpeg1_encode_block+647>:     mov    %edi,%ecx
0x819e569 <mpeg1_encode_block+649>:     sub    %ebx,%ecx
0x819e56b <mpeg1_encode_block+651>:     shr    %cl,%eax
0x819e56d <mpeg1_encode_block+653>:     or     %eax,%edx
0x819e56f <mpeg1_encode_block+655>:     bswap  %edx
0x819e571 <mpeg1_encode_block+657>:     mov    0xc(%esi),%eax
0x819e574 <mpeg1_encode_block+660>:     mov    %edx,(%eax)
0x819e576 <mpeg1_encode_block+662>:     addl   $0x4,0xc(%esi)
0x819e57a <mpeg1_encode_block+666>:     mov    0xffffffcc(%ebp),%edx
0x819e57d <mpeg1_encode_block+669>:     add    $0x20,%ebx
0x819e580 <mpeg1_encode_block+672>:     sub    %edi,%ebx
0x819e582 <mpeg1_encode_block+674>:
    jmp    0x819e6c2 <mpeg1_encode_block+994>
0x819e587 <mpeg1_encode_block+679>:     mov    0x8(%ebp),%eax
0x819e58a <mpeg1_encode_block+682>:     movzwl 0x820825c,%ebx
0x819e591 <mpeg1_encode_block+689>:     mov    %ebx,0xffffffc8(%ebp)
End of assembler dump.

Info:

Gentoo 1.2
Linux daserver2 2.4.19aa1
libc 2.2.5
Xfree 4.2.0
gcc version 2.95.3 20010315 (release)
GNU ld version 2.11.92.0.12.3 20011121
GNU assembler 2.11.92.0.12.3 20011121

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 7
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 1210.814
cache size      : 64 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 sse syscall mmxext 3dnowext 3dnow
bogomips        : 2411.72

Sound and video was played on the Dxr3.

--
Anders Rune Jensen




More information about the MPlayer-users mailing list