Bug 5001 - Choosing any option crashes the application
: Choosing any option crashes the application
Status: VERIFIED FIXED
Product: Wormux
General
: unspecified
: All Linux
: Low blocker (vote)
: ---
Assigned To: Mikko Vartiainen
: general
:
:
:
:
  Show dependency tree
 
Reported: 2009-08-26 20:59 UTC by Andre Klapper
Modified: 2009-09-21 15:33 UTC (History)
1 user (show)

See Also:


Attachments
config.xml for wormux (sound disabled) (1.52 KB, text/xml)
2009-08-26 21:24 UTC, Mikko Vartiainen
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Andre Klapper (reporter) maemo.org 2009-08-26 20:59:39 UTC
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
Comment 1 Mikko Vartiainen 2009-08-26 21:24:47 UTC
Created an attachment (id=1342) [details]
config.xml for wormux (sound disabled)
Comment 2 Mikko Vartiainen 2009-08-26 21:28:24 UTC
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
Comment 3 Andre Klapper (reporter) maemo.org 2009-08-26 22:31:52 UTC
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.
Comment 4 Andre Klapper (reporter) maemo.org 2009-08-27 13:18:14 UTC
(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.
Comment 5 Mikko Vartiainen 2009-08-27 14:13:47 UTC
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.
Comment 6 Mikko Vartiainen 2009-08-28 05:24:17 UTC
Sound is hopefully fixed in wormux_0.8.4-0maemo2
Comment 7 Andre Klapper (reporter) maemo.org 2009-08-29 16:51:34 UTC
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. :-(
Comment 8 Mikko Vartiainen 2009-08-29 17:36:04 UTC
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..
Comment 9 Mikko Vartiainen 2009-09-21 15:08:53 UTC
fixed in wormux_0.8.4-0maemo4
Comment 10 Andre Klapper (reporter) maemo.org 2009-09-21 15:33:23 UTC
Verified.