[Mplayer-users] Segfault/Signal 11 in init_video_codec when loading win32 dll

Slo Mo Snail slomosnail666 at gmx.net
Tue Sep 4 18:22:55 CEST 2001


Hi
I'm using a linux from scratch ;) with kernel 2.4.9, glibc 2.2.4, XFree86 
4.1.0, gcc 2.05.3, ld 2.11.2 and as 2.11.2

CPU-Info:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 350.802
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr
bogomips        : 699.59

video card: Voodoo Banshee AGP with X built-in driver/dri
sound card: ensoniq 1371 (es1371)

when i start mplayer and it needs a win32 dll it crashs with:
Loading DLL: /usr/lib/win32/divx_c32.ax
MPlayer interrupted by signal 11 in module: init_video_codec

but it doesn't crash only with divx movies but with every win32 codec :(

Maybe MPlayer needs some libs i don't have? But why is wine running pretty 
good?

when i run mplayer in gdb (i can't do a coredump... don't know why...  
perhaps because of the missing debugging symbols in all libs):

GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run -v "European Legions - Backstage footage.avi"
Starting program: /usr/bin/mplayer -v "European Legions - Backstage 
footage.avi"(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 29550)]


MPlayer CVS-010902-06:00(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)

CommandLine: '-v' 'European Legions - Backstage footage.avi'
num_filenames: 1
Reading /root/.mplayer/codecs.conf: 15 audio & 37 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Playing European Legions - Backstage footage.avi
File not found: 'European Legions - Backstage footage.avi'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 29550)]
0x401ad6ae in XQueryExtension () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x401ad6ae in XQueryExtension () from /usr/X11R6/lib/libX11.so.6
#1  0x401a4864 in XInitExtension () from /usr/X11R6/lib/libX11.so.6
#2  0x40265b92 in XextAddDisplay () from /usr/X11R6/lib/libXext.so.6
#3  0x4026830f in find_display () from /usr/X11R6/lib/libXext.so.6
#4  0x40268900 in XShmDetach () from /usr/X11R6/lib/libXext.so.6
#5  0x809edfa in dprintf ()
#6  0x6e616570 in ?? ()
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x401ad68e to 0x401ad6ce:
0x401ad68e <XQueryBestCursor+250>:      add    %al,(%eax)
0x401ad690 <XQueryBestCursor+252>:      mov    (%esp,1),%ebx
0x401ad693 <XQueryBestCursor+255>:      ret
0x401ad694 <XQueryExtension>:   push   %ebp
0x401ad695 <XQueryExtension+1>: mov    %esp,%ebp
0x401ad697 <XQueryExtension+3>: sub    $0x2c,%esp
0x401ad69a <XQueryExtension+6>: push   %edi
0x401ad69b <XQueryExtension+7>: push   %esi
0x401ad69c <XQueryExtension+8>: push   %ebx
0x401ad69d <XQueryExtension+9>: call   0x401ad690 <XQueryBestCursor+252>
0x401ad6a2 <XQueryExtension+14>:        add    $0xb2f72,%ebx
0x401ad6a8 <XQueryExtension+20>:        mov    0x8(%ebp),%esi
0x401ad6ab <XQueryExtension+23>:        mov    0xc(%ebp),%edi
0x401ad6ae <XQueryExtension+26>:        mov    0x4d0(%esi),%eax
0x401ad6b4 <XQueryExtension+32>:        test   %eax,%eax
0x401ad6b6 <XQueryExtension+34>:        je     0x401ad6c3 <XQueryExtension+47>
0x401ad6b8 <XQueryExtension+36>:        add    $0xfffffff4,%esp
0x401ad6bb <XQueryExtension+39>:        push   %esi
0x401ad6bc <XQueryExtension+40>:        mov    (%eax),%eax
0x401ad6be <XQueryExtension+42>:        call   *%eax
0x401ad6c0 <XQueryExtension+44>:        add    $0x10,%esp
0x401ad6c3 <XQueryExtension+47>:        mov    0x6c(%esi),%eax
0x401ad6c6 <XQueryExtension+50>:        add    $0x8,%eax
0x401ad6c9 <XQueryExtension+53>:        cmp    0x70(%esi),%eax
---Type <return> to continue, or q <return> to quit---
0x401ad6cc <XQueryExtension+56>:        jbe    0x401ad6da <XQueryExtension+70>
End of assembler dump.

Bye

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list