mGBA Forums
Saving cheats causes crash.. - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.mgba.io/forumdisplay.php?fid=3)
+--- Thread: Saving cheats causes crash.. (/showthread.php?tid=467)

Pages: 1 2


Saving cheats causes crash.. - Mclane - 09-20-2016

Hi there, just playing with the brand new version, loaded up Minish cap and added 2 codebreaker cheats to it and tried to save the cheats then crash...

As said its MGBA 0.5.0 on Windows 7 X64, No UAC in use, running off a caddy, all other stuff seems to work and crashed on the nightly builds too..

Any idea's please..

Games seem fine, just the saving of the cheat...

Game override saving also crashes MGBA..


RE: Saving cheats causes crash.. - endrift - 09-20-2016

Can you post the cheats you tried to save?


RE: Saving cheats causes crash.. - Mclane - 09-21-2016

Yeah sure, both for Legend of Zelda Minish cap US, cheats do work....Both codebraker types..

Don't forget that if you save in the Game Overides section it also causes a crash.

here are the codes..

32002AEA 00A0
82002B00 03E7

Thanks...I even removed the whole settings folder in roaming and it still did the same..


RE: Saving cheats causes crash.. - Mclane - 09-22-2016

Here the crash report for when saving a cheat...

Problem signature:
Problem Event Name: APPCRASH
Application Name: mGBA.exe
Application Version: 0.6.0.0
Application Timestamp: 00000000
Fault Module Name: msvcrt.dll
Fault Module Version: 7.0.7601.17744
Fault Module Timestamp: 4eeaf722
Exception Code: c0000005
Exception Offset: 0000d193
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

And here's from when you save in Game Overides..

Problem signature:
Problem Event Name: APPCRASH
Application Name: mGBA.exe
Application Version: 0.6.0.0
Application Timestamp: 00000000
Fault Module Name: mGBA.exe
Fault Module Version: 0.6.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 000b3ca3
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789


RE: Saving cheats causes crash.. - endrift - 09-22-2016

It's too bad Windows' crash logs are completely useless, or else I might actually be able to do something with them. But as it stands, I haven't been able to reproduce this.


RE: Saving cheats causes crash.. - Mclane - 09-23-2016

Perhaps you could create a crashdump engine for this sort of stuff, might save you some head ache...


Are there any dependencies that perhaps I don't have installed on my Win 7 X64 machine, I reinstalled the Visual C++ redistributal, anything along that line I may need to update. Its a standard old but known Geforce GT530 with the latest driver, DirectX June release (ire the latest).

At a loss to imagine what it could be, I run just about most retro emulators on this i7 and I have no issues with them but there's got to be a reason this crashing for me, might try running it in Safe mode so there very few drivers loaded and see if that helps?

As said, any idea's for what I might be missing would be great help..

Paul...

Btw, apart from this issue its a lovely little emulator, thank you so much for developing it...

Just tried the Safe mode way and I could not even load a rom properly, it loaded and crashed...

So back to any suggestions Smile

I've turned off Kaspersky and any little programs I use that are running in the background...

HELP Smile


RE: Saving cheats causes crash.. - Mclane - 09-26-2016

Just a wee bump regarding anything I need to have installed to run MGBA that might be missing hence the crashes on my machine?

Thanks


RE: Saving cheats causes crash.. - endrift - 09-26-2016

Are you trying new builds? I've fixed a number of crashes recently but I honestly have no idea what could be causing this one.


RE: Saving cheats causes crash.. - Mclane - 09-27-2016

Hi and thank you,

Yes, you fixed the game over rides crash and and I now know the saving crash is because of the codebreaker part, action replay cheats save fine..

One odd thing tho, I tried last nights nightly and it would not recognise my Minish cap sav file and then much to my horror it made a new one losing all the progress I'd made. The only difference was I'd set up the GBA Bios to be used between my last play and now.

Not really worried about the loss of save game as I was only on the second objective and apart from that its the risk you take with nightly builds but thought I'd let you know.

Below is one of the codebreaker codes that causes a crash when you save, the other one is earlier in the thread in case you want it, weird the code works but won't save?

Thanks again

Paul.

32002AEA 00A0


RE: Saving cheats causes crash.. - endrift - 09-27-2016

https://github.com/mgba-emu/mgba/commit/82f503bc4e8673d06ab49ae91d7cb781557efe57 Big Grin

I was finally able to reproduce it today. Not sure what changed, but it was a really easy fix once I could actually catch it in a debugger.