Ticket #6 (new defect)

Opened 13 months ago

Last modified 12 months ago

crash on linux when soundcard already used

Reported by: rogma.boami@… Owned by: somebody
Priority: trivial Keywords:
Cc:

Description

On linux (debian ?) : * Have an application already using soundcard (like a music player) * launch sfz and watch it crash with following log :

loading system /usr/local/games/sfz/data/system/wolf_359.lua SoundInit(any,44100.000000)

ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave open /dev/[sound/]dsp: Device or resource busy ShipPartTypeDefaultPreLoader shippart ShipPartTypeDefaultPreLoader shippart/box ShipPartTypeDefaultPreLoader shippart/pyramid2 ShipPartTypeDefaultPreLoader shippart/pyramid1 ShipPartTypeDefaultPreLoader shippart/ramp2 ShipPartTypeDefaultPreLoader shippart/ramp1 spawnloc creategfx = table: 0x9fe2ef8 starting music /usr/local/games/sfz/data/music/acb_nordic_point.ogg SoundPlayMusic /usr/local/games/sfz/data/music/acb_nordic_point.ogg stop music lugre/src/lugre_main.cpp:176:Lugre_Run

lugre/src/lugre_game.cpp:19:Run

lugre/src/lugre_scripting.cpp:263:LuaCall

lugre/src/lugre_scripting.cpp:187:PCallWithErrFuncWrapper

lugre/src/lugre_sound_L.cpp:108:Play

PrintLuaStackTrace: LuaStackTrace:

[C]: in function `Play' /usr/local/games/sfz/lugre/lua/lib.sound.lua:160: in function `SoundPlayMusic' /usr/local/games/sfz/data/lua/lib.music.lua:20: in function `PlayRandomMusic' /usr/local/games/sfz/data/lua/lib.music.lua:15: in function `StartMusic' /usr/local/games/sfz/data/lua/main.lua:221: in function `Main'

ERROR : SegFault Detected

Expected result :

maybe a much proper crash ? or even launching the game without sound ?

regards

Change History

Changed 12 months ago by ghoulsblade

thanks ! we're just too busy to fix it at the moment, but we'll leave the ticket open for later =)

Note: See TracTickets for help on using tickets.