maemo.org Bugzilla – Bug 5001
Choosing any option crashes the application
Last modified: 2009-09-21 15:33:23 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: wormux 0.8.4-0maemo1 on Fremantle STEPS TO REPRODUCE THE PROBLEM: 1. Start Wormux 2. Click any of the available options: "Play", "Network Game", "Options", "Help", "Credits". ACTUAL OUTCOME: Application crashes. o Loading music [Music] Unable to find /usr/share/games/wormux/music/ingame/../../sound/share/frog_music.ogg music file. [ Run game ] [Music] Error : Unable to load music /usr/share/games/wormux/music/menu/Olivier_Militon.-.Le_Calumet.ogg [...] Segmentation fault (core dumped) Note that /usr/share/games/wormux/music/ingame/../../sound/share/frog_music.ogg does not exist here. Note that /usr/share/games/wormux/music/menu/Olivier_Militon.-.Le_Calumet.ogg does exist here. REPRODUCIBILITY: always (10/10) OTHER COMMENTS: "Quit" works. :-P
Created an attachment (id=1342) [details] config.xml for wormux (sound disabled)
Here I'm a bit lost. Wormux works in SDK X86 and ARMEL targets and I really can't debug this on my own. Missing music files is normal. But there should be music. Can you hear music in menu? There is still slight chance that something is wrong with the data files because /usr/share/games/wormux directory should be linked to internal mmc ($INTERNAL_MMC_MOUNTPOINT/.share/wormux). Can you verify this? Reason could be in sound system. Can you try disabling sounds? Sound can be disabled by copying config.xml (comment #1) to ~/.config/wormux/config.xml
First part: > But there should be music. Can you hear music in menu? No music at all, even with volume at 100%. > There is still slight chance that something is wrong with the data files > because /usr/share/games/wormux directory should be linked to internal mmc > ($INTERNAL_MMC_MOUNTPOINT/.share/wormux). Can you verify this? Everything correct according to "ls -l" and "echo $INTERNAL_MMC_MOUNTPOINT", and the directory exists.
(In reply to comment #2) > Sound can be disabled by copying config.xml (comment #1) to > ~/.config/wormux/config.xml Done. And now it works and none of the options crash anymore.
Thank you very much. If you are interested feel free to file more bugs from the sound disabled wormux, so that I can potentially fix more bugs at once.
Sound is hopefully fixed in wormux_0.8.4-0maemo2
I installed wormux_0.8.4-0maemo3 and removed config.xml (hope that's right?). I'm back to the start - Same issues as described in comment 0 here. :-(
ok, this is getting tricky. Actually I could reprodoce the bug in SDK, when sound from SDK was working for a while. I saw that sdlmixer wasn't decoding ogg's (was returning null pointers), but after recompiling sdlmixer-oggwav against latest libvorbisicodec wormux started working. Now SDK has again decided that sound support doesn't exist and I couldn't actually test autobuilder generated package. Problem could even be somewhere in obscure build flags..
fixed in wormux_0.8.4-0maemo4
Verified.