[MPlayer-users] mplayer crashes with dsp device when streaming audio

Matthias ulysses_1966 at ymail.com
Tue Apr 7 07:58:43 CEST 2009


The actual version of mplayer (SVN-r29150-4.3.2) crashes with audio streams
(example: http://stream.fhv.at:8000/radiovbg_128) when using /dev/dsp. This
had not yet happened with version SVN-r28519-4.3.2. Also playing of local
mp3 files with dsp device still works. 

Example output:
=================================================

MPlayer SVN-r29150-4.3.2 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/user/me/.mplayer/codecs.conf'
Reading /user/me/.mplayer/codecs.conf: Can't open
'/user/me/.mplayer/codecs.conf': No such file or directory
Reading /cluster1/usr/local/etc/mplayer/codecs.conf: Can't open
'/cluster1/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/cluster1/usr/local --enable-gui
--enable-runtime-cpudetection --enable-debug=3
CommandLine: '-v' 'http://stream.fhv.at:8000/radiovbg_128'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/user/me/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/user/me/.mplayer/input.conf'
Can't open input config file /user/me/.mplayer/input.conf: No such file or
directory
Can't open input config file /cluster1/usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('radiovbg_128.conf') -> '/user/me/.mplayer/radiovbg_128.conf'

Playing http://stream.fhv.at:8000/radiovbg_128.
get_path('sub/') -> '/user/me/.mplayer/sub/'
Filename for url is now http://stream.fhv.at:8000/radiovbg_128
Filename for url is now http://stream.fhv.at:8000/radiovbg_128
STREAM_HTTP(1), URL: http://stream.fhv.at:8000/radiovbg_128
Resolving stream.fhv.at for AF_INET6...
Couldn't resolve name for AF_INET6: stream.fhv.at
Resolving stream.fhv.at for AF_INET...
Connecting to server stream.fhv.at[193.170.2.184]: 8000...
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [0]
Fields:
 0 - Content-Type: audio/mpeg
 1 - icy-br:128
 2 - icy-description:livestream provided by Fachhochschule Vorarlberg
 3 - icy-genre:live
 4 - icy-name:Radio Vorarlberg
 5 - icy-pub:0
 6 - icy-url:http://vorarlberg.orf.at/
 7 - Server: Icecast 2.3.2
 8 - Cache-Control: no-cache
 9 - icy-metaint:16000
--- HTTP DEBUG HEADER --- END ---
Name   : Radio Vorarlberg
Genre  : live
Website: http://vorarlberg.orf.at/
Public : no
Bitrate: 128kbit/s
Cache size set to 320 KBytes
STREAM: [null] http://stream.fhv.at:8000/radiovbg_128
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeau, Reimar Doeffinger, Arpi?
STREAM: Comment: plain http


MPlayer interrupted by signal 7 in module: enable_cache
- 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.
================================
This is the output of the debugger:
================================
Starting program: /user/me/mpl/mplayer-checkout/mplayer
http://stream.fhv.at:8000/radiovbg_128
[Thread debugging using libthread_db enabled]
[New Thread 0xb71379e0 (LWP 481)]

Program received signal SIGBUS, Bus error.
[Switching to Thread 0xb71379e0 (LWP 481)]
0x082bd03e in cache_init (size=327680, sector=2048) at stream/cache2.c:258
258	  memset(s,0,sizeof(cache_vars_t));
#0  0x082bd03e in cache_init (size=327680, sector=2048) at
stream/cache2.c:258
#1  0x082bd897 in stream_enable_cache (stream=0x9431900, size=327680, 
    min=65536, seek_limit=163840) at stream/cache2.c:320
#2  0x080c8a2e in main (argc=2, argv=0xbfe57764) at mplayer.c:3190
Dump of assembler code from 0x82bd01e to 0x82bd05e:
0x082bd01e <cache_init+14>:	cld    
0x082bd01f <cache_init+15>:	cld    
0x082bd020 <cache_init+16>:	mov    0xc(%ebp),%esi
0x082bd023 <cache_init+19>:	movl   $0x64,(%esp)
0x082bd02a <cache_init+26>:	call   0x82a9890 <shmem_alloc>
0x082bd02f <cache_init+31>:	test   %eax,%eax
0x082bd031 <cache_init+33>:	mov    %eax,%ebx
0x082bd033 <cache_init+35>:	je     0x82bd07f <cache_init+111>
0x082bd035 <cache_init+37>:	xor    %eax,%eax
0x082bd037 <cache_init+39>:	mov    $0x19,%ecx
0x082bd03c <cache_init+44>:	mov    %ebx,%edi
0x082bd03e <cache_init+46>:	rep stos %eax,%es:(%edi)
0x082bd040 <cache_init+48>:	mov    0x8(%ebp),%edx
0x082bd043 <cache_init+51>:	mov    %edx,%eax
0x082bd045 <cache_init+53>:	sar    $0x1f,%edx
0x082bd048 <cache_init+56>:	idiv   %esi
0x082bd04a <cache_init+58>:	cmp    $0xf,%eax
0x082bd04d <cache_init+61>:	jle    0x82bd090 <cache_init+128>
0x082bd04f <cache_init+63>:	imul   %esi,%eax
0x082bd052 <cache_init+66>:	mov    %esi,0x8(%ebx)
0x082bd055 <cache_init+69>:	mov    %eax,0x4(%ebx)
0x082bd058 <cache_init+72>:	mov    %eax,(%esp)
0x082bd05b <cache_init+75>:	call   0x82a9890 <shmem_alloc>
End of assembler dump.
eax            0x0	0
ecx            0x19	25
edx            0xb742c4e0	-1220360992
ebx            0xb7f1c000	-1208893440
esp            0xbfe55430	0xbfe55430
ebp            0xbfe55448	0xbfe55448
esi            0x800	2048
edi            0xb7f1c000	-1208893440
eip            0x82bd03e	0x82bd03e <cache_init+46>
eflags         0x210246	[ PF ZF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            0	(raw 0x00000000000000000000)
st1            0	(raw 0x00000000000000000000)
st2            0	(raw 0x00000000000000000000)
st3            0	(raw 0x00000000000000000000)
st4            0	(raw 0x00000000000000000000)
st5            163840	(raw 0x4010a000000000000000)
st6            0.20000000000000000000271050543121376	(raw
0x3ffccccccccccccccccd)
st7            65536	(raw 0x400f8000000000000000)
fctrl          0x37f	895
fstat          0x20	32
ftag           0xffff	65535
fiseg          0x73	115
fioff          0x80c8a13	135039507
foseg          0x7b	123
fooff          0xbfe554c8	-1075489592
fop            0x5ba	1466
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 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0xa000000000000000, v2_int32 = {0x0, 0xa0000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xa000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 
    0x0, 0xa0}}
mm6            {uint64 = 0xcccccccccccccccd, v2_int32 = {0xcccccccd, 
    0xcccccccc}, v4_int16 = {0xcccd, 0xcccc, 0xcccc, 0xcccc}, v8_int8 =
{0xcd, 
    0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}}
mm7            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 
    0x0, 0x80}}
Continuing.

Program exited with code 01.
===========================================

Thanks in advance for your help,
   Matthias



More information about the MPlayer-users mailing list