0.9.15-1 Floating Point Exception on fresh Kubuntu 10.10 install

2 replies [Last post]
XeXano
User offline. Last seen 13 years 13 weeks ago. Offline
Joined: 2011-01-12
Posts: 2

Hi everybody,

I've never had problems running Hedgwars on Kubuntu (originally 9.10, upgraded to 10.04 and then 10.10). Up until recently I've played Hedgewars 0.9.15 without any issues.

I have recently reinstalled Kubuntu 10.10 from scratch (due to some computer problems). Now when I start Hedgewars, it crashes immediately (before showing the start screen) with "Floating point exception".

If I use my backuped ~/.hedgewars directory, I can run the game and play, but without sound. (volume up and down keys don't work, but always display "volume: 0%"). Also, when I click on "Music in frontend" in the settings menu, the program crashes with the same "Floating point exception".

I have found similar issues in other threads, but the proposed solution (starting pulseaudio) doesn't work (it's already running all the time).

Has anyone encountered the same problem, and knows a fix? That would be greatly appreciated.

Thanks,
chris

nemo
nemo's picture
User offline. Last seen 1 week 4 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Problem is definitely due to your sound system.
Error is in SDL, on attempt to init sound.
Typically this happens if you are using a cheap sound card that does not support hardware mixing (so requires exclusive locks) and you have conflicting sound systems.
SDL attempts to determine what the appropriate system sound system is and tries to connect. That sound system tries to do its thing, but something else has an exclusive lock.

This can happen when using some older versions of Flash btw.

Try killing pulseaudio (should restart itself).

You can try updating Flash or closing web browsers, you should also check what sound systems you have installed.

Try also checking:

sudo fuser -v /dev/snd/*

Should tell you what apps have locks on your sound card.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

XeXano
User offline. Last seen 13 years 13 weeks ago. Offline
Joined: 2011-01-12
Posts: 2

Thanks for the comments! I discovered through hints from a friend that I was missing the the SDL pulseaudio library (in this case, libsdl1.2debian-pulseaudio), I guess this was preventing Hedgewars from connecting to pulseaudio. After installing it everything runs fine now.

Greets,
Chris

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]