[MPlayer-users] Crash on playing any audio
Stephan Diestelhorst
dr.syon at freenet.de
Tue May 22 14:23:24 CEST 2007
Hi everybody,
I have some problems playing any audio with mplayer, independent of the
media (i.e. film, only mp3 file) using alsa. Everything works fine, when I
use "-nosound" or "-ao null".
Alsa itself seems to work, mpg123 can play the same mp3 file without any
problems.
This is on a Gentoo system, details below. Crashes with both, todays SVN and
Gentoos latest packaged version, attached is only the SVN crash, Gentoo crash
details are available on request.
Any ideas?
Thanks,
Stephan
uname -a
Linux m-ende 2.6.20.7 #8 PREEMPT Sun Apr 29 15:39:04 UTC 2007 i686
Transmeta(tm) Crusoe(tm) Processor TM5400 GenuineTMx86 GNU/Linux
ls -l /lib/libc[.-]*
lrwxrwxrwx 1 root root 19 Apr 20 14:29 /lib/libc.so.0 -> libuClibc-0.9.28.so
gcc -v; ld -v
Using built-in specs.
Target: i386-gentoo-linux-uclibc
Configured
with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i386-gentoo-linux-uclibc/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/include --datadir=/usr/share/gcc-data/i386-gentoo-linux-uclibc/4.1.1 --mandir=/usr/share/gcc-data/i386-gentoo-linux-uclibc/4.1.1/man --infodir=/usr/share/gcc-data/i386-gentoo-linux-uclibc/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/include/g++-v4 --host=i386-gentoo-linux-uclibc --build=i386-gentoo-linux-uclibc --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-__cxa_atexit --enable-target-optspace --enable-clocale=uclibc
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)
GNU ld version 2.16.1
as --version
GNU assembler 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-gentoo-linux-uclibc'.
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineTMx86
cpu family : 6
model : 4
model name : Transmeta(tm) Crusoe(tm) Processor TM5400
stepping : 3
cpu MHz : 400.000
cache size : 256 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 cx8 cmov mmx longrun
bogomips : 1061.17
clflush size : 32
./mplayer -v -ao alsa ~/galvan.mp3 > mplayer.log 2>&1
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Transmeta(tm) Crusoe(tm) Processor TM5400 (Family: 5, Model: 4, Stepping:
3)
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
get_path('codecs.conf') -> '/home/syon/.mplayer/codecs.conf'
Reading /home/syon/.mplayer/codecs.conf: Can't
open '/home/syon/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't
open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-mencoder --enable-debug=3
CommandLine: '-v' '-ao' 'alsa' '/home/syon/galvan.mp3'
get_path('font/font.desc') -> '/home/syon/.mplayer/font/font.desc'
font: can't open file: /home/syon/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/syon/.mplayer/input.conf'
Can't open input config file /home/syon/.mplayer/input.conf: No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('galvan.mp3.conf') -> '/home/syon/.mplayer/galvan.mp3.conf'
Playing /home/syon/galvan.mp3.
get_path('sub/') -> '/home/syon/.mplayer/sub/'
[file] File size is 9436765 bytes
STREAM: [file] /home/syon/galvan.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /home/syon/galvan.mp3 ext: .mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0x8FFE5D to start pos 0x139
demux_audio: audio data 0x139 - 0x8FFDDD
Audio file file format detected.
Clip info:
Title: Titel 1
Artist: Unbekannter Interpret
Album: Unbekanntes Album (02.10.2005
Year:
Comment:
Track: 1
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 192 kbit Joint-Stereo, BPF: 626
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.14rc2
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=569269120
alsa-init: got period size 0
alsa: 44100 Hz/2 channels/4 bpf/569269120 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
MPlayer interrupted by signal 11 in module: af_init
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible
bug.
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: mp3lib
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not inited..
GDB Session
GDB Info
(gdb) run -v -ao alsa ~/galvan.mp3
Starting
program: /home/syon/Software/mplayer-checkout-2007-05-22/mplayer -v -ao alsa
~/galvan.mp3
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Transmeta(tm) Crusoe(tm) Processor TM5400 (Family: 5, Model: 4, Stepping:
3)
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
get_path('codecs.conf') -> '/home/syon/.mplayer/codecs.conf'
Reading /home/syon/.mplayer/codecs.conf: Can't
open '/home/syon/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't
open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-mencoder --enable-debug=3
CommandLine: '-v' '-ao' 'alsa' '/home/syon/galvan.mp3'
get_path('font/font.desc') -> '/home/syon/.mplayer/font/font.desc'
font: can't open file: /home/syon/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/syon/.mplayer/input.conf'
Can't open input config file /home/syon/.mplayer/input.conf: No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('galvan.mp3.conf') -> '/home/syon/.mplayer/galvan.mp3.conf'
Playing /home/syon/galvan.mp3.
get_path('sub/') -> '/home/syon/.mplayer/sub/'
[file] File size is 9436765 bytes
STREAM: [file] /home/syon/galvan.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /home/syon/galvan.mp3 ext: .mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0x8FFE5D to start pos 0x139
demux_audio: audio data 0x139 - 0x8FFDDD
Audio file file format detected.
Clip info:
Title: Titel 1
Artist: Unbekannter Interpret
Album: Unbekanntes Album (02.10.2005
Year:
Comment:
Track: 1
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 192 kbit Joint-Stereo, BPF: 626
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.14rc2
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=569269120
alsa-init: got period size 0
alsa: 44100 Hz/2 channels/4 bpf/569269120 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Program received signal SIGSEGV, Segmentation fault.
0xb7d66acb in ?? ()
(gdb) bt
#0 0xb7d66acb in ?? ()
#1 0xbfffe4e8 in ?? ()
#2 0x080d3251 in init_audio_filters (sh_audio=0x0, in_samplerate=0,
in_channels=569269120,
in_format=140380448, out_samplerate=0x87b82c0, out_channels=0x0,
out_format=0xac44,
out_minsize=142312224, out_maxsize=<value optimized out>) at
dec_audio.c:339
Backtrace stopped: frame did not save the PC
(gdb) dis
disable disassemble disconnect display
(gdb) disassemble $PC-32 $PC+32
Argument to arithmetic operation not a number or boolean.
(gdb) disassemble $pc-32 $pc+32
Dump of assembler code from 0xb7d66aab to 0xb7d66aeb:
0xb7d66aab: push %es
0xb7d66aac: dec %eax
0xb7d66aad: cmp %cl,(%eax)
0xb7d66aaf: je 0xb7d66ab8
0xb7d66ab1: dec %edx
0xb7d66ab2: test %edx,%edx
0xb7d66ab4: jne 0xb7d66aac
0xb7d66ab6: xor %eax,%eax
0xb7d66ab8: pop %ebp
0xb7d66ab9: ret
0xb7d66aba: nop
0xb7d66abb: nop
0xb7d66abc: push %ebp
0xb7d66abd: mov %esp,%ebp
0xb7d66abf: mov 0x10(%ebp),%ecx
0xb7d66ac2: mov 0x8(%ebp),%edx
0xb7d66ac5: jmp 0xb7d66ace
0xb7d66ac7: mov 0xc(%ebp),%al
0xb7d66aca: dec %ecx
0xb7d66acb: mov %al,0xffffffff(%edx)
0xb7d66ace: inc %edx
0xb7d66acf: test %ecx,%ecx
0xb7d66ad1: jne 0xb7d66ac7
0xb7d66ad3: mov 0x8(%ebp),%eax
0xb7d66ad6: pop %ebp
0xb7d66ad7: ret
0xb7d66ad8: push %ebp
0xb7d66ad9: mov %esp,%ebp
0xb7d66adb: mov 0xc(%ebp),%edx
0xb7d66ade: mov 0x8(%ebp),%eax
---Type <return> to continue, or q <return> to quit---
0xb7d66ae1: jmp 0xb7d66ae4
0xb7d66ae3: inc %eax
0xb7d66ae4: cmp %dl,(%eax)
0xb7d66ae6: jne 0xb7d66ae3
0xb7d66ae8: pop %ebp
0xb7d66ae9: ret
0xb7d66aea: nop
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x21ee5b7f 569269119
edx 0x1 1
ebx 0x85e0920 140380448
esp 0xbfffe4b8 0xbfffe4b8
ebp 0xbfffe4b8 0xbfffe4b8
esi 0xac44 44100
edi 0x87b8320 142312224
eip 0xb7d66acb 0xb7d66acb
eflags 0x210212 [ AF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x0 0
st0 <invalid float value> (raw 0xffff0000000000000000)
st1 <invalid float value> (raw 0xffff0000000000000000)
st2 <invalid float value> (raw 0xffff0000000000000000)
st3 1000000000 (raw 0x401cee6b280000000000)
st4 1000000000 (raw 0x401cee6b280000000000)
st5 169787019 (raw 0x401aa1ebe8b000000000)
st6 44100 (raw 0x400eac44000000000000)
st7 44100 (raw 0x400eac44000000000000)
fctrl 0x37f 895
fstat 0x4020 16416
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8074550 134694224
foseg 0x0 0
fooff 0x0 0
---Type <return> to continue, or q <return> to quit---
fop 0x5d8 1496
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {
0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0,
0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x00000000000000000000000000000000}
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {
---Type <return> to continue, or q <return> to quit---
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0xee6b280000000000, v2_int32 = {0x0, 0xee6b2800},
v4_int16 = {0x0, 0x0,
0x2800, 0xee6b}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x28, 0x6b, 0xee}}
mm4 {uint64 = 0xee6b280000000000, v2_int32 = {0x0, 0xee6b2800},
v4_int16 = {0x0, 0x0,
0x2800, 0xee6b}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x28, 0x6b, 0xee}}
mm5 {uint64 = 0xa1ebe8b000000000, v2_int32 = {0x0, 0xa1ebe8b0},
v4_int16 = {0x0, 0x0,
0xe8b0, 0xa1eb}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0xb0, 0xe8, 0xeb, 0xa1}}
mm6 {uint64 = 0xac44000000000000, v2_int32 = {0x0, 0xac440000},
v4_int16 = {0x0, 0x0,
0x0, 0xac44}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x44, 0xac}}
mm7 {uint64 = 0xac44000000000000, v2_int32 = {0x0, 0xac440000},
v4_int16 = {0x0, 0x0,
0x0, 0xac44}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x44, 0xac}}
(gdb) q
The program is running. Exit anyway? (y or n) y
More information about the MPlayer-users
mailing list