RAEmus icon indicating copy to clipboard operation
RAEmus copied to clipboard

[RAP64][Bug] Crashing when Saving a Save-State

Open eldexterr opened this issue 4 years ago • 3 comments

There's times when the emulator crash when you Save a Save State (I have heard for other players happening when you load a save-state, but that haven't ever happened to me, only when I save one) and the following message appear: Captura

Looks like the emulator stop crashing if you freeze at least one address in all the time the emulator was opened, I made some testing and looks like that one was the solution

eldexterr avatar Nov 20 '19 20:11 eldexterr

I was doing a little more testing, looks like doesn't crash only if at least one address is currently freezed, wasn't like that yesterday, but there still one thing I'm totally sure this have something to do about freezing addresses

eldexterr avatar Nov 21 '19 17:11 eldexterr

I'm unable to reproduce. Please clarify your steps to reproduce.

Which windows do you have open? Just the bookmarks window? How are you loading/saving states? Hotkeys or menu? If menu, are you using custom states?

That dialog is the generic exception handler. Is there any more detail in the Logs\Project64.log?

Jamiras avatar Nov 22 '19 02:11 Jamiras

Project64.log:

2019/11/22 09:00:30.926 01320,Error,Exception Handler,CMipsMemoryVM::FilterX86Exception,Invalid memory adderess: C12D0004 2019/11/22 09:00:30.927 01320,Error,User Interface,CNotificationImp::DisplayError,Unknown memory action

Emulation stopped

Replicate for me any time I just save a save-state using hot-keys or a custom one, and happen in all state slots, and looks like it happen everytime doesn't matter if I have the memory viewer opened, or the bookmaker or the achievement editor or all at the same time :/

I tried changin all plugins but everything is the same, also I tried on Hardcore and Softcore and is the same too

Only stop happening when I froze an address, and sometimes stop happening if I just froze an address one time, after that everything just work perfectly

EDIT: A new line is added when I check the "Enable Debugger" option

2019/11/22 09:21:01.995 06348,Error,Exception Handler,CMipsMemoryVM::FilterX86Exception,Invalid memory adderess: C12D0004 2019/11/22 09:21:01.995 06348,Error,User Interface,CNotificationImp::DisplayError,Break point found at MemoryExceptionFilter.cpp 43 2019/11/22 09:21:06.644 06348,Error,User Interface,CNotificationImp::DisplayError,Unknown memory action

Emulation stopped

EDIT2: When asking the debugger to generate a log about the exception this appear at cpudebug.txt

80013678: Interrupt Generated 8002F9F0: Interrupt Generated 8001CBEC: Interrupt Generated 80033910: Interrupt Generated 80033910: Interrupt Generated ...

And goes on for like 1000+ more adresses

eldexterr avatar Nov 22 '19 17:11 eldexterr