#211 prboom crashes if ALSA is not installed

open
nobody
5
2011-02-06
2011-02-06
No

I'm using Arch Linux with OSS4.
If I launch prboom without -nomusic, it looks for ALSA and crashes.

hellpe$ prboom -iwad Doom.wad

prboom v2.5.0 (http://prboom.sourceforge.net/)
I_SetAffinityMask: manual affinity mask is 1
M_LoadDefaults: Load system defaults.
default file: /home/hellpe/.prboom/prboom.cfg
found Doom.wad
IWAD found: Doom.wad
PrBoom (built Feb 26 2010), playing: The Ultimate DOOM
PrBoom is released under the GNU General Public license v2.0.
You are welcome to redistribute it under certain conditions.
It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.
V_Init: allocate screens.
found /usr/share/games/doom/prboom.wad
D_InitNetGame: Checking for network game.
W_Init: Init WADfiles.
adding Doom.wad
adding /usr/share/games/doom/prboom.wad
W_InitCache

M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon -
R_LoadTrigTables: Endianness...ok.
R_InitData: Textures Flats Sprites
R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap R_InitTranslationsTables R_InitPatches
P_Init: Init Playloop state.
I_Init: Setting up machine state.
I_InitSound: ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
configured audio device with 1024 samples/slice
I_InitSound: sound module ready
S_Init: Setting up sound.
S_Init: default sfx volume 8
I_SignalHandler: Exiting on signal: signal 4
I_ShutdownMusic: removing /tmp/prboom-music-CLcRnu
I_ShutdownSound:

Discussion

  • RjY

    RjY - 2011-02-08

    Thanks for the report. I don't think PrBoom does anything ALSA-specific, though, we just call SDL to handle sound (and in the case of music, SDL_mixer) and although I wouldn't say for certain PrBoom's sound code isn't doing something wrong, I'd be more likely to suspect the bug is lower down. Perhaps your SDL_mixer is built against ALSA, not OSS4? That's my best guess, anyway.

     
  • Laurent Pointecouteau

    I don't know about my SDL_mixer, it's the one from Arch repositories. How can I figure this out ?
    Nonetheless, I typed "export SDL_AUDIODRIVER='dsp'" to see if there's a difference. Prboom still crashes, exept it doesn't display any ALSA-related messages anymore, it just ends with "Exiting on signal: signal 4 (...)" just like the previous error log.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks