Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music related bug leads to crashing. #2

Closed
01y opened this issue Sep 15, 2018 · 1 comment

Comments

@01y
Copy link
Owner

commented Sep 15, 2018

Steps to reproduce:

  1. Start a new game using AOG Shareware version 3.0, with the "--cheats" command line argument and use BACKSPACE-W (that is, on Vita, compile with CMake variable VITA_TEST set to ON, press the "Planet Strike" button to launch, then press, circle + left part of front screen while in-game) to warp to various different levels in succession. Once the levels visited include four sets from the following collection: ({2,6}, {3,7}, {5,8}, {0}, {1,4,7}), the game will crash while loading the first level from the fourth set (last thing to be displayed is the loading screen, without fading out, before next music track would have started). If you restrict the level switching to three total sets, you may continue indefinitely. Each set represents the levels corresponding to a particular background track.

  2. OR: Start a new game in PS, with music and sound enabled, and kill all enemies & collect all items in the first two rooms. Game will crash when a sound effect is triggered at some point before finishing, or if not, when opening a door to a third room.

In both cases, crashes are not triggered when music is disabled in settings.

May have something to do with sound effects causing a pause in the music as well the first time they are played.

Different behavior was observed by doing step 1 using Registered AOG data files (typically would not crash as a result of loading levels, but only after triggering some sound effects).

@01y

This comment has been minimized.

Copy link
Owner Author

commented Aug 13, 2019

Was able to cause similar behavior on other platforms by limiting memory available to the program to a bit under 60MB (with for instance, ulimit -d). Commit 0e7e6bd prevents this occurring on Vita by increasing heap size (which is 32MB by default when using vitaSDK).

@01y 01y closed this Aug 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.