-   Linux - Software (
-   -   SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault (

tireseas 07-18-2004 11:35 AM

SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault

Was trying to play the eye-candy version of net hack (Falcon's Eye) which is an SDL game, on a Slack 10 system using Xfce4 d.e.
I have installed all the SDL libraries, including SDL_mixer, _image, _net, _ttf, and _perl in the correct sequence, and have some SDL games that seem to work just fine.

So, I don't really understand the following error:


[SDL Init] ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device
 or resource busy
[Graphics...] [Levels] Fatal signal: Segmentation Fault (SDL Parachute Deployed)
andy@valhalla:~$ NetHack/compiled/games/nethack
......................ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p fai
led: Device or resource busy
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Am I reading this error message correctly: the init function is unable to call up the ALSA library because it is registering it as being "busy". Then it seg-faults for the failure to call the sound library and dies.
This is strange because I have tested this on a freshly booted system and afaik there ain't nothing else using it. I also can't find any man entry for the /dev/snd/pcmC0D0p

So any suggestions as to how to do this? These are only games, so nothing too critical, but it would be nice to learn a fix and then get to play the games!!


All times are GMT -5. The time now is 07:21 PM.