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
Access violation when trying to load any scenario #143
Comments
commit 13d6fa5 lets me load scenarios; more recent commits do not. |
Strange, it works for me. Is there any way to reproduce this bug? |
Hm, starting a new game and loading another from within a game works for me, too. |
I just checked out the latest commit from master, ran "Rebuild solution", then "Local Windows Debugger" and I run into an access violation in Here are the contents of memory when the exception is triggered http://monosnap.com/image/08BvdJwSwVFAfYcf3nfmVoNMG2mhrB |
Using binary search, the first non-working commit is this one: IntelOrca@27a5761 |
Does this happen with every scenario? Africa - Victoria Falls is part of an expansion pack (which I don't have) |
No, actually, it doesn't. The RCT2 game info I imported included several levels which I had already beaten (all the levels before Crazy Castle). It's possible that something in the "completed by" dialog is causing the failure. |
I've added an exception dump here: https://gist.github.com/kevinburke/b0184a79e8c30fb49f00 |
I was also getting this bug. It was crashing on every scenario apart from the 6 flags ones. When i did my initial search i thought it was caused by this 27a5761 commit. Just having a quick look at that commit object_list.c Line 53 onwards shouldn't those address not overlap? (252_4 + 128_4) not (252*4). |
When I try to load a scenario, I get "Access violation" and a message that the game is attempting to read memory location 0x00000 or 0x000007 or some such.
Stack trace goes from line 303 of RCT2_CALLPROC_EBPSAFE to line 229 of scenario_load_and_play (0x00684AC3) to window_title_scenarioselect.c.
The text was updated successfully, but these errors were encountered: