Open Jamiras opened 3 years ago
I also observed this with Super Mario RPG as you did, as well as with Kirby Super Star and Kirby's Dream Land 3 (Both USA). Upon startup (roughly 2 seconds after startup for Super Star), immediate segfault. Disabling achievements fixes both. Not sure if it is exactly the same issue as yours, however.
If this matters, this also happens to me on Retroarch's regular bsnes core.
This is caused by a memory descriptor providing an invalid pointer, so when the achievement code tries to read the associated memory, an invalid memory access exception occurs.
You can see this in the log just before the crash:
The problem is descriptor 19's
ptr
is set to something that is clearly not a valid address.When loading other games, the bad descriptor doesn't exist, so the SRAM segment just cannot be mapped. Here's the log from loading Super Mario All-Stars:
In this case, since the region specifically could not be mapped, the achievement code ignores it.