Page 1 of 2
mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Sun May 31, 2020 6:26 pm
by WishItWas1984
As the subject says, I have mGalaxy 7.6 installed and it regularly crashes on exiting a game, BUT it only happens at the beginning of the rom load.
If I wait for the rom to fully load, then a few extra seconds...say, 5-10, then I can nearly always exit just fine.
Also, when I say "regularly" I mean that it happens often but not 100% of the time.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Mon Jun 01, 2020 12:21 pm
by Aeliss
Hello, you have an error dialog to help debugging ?
Or better a debug log file ?
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Mon Jun 01, 2020 9:25 pm
by WishItWas1984
Aeliss wrote:
Hello, you have an error dialog to help debugging ?
Or better a debug log file ?
I tried looking up how to set that up in mGalaxy but can't find anything. Can you point me to instructions to create a debug log?
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Tue Jun 02, 2020 2:54 pm
by Aeliss
The easy way : When mGalaxy crash, it close or you have a popup ? On some popup you can have more informations.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Tue Jun 02, 2020 7:34 pm
by WishItWas1984
Aeliss wrote:
The easy way : When mGalaxy crash, it close or you have a popup ? On some popup you can have more informations.
I have no problem doing it the hard way. I just don't know what settings or parameters to run mGalaxy in to trigger a log save.
As far as what you said, I get a popup that mGalaxy is no longer responding and asking me if I want to shut it down. That's it.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Wed Jun 03, 2020 4:16 pm
by Aeliss
On the crash popup, you have not a small link on bottom "view problem details" ?
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Wed Jun 03, 2020 10:09 pm
by WishItWas1984
Aeliss wrote:
On the crash popup, you have not a small link on bottom "view problem details" ?
No. Just "Close Program" and "Wait for Program to Respond"
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Fri Jun 05, 2020 2:49 pm
by Aeliss
Arf, so I see only the Event Viewer to use with eventvwr.msc but not sure the bug will be on it.
No files *.log on mGalaxy folder ?
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Fri Jun 05, 2020 3:15 pm
by mgalaxy
WishItWas1984 wrote:
As the subject says, I have mGalaxy 7.6 installed and it regularly crashes on exiting a game, BUT it only happens at the beginning of the rom load.
If I wait for the rom to fully load, then a few extra seconds...say, 5-10, then I can nearly always exit just fine.
Also, when I say "regularly" I mean that it happens often but not 100% of the time.
Does it happen with every emulator or only one...and which one please.
You'll find mGalaxy logs inside 'Data' folder.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Fri Jun 05, 2020 6:16 pm
by WishItWas1984
mgalaxy wrote:
WishItWas1984 wrote:
As the subject says, I have mGalaxy 7.6 installed and it regularly crashes on exiting a game, BUT it only happens at the beginning of the rom load.
If I wait for the rom to fully load, then a few extra seconds...say, 5-10, then I can nearly always exit just fine.
Also, when I say "regularly" I mean that it happens often but not 100% of the time.
Does it happen with every emulator or only one...and which one please.
You'll find mGalaxy logs inside 'Data' folder.
I only use mGalaxy for one emulator, MAME. Currently I'm running MAME 0.221
I forced the error to occur again and looked at the updated logs in Data. I only see two with an updated time stamp, but there's nothing inside. They each contain just one line...
mGalaxy.log - [05/06/2020 02:11:24 PM] [Info] mGalaxy started!
mg_integritycheck.log - [05/06/2020 02:11:24 PM] [Info] mg_integritycheck started!
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Fri Jun 05, 2020 7:29 pm
by mgalaxy
WishItWas1984 wrote:
Aeliss wrote:
On the crash popup, you have not a small link on bottom "view problem details" ?
No. Just "Close Program" and "Wait for Program to Respond"
I believe that mGalaxy is not crashing...but simply waiting for Mame to quit!!
When you quit a game, and that mGalaxy seems crashing, call the "task manager" and check to see if you can find an occurrence of mame running or not!
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Sat Jun 06, 2020 6:13 am
by WishItWas1984
mgalaxy wrote:
WishItWas1984 wrote:
Aeliss wrote:
On the crash popup, you have not a small link on bottom "view problem details" ?
No. Just "Close Program" and "Wait for Program to Respond"
I believe that mGalaxy is not crashing...but simply waiting for Mame to quit!!
When you quit a game, and that mGalaxy seems crashing, call the "task manager" and check to see if you can find an occurrence of mame running or not!
When this happens, Task Manager is not able to be seen. ALT+TAB stops working. I can select Task Manager with ALT+TAB, or any other application, but it won't switch out of mGalaxy.
Whatever is happening, it's definitely a combination of mGalaxy and MAME.
If I cause the mGalaxy "freeze" to happen, I was able to shutdown MAME via ALT+TAB. This allowed mGalaxy's menu screen to come back and mGalaxy was functioning again.
The problem is, if I run MAME by itself outside of mGalaxy, I can exit a game at any point and instantly get back to the MAME menu screen.
When you add mGalaxy, it doesn't work if you do it too quickly. Everything points to mGalaxy having a problem in this specific scenario, almost like it's frozen and preventing MAME from exiting.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Sat Jun 06, 2020 12:46 pm
by mgalaxy
Everything points to mGalaxy having a problem in this specific scenario, almost like it's frozen and preventing MAME from exiting.
I still believe that it's not a mGalaxy problem.
It is not 'freezing'! When you launch a game mGalaxy enters a 'wait' state. It will 'awake' when the launched application has quit.
For one (unknown to me) reason I've the feeling that Mame doesn't quit normally. You could check it by calling the task manager (shortcut is Ctrl+Shift+ESC)..and see if you can still see a MAME instance.
A quick (and temporary) fix would be to launch Mame through a script. Here's the walk-through if you're interested in testing it:
Go to the "mGalaxy>Data>Script" folder, make a copy of the first one ("1964, 1964 UltraFast [Script]") and rename it "MAME"
Now, launch a Mame game in mGalaxy and report if it's still "freezing" please.
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Mon Jun 08, 2020 7:08 am
by jmd
@WISHITWAS1984
Any news? Just curious to know if you could find Mame process in the task manager and if the use of a script (as proposed in the previous post) fixed your problem
Re: mGalaxy 7.6 Crashing on Game Exit Regularly
Posted: Mon Jun 08, 2020 1:29 pm
by WishItWas1984
jmd wrote:
@WISHITWAS1984
Any news? Just curious to know if you could find Mame process in the task manager and if the use of a script (as proposed in the previous post) fixed your problem
Sorry, was not able to do this over the weekend. I have this tab open and will definitely give it a shot as soon as I can.