Opened 11 years ago
Closed 10 years ago
#10056 closed bug (fixed)
Worms Armageddon leaked beta: ingame audio mangled and causes crashes
Reported by: | Muzer | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Game Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
When you get Worms Armageddon to run after hacking around the stack allocation issue, the frontend works fine. However, ingame, audio is replaced mostly by white-ish noise, and the game frequently crashes (including always crashing when the game ends). It is always a segfault in GameSoundBuffer::Play(void*, int64) - an example stacktrace is attached.
A workaround is to stop the media server whilst playing the game, which my normal script does. Obviously this results in no sound at all.
Instructions to reproduce:
- Download the leaked WA beta (from http://pulkomandy.tk/~beosarchive/unsorted/ftp.beos.hu/ftp.beos.hu/beos/applications/games/worms/ for example)
- Extract it to some directory
- Download my package of fixes so far from http://tim32.org/~muzer/WA-fix-debug.tar.bz2 (the debug version linked here doesn't disable the media server, so that these crashes can be experienced) and extract this into the directory containing the WA binary.
- cd into the WA-fix directory extracted above, and run ./fix.sh . This will apply a binary patch to the executable and move various things around so the game will actually run (apologies for the hackiness of the current fixes, I couldn't get LD_PRELOAD to work for some reason).
- cd .. and ./PlayWorms.sh
- Reproduce the crash by starting a game (keep pressing the top-left icon for a quick game) and subsequently ending the game (for example by pressing escape and selecting quit).
I'm afraid I'm not a BeOS/Haiku user, but instead an interested Worms Armageddon player - I have never used either OS before a few days ago, so bear with me if I've done anything wrong (in particular, I'm not actually sure which kit this belongs in).
Attachments (4)
Change History (8)
by , 11 years ago
Attachment: | WA-1804-debug-02-10-2013-12-25-35.report added |
---|
comment:1 by , 11 years ago
"cd into the WA-fix directory extracted above" <-- should now say WA-fix-debug
by , 11 years ago
Attachment: | WA-1798-debug-03-10-2013-22-55-54.report added |
---|
A stack trace with debug library
by , 10 years ago
by , 10 years ago
comment:3 by , 10 years ago
The sound is still crashing if you don't kill media_server before starting. This second bug should be investigated and fixed if possible.
Stack trace from audio crash