hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.38k stars 2.19k forks source link

Castlevania Symphony of the Night in Dracula X Chronicles crashes PPSSPP at a certain boss fight #9940

Closed claybutton closed 2 years ago

claybutton commented 7 years ago

jkd kutydc

hrydgard commented 7 years ago

Thanks for reporting. A savegame and/or a savestate right before the crash would help investigation.

claybutton commented 7 years ago

Sorry, I'm not very techie. Is this the file you need? Also what should I use to share it? hteahuae

claybutton commented 7 years ago

I think I got it. https://drive.google.com/drive/folders/0BwfM2MjLgyUhd1U1U1lGRnF2MzQ

res0nance commented 7 years ago

To reach the crash you need to select original game and symphony of the night then load the file and move right for 2 screens to enter the boss room.

The crash happens when you hit the up button to trigger the boss after the screen fades to black.

Using a debugger gives a crash at the enterDispatch function pointer call which gives a read access violation.

LunaMoo commented 7 years ago

This problem might be limited to US version or caused by non default user settings. Also possible there's just another popular bad dump flying around the net which people pirate since crashes like that when loading assets from another location commonly are caused by missing/corrupted files.

Tested on legit copy of EU version and it works fine even with that savedata(after renaming;p) and I also remember finishing whole SotN to 200+ % whatever was the max including the mirror/upside down castle starting from 0 and don't remember any bugs.

res0nance commented 7 years ago

I made a fresh dump of the US version and still got a crash using the save provided.

Exception thrown at 0x19220CBB in PPSSPPDebug.exe: 0xC0000005: Access violation reading location 0x13C00017.

Possible regression or a bug limited to the US version

unknownbrackets commented 7 years ago

Does it happen when you disable "fast memory" in settings?

A crash inside "enterDispatch" means it's crashing somewhere in jit. Fast memory uses memory directly, which means bugs crash - disabling it puts the kid gloves on, and might avoid the crash.

That won't tell us if it's US or not, but it will confirm if it's crashing on a bad memory access.

Another thing you could try is changing the CPU core from "Jit" to "IR Interpreter" in developer settings. This might be a little slow, but if it doesn't crash, that might point to a jit bug.

Also - it looks like the crash you have is using 32-bit. Can you try 64-bit to see if it crashes there too (with jit and fast memory)?

-[Unknown]

unknownbrackets commented 3 years ago

Any update here?

Note that you'll get more information on crashes now in recent versions.

-[Unknown]

ghost commented 3 years ago

Cannot reproduce this or I'm doing it wrong to reproduce this issue?

https://user-images.githubusercontent.com/37603562/134573184-77c1402d-4373-4731-a0d2-dd73321c6174.mp4

ghost commented 3 years ago

@claybutton any update to reproduce or updated link of your savestates?

unknownbrackets commented 2 years ago

This issue is being closed because it hasn't been updated with feedback. It seems like it may have been fixed.

It's hard to tell when fixes in PPSSPP might fix other games, and sometimes certain settings or cheats may cause bugs that can't be fixed.

If you have more information or can confirm it still happens in the latest git builds, please reply to this issue and it'll be reopened. If you have a new issue with the same game, just create a new issue instead.

-[Unknown]