[MPlayer-dev-eng] mp3lib-mmx sig11 with mpeg1layer3 audio after recent changes

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jan 15 13:54:35 CET 2002


Ok here's the debugsession:

gdb ./mplayer
r
Starting program: /home/atmosfear/develop/mplayer/main/./mplayer 
/download/samples/Coyote.Ugly.Sample.avi -ac mp3 -vo null -v
[New Thread 1024 (LWP 16817)]


MPlayer CVS-020115-13:35-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
/home/atmosfear/.mplayer/config(2): option: fsmode
/home/atmosfear/.mplayer/config(2): parameter: 1
/home/atmosfear/.mplayer/config(3): option: vo
/home/atmosfear/.mplayer/config(3): parameter: sdl
/home/atmosfear/.mplayer/config(4): option: cache
/home/atmosfear/.mplayer/config(4): parameter: 4096
/home/atmosfear/.mplayer/config(6): option: osdlevel
/home/atmosfear/.mplayer/config(6): parameter: 1
Reading /home/atmosfear/.mplayer/codecs.conf: 28 audio & 73 video codecs
CommandLine: '/download/samples/Coyote.Ugly.Sample.avi' '-ac' 'mp3' '-vo' 
'null' '-v'
get_path('font/font.desc') -> '/home/atmosfear/.mplayer/font/font.desc'
Font /home/atmosfear/.mplayer/font/font.desc loaded successfully! (206 chars)
Setting up lirc support...
mplayer_lirc: could not connect to socket
mplayer_lirc: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
Linux RTC init: open: Permission denied
Using usleep() timing
Playing /download/samples/Coyote.Ugly.Sample.avi
Not an URL!
File size is 19185664 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:   nan% (0 bytes)    Detected AVI file format!
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 1913   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 480
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 1913
Suggested BufferSize: 48632
Quality 5000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 921600
===========================
Regenerating keyframe table for DIVX 3 video
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0   Len: 1224320
Suggested BufferSize: 8000
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
Found movie at 0x280C - 0x123CEF8
Reading INDEX block, 3815 chunks for 1913 frames
AVI index offset: 10248
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=17920572
VIDEO:  [DIV3]  640x480  24bpp  25.00 fps  1873.6 kbps (228.7 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x480  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/atmosfear/.mplayer/sub/'
Forcing audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 686
mp3lib: Using Pentium-MMX optimized decore.
mp3lib: made decode tables with MMX optimization
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
Detected video codec: [divxds] drv:4 prio:0 (DivX ;-) (MS MPEG-4 v3))
fs seg 0x40018000
Loading DLL: 'divx_c32.ax'
get_path('registry') -> '/home/atmosfear/.mplayer/registry'
Using DirectShow codec: divx_c32.ax
Decoder is capable of YUV output ( flags 0x9)
INFO: Win32/DShow video codec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 640x480 => 640x480 Packed YUY2
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(640x480->640x480,flags=0,'MPlayer',0x32595559)
INFO: Video OUT driver init OK!
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  64/64  (1024 bytes/frag)  free:  65536
Start playing...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 16817)]
0x08076030 in synth_1to1_MMX_s (bandPtr=???, channel=???, samples=???, 
buffs=???, bo=???) at decode_MMX.c:53
53      __asm __volatile(
(gdb) bt
#0  0x08076030 in synth_1to1_MMX_s (bandPtr=???, channel=???, samples=???, 
buffs=???, bo=???) at decode_MMX.c:53
Cannot access memory at address 0x0
(gdb) disas $eip-32 $eip+32
Dump of assembler code from 0x8076010 to 0x8076050:
0x8076010 <synth_1to1_MMX_s+16>:        add    %cl,0x3c8d1855(%ebx)
0x8076016 <synth_1to1_MMX_s+22>:        dec    %edi
0x8076017 <synth_1to1_MMX_s+23>:        dec    %ecx
0x8076018 <synth_1to1_MMX_s+24>:        mov    0x14(%ebp),%esi
0x807601b <synth_1to1_MMX_s+27>:        mov    (%edx),%eax
0x807601d <synth_1to1_MMX_s+29>:        jecxz  0x807602a <synth_1to1_MMX_s+42>
0x807601f <synth_1to1_MMX_s+31>:        dec    %eax
0x8076020 <synth_1to1_MMX_s+32>:        and    %ebx,%eax
0x8076022 <synth_1to1_MMX_s+34>:        lea    0x440(%esi),%esi
0x8076028 <synth_1to1_MMX_s+40>:        mov    %eax,(%edx)
0x807602a <synth_1to1_MMX_s+42>:        lea    (%esi,%eax,2),%edx
0x807602d <synth_1to1_MMX_s+45>:        mov    %eax,%ebp
0x807602f <synth_1to1_MMX_s+47>:        inc    %eax
0x8076030 <synth_1to1_MMX_s+48>:        pushl  0x8(%ebp)
0x8076033 <synth_1to1_MMX_s+51>:        and    %ebx,%eax
0x8076035 <synth_1to1_MMX_s+53>:        lea    0x220(%esi,%eax,2),%ecx
0x807603c <synth_1to1_MMX_s+60>:        inc    %ebx
0x807603d <synth_1to1_MMX_s+61>:        test   $0x1,%eax
0x8076042 <synth_1to1_MMX_s+66>:        jne    0x807604d <synth_1to1_MMX_s+77>
0x8076044 <synth_1to1_MMX_s+68>:        xchg   %edx,%ecx
0x8076046 <synth_1to1_MMX_s+70>:        inc    %ebp
0x8076047 <synth_1to1_MMX_s+71>:        lea    0x220(%esi),%esi
0x807604d <synth_1to1_MMX_s+77>:        emms
0x807604f <synth_1to1_MMX_s+79>:        push   %edx
End of assembler dump.
(gdb) printf 
"ecx=%i\nebx=%i\nedi=%i\nebp=%i\nesi=%i\neax=%i\nedx=%i\n",$ecx,$ebx,$edi,$ebp,$esi,$eax,$edx
ecx=-1
ebx=15
edi=136476290
ebp=0
esi=135664384
eax=1
edx=135664384
(gdb) p bandPtr
Address of symbol "bandPtr" is unknown.
(gdb) p channel
Address of symbol "channel" is unknown.
(gdb) p samples
Address of symbol "samples" is unknown.
(gdb) p buffs
Address of symbol "buffs" is unknown.
(gdb) p bo
Address of symbol "bo" is unknown.
(gdb)
-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list