Crash when going into main menu twice and then back
Wuzzy2 opened this issue · 3 comments
Wuzzy2 commented
How to make Open Surge 0.5.0 crash:
- Go into Options
- Enter the “secret” Debug Mode
- Select
scenes/main_menu.lev
- Go into Options
- Enter the “secret” Debug Mode
- Select
scenes/main_menu.lev
- Select Exit (You should now be in Debug Mode)
- Hit Esc (You should now be in Options menu)
- Select “BACK”
Open Surge will crash (segmentation fault). Surgeception. :D
I don't mind if you actually close this as invalid but this was way too funny to not post. :P
alemart commented
This is a known issue: it will crash when there is a duplicate scene on the stack. The only known way to trigger it is via the debug mode, or through some well crafted script. In any case, a nicer error message would be beneficial, rather than letting it crash. Let me know if you can trigger a nicer error message using the latest commit.
PS: ahahaha, Surgeception, I love it!
Wuzzy2 commented
I can confirm the new error msg appears.
alemart commented
Good! Duplicate scenes are unsupported at this time.