URL:
<http://gna.org/bugs/?11754>
Summary: Segfault if sound device is not available on
OpenBSD
Project: Wormux
Submitted by: landry
Submitted on: Wednesday 05/28/2008 at 13:10
Category: SDL
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 0.8.0
Discussion Lock: Any
_______________________________________________________
Details:
Wormux segfaults if another app is already exclusively using the sound
device. To reproduce, launch any app using dev/sound, and run wormux. start a
game, walk 20 pixels:
* Couldn't open audio: No available audio device
[ Lancement du jeu ]
........
[ Lancement d'une nouvelle partie ]
o Artificial Intelligence engine initialization
[New process 20130, thread 0x7ec2e800]
Action_ChangeCharacter:
char_index = 1
Playing character : 1 Connochaetes gnu
Playing team : 1 Gnu
Alive characters: 6 / 6
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 20130, thread 0x81f5b000]
0x0aa6dc14 in Mix_VolumeChunk () from /usr/local/lib/libSDL_mixer.so.3.0
Partial backtrace:
(gdb) bt
#0 0x0c516c14 in Mix_VolumeChunk () from /usr/local/lib/libSDL_mixer.so.3.0
#1 0x1c1171bc in toupper ()
#2 0x1c116fc9 in toupper ()
Recompiling with -ggdb3 didn't gave more information on the failing call in
wormux source.. i'll try to see if the problem is in OpenBSD's SDL_mixer.
If i stop the other app using dev/sound, this problem doesn't arise.. so it's
probably tied to a sound access problem.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11754>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna