Red Hat Bugzilla – Bug 113831
SDL Crashes with gl-117 or scorched3d
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) (KHTML, like Gecko)
Description of problem:
Compiled or installed a couple of games, gl-117 and scorched3d both games segfaulted with and SDL parachute message. I went to SDL sites and replaced the Fedora rpms with RPMs supplied by SDL and both games seemed to work fine.
Version-Release number of selected component (if applicable):
SDL-1.2.5-9, SDL_image-1.2.3-3, SDL_mixer-1.2.4-9, SDL_net-1.2.4-8
Steps to Reproduce:
1. Install g-117 or scorched3d
2. Run either game
Actual Results: Segfault with SDL parachute message
Expected Results: Games should run
I get this error with tons of SDL apps, dosbox, frozen-bubble,
freedroidRPG, scorched3d, etc... The problem is that SDL is not
cooperating with arts sound server in KDE. A simple work-around is to
terminate the arts sound server. Perhaps SDL is not being compiled
with arts support???
Perhaps so..... As I said in my report, when I went to SDL's sight and replaced
SDL with their RPM things worked fine.
I tried upgrading to 1.2.6 with RPMs from the SDL site and this fixed
things, hopefully FC2 will use version 1.2.6. Thanks for the notice.
Please have a look at SDL-1.2.6-3.1 in rawhide. It should fix your
it doesnt work for me i can not play frozen-bubble or nethack i can
by killing arts there was no change put i noticed that SDL_mixer and
others were not updated
I think before you had to complete kill the arts server for it to
work, with the new version it should work if arts is just suspended.
You can configure how long arts suspends itself from the kde control
center, I have mine set to like 10 seconds.
I understand that. I am running a 2.6.2 kernel with KDE 3.2 but had
the same issues with 2.4 and KDE 3.1.4 i am using alsa as sound so
it should always be available arts doesnt stop access to the sound
card. i have tried rebuilding SDL_mixer without any of the patches
and that didnt help.
Please run the game in gdb and see where exactly it crashes.
Closed due to user inactivity.
Hi sorry for putting this off. Bug still occurs with latest rawhide
rpms (note there is no SDL_sound section in bugzilla)
Anyway here is the backtrace for a crash I get in dosbox (dosbox.sf.net):
#0 0xf5ec4440 in ?? ()
#1 0xf5d1929c in std::vector<Arts::MethodDef,
std::allocator<Arts::MethodDef> >::_M_insert_aux () from
#2 0xf5d194b6 in Arts::readTypeSeq<Arts::MethodDef> ()
#3 0xf5d116ef in Arts::InterfaceDef::readType () from
#4 0xf5d119c4 in Arts::InterfaceDef::InterfaceDef ()
#5 0xf5d1b58e in Arts::readTypeSeq<Arts::InterfaceDef> ()
#6 0xf5d127f9 in Arts::ModuleDef::readType () from /usr/lib/libmcop.so.1
#7 0xf5d12a76 in Arts::ModuleDef::ModuleDef () from /usr/lib/libmcop.so.1
#8 0xf5d3715a in Arts::IDLFileReg::startup () from /usr/lib/libmcop.so.1
#9 0xf5d3d3b7 in Arts::StartupManager::startup () from
#10 0xf5d23568 in Arts::Dispatcher::Dispatcher () from
#11 0xf41310a4 in arts_backend_init () from /usr/lib/libartscbackend.so.0
#12 0xf604e2b6 in arts_init () from /usr/lib/libartsc.so.0
#13 0xf6e9f53b in SDL_MixAudio_MMX_S8 () from /usr/lib/libSDL-1.2.so.0
#14 0xf6e9a661 in SDL_OpenAudio () from /usr/lib/libSDL-1.2.so.0
#15 0x080c23e4 in MIXER_Init (sec=0xa038568) at mixer.cpp:467
#16 0x080f293b in Config::Init (this=0xf5d63038) at stl_list.h:130
#17 0x080dc89c in main (argc=1, argv=0xfeff33f4) at sdlmain.cpp:1107
I also ran mamed and the exact same crash occured in the exact same
location, I imagine the crash is similar for other apps. The mamed
developer says he runs mamed with SDL and does not get the crash, so
it appears to be a redhat specific bug.
Let me know if you need more info.
PS I tried to reopen this bug but couldn't. I'll file a new bug if
setting SDL_AUDIODRIVER=arts fixes the crash.
I should note that while setting SDL_AUDIODRIVER=arts fixes the crash,
the apps don't run with sound.
mamed gives this warning: Cannot open audio: No available audio device
and dosbox gives this warning: MIXER:Can't open audio: No available
audio device , running in nosound mode.
Perhaps SDL_mixer is not being compiled with arts support?
Fixed in rawhide in rpm SDL-1.2.7-8 or newer.
Confirmed fixed! Thanks! :D