Describe the bug
ArrowVortex crashes when trying to load a simfile using the File > Recent files dialogue - This only occurs when the Chart List (Chart>Chart List... / Shift+L) is open AND you are attempting to open a simfile with less total difficulty slots than the currently loaded simfile with that dialogue. It also requires that there be a .ogg music file to load.
To Reproduce
Download this simfile-test.zip and skip to step 5 OR:
- Create two empty folders with any name.
- Create blank .sm files and any .ogg music files within each folder. (This bug does not occur when the simfile uses a .mp3 music file, OR has an empty music property)
- In the first .sm file, create 1-2 difficulty slots (Chart>New chart... / Shift+N). Make sure the music property is populated with a .ogg music file
- In the second .sm file, create at least 3 difficulty slots - the crash does not occur going from a file with 2 => 1 difficulty slots. Make sure the music property is populated with a .ogg music file
- Open the Chart List (Chart>Chart List... / Shift+L)
- Open "Simfile1" (or, a simfile with less than 3 slots)
- Open "Simfile2" (or, a simfile with at least 3 slots)
- Now that both simfiles have been loaded before, they will appear in File>Recent files. Load the simfile with less than 3 slots again, and observe the crash.
This crash occurs after building the latest commit 764b5b3 on Linux.
Describe the bug
ArrowVortex crashes when trying to load a simfile using the File > Recent files dialogue - This only occurs when the Chart List (Chart>Chart List... / Shift+L) is open AND you are attempting to open a simfile with less total difficulty slots than the currently loaded simfile with that dialogue. It also requires that there be a .ogg music file to load.
To Reproduce
Download this simfile-test.zip and skip to step 5 OR:
This crash occurs after building the latest commit 764b5b3 on Linux.