[Mplayer-users] Re:Signal 11 in init_video_codec

Ethan at stinkfoot.org Ethan at stinkfoot.org
Sun Sep 30 22:26:42 CEST 2001


Full bug report and gdb output...

1. System is a "linux from scratch", no distro.
2. Kernel is 2.4.10 final
3. Glibc is 2.2.4
4. X is 4.1.0 with Nvidia's binary driver
5. gcc is 2.95.3 with weak symbol and atexit() patch applied. ld is 
2.11.2, as is 2.11.2 as well...
6. cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 6
cpu MHz         : 1005.035
cache size      : 256 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 apic sep mtrr pge 
mca cmov pat pse36 mmx fxsr sse
bogomips        : 2005.40

7. Video card is Geforce2 GTS manuf. by Hercules.
8. Sound card is SBLIVE! rev 8

new gdb output:

(gdb) run -v /DOS/Agent/avis/test1.avi
Starting program: /tmp/MPlayer-0.50pre1/mplayer -v /DOS/Agent/avis/test1.avi
[New Thread 1024 (LWP 2937)]


MPlayer 0.50pre-1(C) 2000-2001 Arpad Gereoffy (see DOCS!)

Reading /root/.mplayer/codecs.conf: can't open 
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 18 audio & 39 video codecs
CommandLine: '-v' '/DOS/Agent/avis/test1.avi'
num_filenames: 1
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Playing /DOS/Agent/avis/test1.avi
File size is 7684096 bytes
Detected AVI file format!
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 76080
padding: 512
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 2535   initial: 0
streams: 2
Suggested BufferSize: 12970
Size:  320 x 240
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: DIV3 (33564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 10000000/400000 = 25.000
Start: 0   Len: 2535
Suggested BufferSize: 12970
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 230400
===========================
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 44100/1 = 44100.000
Start: 0   Len: 4471795
Suggested BufferSize: 11768
Quality 0
Sample size: 1
found 'wf', 18 bytes of 20
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 44100
avg byte/sec: 44100
Block align: 1
bits/sample: 8
cbSize: 0
Found movie at 0x10000 - 0x748800
Reading INDEX block, 2943 chunks for 2535 frames
AVI index offset: 0
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=3076117
VIDEO:  [DIV3]  320x240  24bpp  25.00 fps  242.7 kbps (29.6 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:320x240  fps:25.00  ftime:=0.0400
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
Initializing audio codec...
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: srate=44100  chans=1  bps=1  sfmt=0x8  ratio: 44100->44100
Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
Loading DLL: /usr/lib/win32/divx_c32.ax
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2937)]
dump_exports (hModule=1684275200) at pe_image.c:98
98            if (!*function) continue; 
(gdb) bt
#0  dump_exports (hModule=1684275200) at pe_image.c:98
#1  0x807cc44 in PE_CreateModule (hModule=1684275200,
    filename=0xbfffee0c "/usr/lib/win32/divx_c32.ax", flags=0, builtin=0)
    at pe_image.c:811
#2  0x807ccdc in PE_LoadLibraryExA (
    name=0xbfffefbc "/usr/lib/win32/divx_c32.ax", flags=0) at pe_image.c:855
#3  0x8074d00 in MODULE_LoadLibraryExA (
    libname=0xbfffefbc "/usr/lib/win32/divx_c32.ax", hfile=0, flags=0)
    at module.c:337
#4  0x8074c66 in LoadLibraryExA (
    libname=0xbfffefbc "/usr/lib/win32/divx_c32.ax", hfile=0, flags=0)
    at module.c:299
#5  0x8074d86 in LoadLibraryA (libname=0xbfffefbc 
"/usr/lib/win32/divx_c32.ax")
    at module.c:368
#6  0x8078060 in expLoadLibraryA (name=0x813c1c8 "divx_c32.ax") at 
win32.c:1679
#7  0x807e584 in DS_Filter::Create (this=0x8138a18,
    dllname=0x813c1c8 "divx_c32.ax", id=0xbffff85c, in_fmt=0x8138940,
    out_fmt=0x8138988) at DS_Filter.cpp:79
#8  0x807f42b in DS_VideoDecoder::DS_VideoDecoder (this=0x8138898,
    info=@0xbffff858, format=@0x8138790, flip=0) at DS_VideoDecoder.cpp:89
#9  0x807dfe1 in DS_VideoDecoder_Open (dllname=0x8138ad0 "divx_c32.ax",
    guid=0x81397a0, format=0x8138790, flip=0, d_ptr=0x813871c)
    at DS_VideoDec.cpp:38
---Type <return> to continue, or q <return> to quit---
#10 0x80524d9 in init_video (sh_video=0x81386e8) at dec_video.c:201
#11 0x804e5af in main (argc=3, argv=0xbffffae4, envp=0xbffffaf4)
    at mplayer.c:950
#12 0x4030d7e1 in __libc_start_main (main=0x804d3cc <main>, argc=3,
    ubp_av=0xbffffae4, init=0x804bad4 <_init>, fini=0x80cd790 <_fini>,
    rtld_fini=0x4000b964 <_dl_fini>, stack_end=0xbffffadc)
    at ../sysdeps/generic/libc-start.c:129
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x807bca5 to 0x807bce5:
0x807bca5 <dump_exports+101>:   push   $0x80d94cd
0x807bcaa <dump_exports+106>:   call   0x8074fdc <__vprintf>
0x807bcaf <dump_exports+111>:   movl   $0x0,0xfffffffc(%ebp)
0x807bcb6 <dump_exports+118>:   mov    0xfffffffc(%ebp),%edx
0x807bcb9 <dump_exports+121>:   add    $0x10,%esp
0x807bcbc <dump_exports+124>:   cmp    0x14(%edi),%edx
0x807bcbf <dump_exports+127>:   jae    0x807bd61 <dump_exports+289>
0x807bcc5 <dump_exports+133>:   mov    (%ebx),%edx
0x807bcc7 <dump_exports+135>:   mov    0xfffffffc(%ebp),%ecx
0x807bcca <dump_exports+138>:   inc    %ecx
0x807bccb <dump_exports+139>:   mov    %ecx,0xffffffe4(%ebp)
0x807bcce <dump_exports+142>:   lea    0x4(%ebx),%eax
0x807bcd1 <dump_exports+145>:   mov    %eax,0xffffffe8(%ebp)
0x807bcd4 <dump_exports+148>:   test   %edx,%edx
0x807bcd6 <dump_exports+150>:   je     0x807bd4f <dump_exports+271>
0x807bcd8 <dump_exports+152>:   lea    (%edx,%esi,1),%eax
0x807bcdb <dump_exports+155>:   push   %eax
0x807bcdc <dump_exports+156>:   push   %edx
0x807bcdd <dump_exports+157>:   mov    0xfffffffc(%ebp),%eax
0x807bce0 <dump_exports+160>:   add    0x10(%edi),%eax
0x807bce3 <dump_exports+163>:   push   %eax
0x807bce4 <dump_exports+164>:   push   $0x80d94ea
---Type <return> to continue, or q <return> to quit---
End of assembler dump.

Attila Kinali wrote:

>On Sun, 30 Sep 2001 10:41:59 +0200 "Sascha Sommer" <saschasommer at freenet.de> wrote:
>
>You both, please read DOCS/bugreports.html
>There are too many infos missing.
>
>I think it's a gcc problem, are you using 2.96.x or 3.x.x ?
>BTW: if you c&p the output of mplayer, copy it all, not just
>a part (the used options are interesting too).
>
>
>		Attila Kinali
>




_______________________________________________
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