[MPlayer-users] crash on exit if /dev/dsp is unavailable (can't open audio device)

vdb128 at picaros.org vdb128 at picaros.org
Thu Feb 19 03:56:08 CET 2004


Dear,

The 1.0pre3 version crashes on exit if the audio is unavailable (module 
was not loaded).  Below are three examples which seem to correlate this 
crash to the message 

  audio_setup: Can't open audio device /dev/dsp: No such device
  AO: [arts] can't connect to aRts soundserver
  AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)

Best regards,
Servaas Vandenberghe

Slackware 9.0
Linux stargate 2.4.23 #14 Thu Dec 4 04:41:59 CET 2003 i686 unknown
libc-2.2.5.so
gcc version 2.95.3 20010315 (release)
GNU ld version 2.12.90.0.1 20020307
GNU assembler 2.12.90.0.1 20020307

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 1.60GHz
stepping        : 4
cpu MHz         : 1615.956
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3224.37

Matrox MGA G200/G400/G450/G550 YUV Video interface v2.01 (c) Aaron Holtzman & A'
rpi
mga_vid: Found MGA G550 at 01:00.0 [Matrox Graphics, Inc. MGA G550 AGP]
mga_vid: MMIO at 0xf8966000 IRQ: 11  framebuffer: 0xF6000000
mga_vid: OPTION word: 0x400A1520  mem: 0x05  SDRAM
mga_vid: detected RAMSIZE is 32 MB
syncfb (mga): IRQ disabled in mga_vid.c
mga_vid: 1 supported cards found

-------------------------------------------------------------------------

stargate:/mach/reddwarf/home/vdb128/html/mp3$ mplayer -vo x11 Flaming\ Lips-She\ Don\'t\ Use\ Jelly.mpg 
MPlayer 1.0pre3-2.95.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1616 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/vdb128/.mplayer/config
Reading /home/vdb128/.mplayer/codecs.conf: Can't open '/home/vdb128/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/vdb128/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/vdb128/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing Flaming Lips-She Don't Use Jelly.mpg.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
==========================================================================
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 1280x1024 with depth 8 and 8 bpp (":10.0" => remote display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: No such device
AO: [arts] can't connect to aRts soundserver
AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x240 => 352x264 Planar YV12 
Shared memory not supported
Reverting to normal Xlib
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 8-bit special converter
BGR not supported, please contact the developers
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)


MPlayer interrupted by signal 11 in module: exit_player
- 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.

----------------------------------------------------------------------------
stargate:/mach/reddwarf/home/vdb128/html/mp3$ mplayer -vo x11 Flaming\ Lips-She\ Don\'t\ Use\ Jelly.mpg 
MPlayer 1.0pre3-2.95.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1616 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/vdb128/.mplayer/config
Reading /home/vdb128/.mplayer/codecs.conf: Can't open '/home/vdb128/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/vdb128/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/vdb128/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing Flaming Lips-She Don't Use Jelly.mpg.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
==========================================================================
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 1280x1024 with depth 8 and 8 bpp (":10.0" => remote display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x240 => 352x264 Planar YV12 
Shared memory not supported
Reverting to normal Xlib
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 8-bit special converter
BGR not supported, please contact the developers
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)
---------------------------------------------------------------------------

stargate:/mach/reddwarf/home/vdb128/html/mp3$ mplayer -ov x11 Flaming\ Lips-She\ Don\'t\ Use\ Jelly.mpg 
MPlayer 1.0pre3-2.95.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1616 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Creating config file: /home/sus/.mplayer/config
Reading config file /home/sus/.mplayer/config
Unknown option on the command line: ov
stargate:/mach/reddwarf/home/vdb128/html/mp3$ mplayer -vo x11 Flaming\ Lips-She\ Don\'t\ Use\ Jelly.mpg 
MPlayer 1.0pre3-2.95.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1616 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/sus/.mplayer/config
Reading /home/sus/.mplayer/codecs.conf: Can't open '/home/sus/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/sus/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/sus/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing Flaming Lips-She Don't Use Jelly.mpg.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
==========================================================================
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 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: No such device
AO: [arts] can't connect to aRts soundserver
AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x240 => 352x264 Planar YV12 
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
A:  28.5 V:  28.5 A-V:  0.005 ct:  0.080  847/847   3%  8%  1.0% 0 0 0%
Exiting... (Quit)


MPlayer interrupted by signal 11 in module: exit_player
- 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.




More information about the MPlayer-users mailing list