[Mplayer-advusers] [BUG] Mplayer Crashes when using -aop list=resample,extrastereo

ismail donmez voidcartman at yahoo.com
Fri Jan 3 15:26:50 CET 2003


Mplayer crashes when -aof list=extrastreo,resample
used together.
Mplayer doesnt crash with only -aof list=extrastereo
or only -aof
list=resample used.
And lastly -ao alsa9 doesnt crash with -aof
list=extrastreo,resample .

<<Mplayer Options>>
mplayer -ao sdl:artsc -vo xv -aop
list=resample,extrastereo /opt/movie/southpark.avi

<<Crash>>

cartman at southpark:/opt/movie$ gdb bin/mplayer
GNU gdb 5.2.1
Copyright 2002 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"...
(gdb) mplayer -aop list=resample,extrastereo
/opt/movie/southpark.avi
Undefined command: "mplayer".  Try "help".
(gdb) run -aop list=resample,extrastereo
/opt/movie/southpark.avi
Starting program: /opt/movie/bin/mplayer -aop
list=resample,extrastereo
/opt/movie/southpark.avi
[New Thread 16384 (LWP 14047)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /opt/movie//share/locale


MPlayer CVS-030103-14:39-3.2.1 (C) 2000-2002 Arpad
Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III
Coppermine,Geyserville (Family: 6,
Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1
SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file
/opt/movie//etc/mplayer/mplayer.conf: Böyle bir dosya
ya
da dizin yok
Reading config file /home/cartman/.mplayer/config
Reading /home/cartman/.mplayer/codecs.conf: 49 audio &
126 video codecs
Font /home/cartman/.mplayer/font/font.desc loaded
successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Input config file /home/cartman/.mplayer/input.conf
parsed : 52 binds

Playing /opt/movie/southpark.avi
AVI file format detected.
VIDEO:  [DIVX]  352x288  24bpp  25.00 fps  1000.8 kbps
(122.2 kbyte/s)
Clip info:
 Software: MEncoder CVS-030103-10:48-3.2.1
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio:
28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG
layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp
(":0.0" => local
display)
[x11] Detected wm is of class NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg
MPEG-4)
==========================================================================
[pl_resample] Up=128, Down=118, True fout=47837.288136
[pl_extrastereo] Extra stereo plugin in use
(multiplier=2.50).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14047)]
0x40cbdece in malloc_consolidate (av=0x40d76340) at
malloc.c:4340
4340    malloc.c: No such file or directory.
        in malloc.c


<<Backtrace>>

For -ao sdl:artsc {

(gdb) bt
#0  0x40cbdece in malloc_consolidate (av=0x40d76340)
at malloc.c:4340
#1  0x40cbd787 in _int_malloc (av=0x40d76340,
bytes=16908802) at
malloc.c:4023
#2  0x40cbc905 in __libc_malloc (bytes=4096) at
malloc.c:3281
#3  0x08090e1c in init (rate=1087857472, channels=2,
format=1087857472,
flags=0) at ao_sdl.c:154
#4  0x0808d24c in init (rate=16908802,
channels=138419928, format=2,
flags=16908802) at ao_plugin.c:175
#5  0x0808c664 in init_best_audio_out
(ao_list=0x8356610, use_plugin=1,
rate=44100, channels=2, format=16,
    flags=0) at audio_out.c:130
#6  0x08051f64 in main (argc=4, argv=0xbffff934) at
mplayer.c:1550
#7  0x40c5cf94 in __libc_start_main (main=0x8051250
<main>, argc=4,
ubp_av=0x0, init=0x804e608 <_init>,
    fini=0, rtld_fini=0x8401f40, stack_end=0x2020308)
at
../sysdeps/generic/libc-start.c:144
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40cbdeae to 0x40cbdeee:
0x40cbdeae <malloc_consolidate+142>:    mov   
%eax,0xc(%edx)
0x40cbdeb1 <malloc_consolidate+145>:    mov   
%edx,0x8(%eax)
0x40cbdeb4 <malloc_consolidate+148>:    mov   
0xfffffff4(%ebp),%eax
0x40cbdeb7 <malloc_consolidate+151>:    cmp   
0x54(%eax),%edi
0x40cbdeba <malloc_consolidate+154>:    je    
0x40cbdf20
<malloc_consolidate+256>
0x40cbdebc <malloc_consolidate+156>:    mov   
0xffffffe0(%ebp),%edx
0x40cbdebf <malloc_consolidate+159>:    testb 
$0x1,0x4(%edx,%edi,1)
0x40cbdec4 <malloc_consolidate+164>:    jne   
0x40cbdf12
<malloc_consolidate+242>
0x40cbdec6 <malloc_consolidate+166>:    mov   
0xc(%edi),%eax
0x40cbdec9 <malloc_consolidate+169>:    add   
%edx,%esi
0x40cbdecb <malloc_consolidate+171>:    mov   
0x8(%edi),%edx
0x40cbdece <malloc_consolidate+174>:    mov   
%eax,0xc(%edx)
0x40cbded1 <malloc_consolidate+177>:    mov   
%edx,0x8(%eax)
0x40cbded4 <malloc_consolidate+180>:    mov   
%esi,(%esi,%ecx,1)
0x40cbded7 <malloc_consolidate+183>:    mov   
0xffffffe4(%ebp),%eax
0x40cbdeda <malloc_consolidate+186>:    mov   
0x8(%eax),%edx
0x40cbdedd <malloc_consolidate+189>:    mov   
%ecx,0x8(%eax)
0x40cbdee0 <malloc_consolidate+192>:    mov   
%esi,%eax
0x40cbdee2 <malloc_consolidate+194>:    or    
$0x1,%eax
0x40cbdee5 <malloc_consolidate+197>:    mov   
%eax,0x4(%ecx)
0x40cbdee8 <malloc_consolidate+200>:    mov   
0xffffffe4(%ebp),%eax
0x40cbdeeb <malloc_consolidate+203>:    mov   
%ecx,0xc(%edx)
End of assembler dump.



}

For -ao sdl ( When arts daeomon is killed ) {

        (gdb) bt
#0  0x40cbdece in malloc_consolidate (av=0x40d76340)
at malloc.c:4340
#1  0x40cbd787 in _int_malloc (av=0x40d76340,
bytes=16908802) at
malloc.c:4023
#2  0x40cbc905 in __libc_malloc (bytes=4096) at
malloc.c:3281
#3  0x08090e1c in init (rate=1087857472, channels=2,
format=1087857472,
flags=0) at ao_sdl.c:154
#4  0x0808d24c in init (rate=16908802,
channels=138419928, format=2,
flags=16908802) at ao_plugin.c:175
#5  0x0808c664 in init_best_audio_out
(ao_list=0x8356610, use_plugin=1,
rate=44100, channels=2, format=16,
    flags=0) at audio_out.c:130
#6  0x08051f64 in main (argc=6, argv=0xbffff924) at
mplayer.c:1550
#7  0x40c5cf94 in __libc_start_main (main=0x8051250
<main>, argc=6,
ubp_av=0x0, init=0x804e608 <_init>,
    fini=0, rtld_fini=0x8401f40, stack_end=0x2020308)
at
../sysdeps/generic/libc-start.c:144
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40cbdeae to 0x40cbdeee:
0x40cbdeae <malloc_consolidate+142>:    mov   
%eax,0xc(%edx)
0x40cbdeb1 <malloc_consolidate+145>:    mov   
%edx,0x8(%eax)
0x40cbdeb4 <malloc_consolidate+148>:    mov   
0xfffffff4(%ebp),%eax
0x40cbdeb7 <malloc_consolidate+151>:    cmp   
0x54(%eax),%edi
0x40cbdeba <malloc_consolidate+154>:    je    
0x40cbdf20
<malloc_consolidate+256>
0x40cbdebc <malloc_consolidate+156>:    mov   
0xffffffe0(%ebp),%edx
0x40cbdebf <malloc_consolidate+159>:    testb 
$0x1,0x4(%edx,%edi,1)
0x40cbdec4 <malloc_consolidate+164>:    jne   
0x40cbdf12
<malloc_consolidate+242>
0x40cbdec6 <malloc_consolidate+166>:    mov   
0xc(%edi),%eax
0x40cbdec9 <malloc_consolidate+169>:    add   
%edx,%esi
0x40cbdecb <malloc_consolidate+171>:    mov   
0x8(%edi),%edx
0x40cbdece <malloc_consolidate+174>:    mov   
%eax,0xc(%edx)
0x40cbded1 <malloc_consolidate+177>:    mov   
%edx,0x8(%eax)
0x40cbded4 <malloc_consolidate+180>:    mov   
%esi,(%esi,%ecx,1)
0x40cbded7 <malloc_consolidate+183>:    mov   
0xffffffe4(%ebp),%eax
0x40cbdeda <malloc_consolidate+186>:    mov   
0x8(%eax),%edx
0x40cbdedd <malloc_consolidate+189>:    mov   
%ecx,0x8(%eax)
0x40cbdee0 <malloc_consolidate+192>:    mov   
%esi,%eax
0x40cbdee2 <malloc_consolidate+194>:    or    
$0x1,%eax
0x40cbdee5 <malloc_consolidate+197>:    mov   
%eax,0x4(%ecx)
0x40cbdee8 <malloc_consolidate+200>:    mov   
0xffffffe4(%ebp),%eax
0x40cbdeeb <malloc_consolidate+203>:    mov   
%ecx,0xc(%edx)
End of assembler dump.
(gdb)


}
<< System Info >>


Gcc 3.2.1
Glibc 2.3.1
Binutils 2.13.1
SDL 1.2.5
Alsa 0.9rc6
KDE 3.1

=====
Microsoft Windows: made for the internet
The Internet: made for UNIX

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the MPlayer-advusers mailing list