Opened 10 years ago

#1432 new defect

crash when streaming audio with dsp device

Reported by: ulysses_1966@… Owned by: reimar
Priority: normal Component: ao
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

The actual version of mplayer (SVN-r29105-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.

./mplayer -v http://stream.fhv.at:8000/radiovbg_128
MPlayer SVN-r29105-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 --codecsdir=/cluster1/usr/local/lib/codecs --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.

Here is the gdb output:

Program received signal SIGBUS, Bus error.
[Switching to Thread 0xb70fd9e0 (LWP 21592)]
0x082bd0be in cache_init (size=327680, sector=2048) at stream/cache2.c:258
258 memset(s,0,sizeof(cache_vars_t));

#0 0x082bd0be in cache_init (size=327680, sector=2048) at stream/cache2.c:258
#1 0x082bd917 in stream_enable_cache (stream=0xabbc900, size=327680,

min=65536, seek_limit=163840) at stream/cache2.c:320

#2 0x080c89d6 in main (argc=2, argv=0xbfc1d524) at mplayer.c:3187
Dump of assembler code from 0x82bd09e to 0x82bd0de:
0x082bd09e <cache_init+14>: cld
0x082bd09f <cache_init+15>: cld
0x082bd0a0 <cache_init+16>: mov 0xc(%ebp),%esi
0x082bd0a3 <cache_init+19>: movl $0x64,(%esp)
0x082bd0aa <cache_init+26>: call 0x82a9910 <shmem_alloc>
0x082bd0af <cache_init+31>: test %eax,%eax
0x082bd0b1 <cache_init+33>: mov %eax,%ebx
0x082bd0b3 <cache_init+35>: je 0x82bd0ff <cache_init+111>
0x082bd0b5 <cache_init+37>: xor %eax,%eax
0x082bd0b7 <cache_init+39>: mov $0x19,%ecx
0x082bd0bc <cache_init+44>: mov %ebx,%edi
0x082bd0be <cache_init+46>: rep stos %eax,%es:(%edi)
0x082bd0c0 <cache_init+48>: mov 0x8(%ebp),%edx
0x082bd0c3 <cache_init+51>: mov %edx,%eax
0x082bd0c5 <cache_init+53>: sar $0x1f,%edx
0x082bd0c8 <cache_init+56>: idiv %esi
0x082bd0ca <cache_init+58>: cmp $0xf,%eax
0x082bd0cd <cache_init+61>: jle 0x82bd110 <cache_init+128>
0x082bd0cf <cache_init+63>: imul %esi,%eax
0x082bd0d2 <cache_init+66>: mov %esi,0x8(%ebx)
0x082bd0d5 <cache_init+69>: mov %eax,0x4(%ebx)
0x082bd0d8 <cache_init+72>: mov %eax,(%esp)
0x082bd0db <cache_init+75>: call 0x82a9910 <shmem_alloc>
End of assembler dump.
eax 0x0 0
ecx 0x19 25
edx 0xb73f24e0 -1220598560
ebx 0xb7ee2000 -1209131008
esp 0xbfc1b1f0 0xbfc1b1f0
ebp 0xbfc1b208 0xbfc1b208
esi 0x800 2048
edi 0xb7ee2000 -1209131008
eip 0x82bd0be 0x82bd0be <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 0x80c89bb 135039419
foseg 0x7b 123
fooff 0xbfc1b288 -1077824888
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}}

The program is running. Exit anyway? (y or n) Not confirmed.
Continuing.

Program exited with code 01.

Thanks, Matthias

Change History (0)

Note: See TracTickets for help on using tickets.