mGalaxy forum

General Discussions => Need Help? => Topic started by: deadl0ck on June 22, 2018, 05:03:31 AM

Title: mGalaxy Runway crashes on DB Update
Post by: deadl0ck on June 22, 2018, 05:03:31 AM
Hi,
I'm getting constant crashes with mGalaxy Runway when updating the DB.

I was updating a MAME DB, but I added Sega Genesis and it also crashed.

I'm running on Windows 7 Professional.

Here's the details of the crash

(https://thumb.ibb.co/eZWaAT/m_Galaxy_Crash_2.jpg) (https://ibb.co/eZWaAT) (https://thumb.ibb.co/khOoVT/m_Galaxy_Crash_3.jpg) (https://ibb.co/khOoVT) (https://thumb.ibb.co/bV6mH8/m_Galaxy_Crash_1.jpg) (https://ibb.co/bV6mH8)

Also - here's the Windows Event log error with a lot more detail:

(https://thumb.ibb.co/bW3ix8/Event_Log_2.jpg) (https://ibb.co/bW3ix8) (https://thumb.ibb.co/md2Ac8/Event_Log_1.jpg) (https://ibb.co/md2Ac8) (https://thumb.ibb.co/hU4CqT/Event_Log_3.jpg) (https://ibb.co/hU4CqT)
Title: Re: mGalaxy Runway crashes on DB Update
Post by: deadl0ck on June 22, 2018, 10:05:43 AM
Ahhh......
I might be out of space on that drive - that could be it as it looks like it might be the point of writing the data and that would cause an error......
Checking now
Title: Re: mGalaxy Runway crashes on DB Update
Post by: mgalaxy on June 22, 2018, 11:08:04 AM
Ok, please give me the result of your test!
From the error message, the error occurs while trying to download the (just) downloaded image and displaying it in the interface!
Title: Re: mGalaxy Runway crashes on DB Update
Post by: deadl0ck on June 22, 2018, 11:31:19 AM
Will do - it's looking good so far but I want to let it run for a while first
Title: Re: mGalaxy Runway crashes on DB Update
Post by: deadl0ck on June 22, 2018, 02:33:15 PM
It's still running and no crash so far (fingers crossed).

Might be worth putting in a call to check available space before each write, and throwing up a dialog if the drive is getting below some threshold, with the option of saving the DB at that point, so that it can be resumed after a clean up.

When the crash happened it lost all DB info it had done on that update - which in my case was 1/2 a day.

Edit - left it running all night - no crashes and got all the MAME media. It was the HD space that was the underlying cause.
Hopefully this will help others who encounter the same problem :D
Title: Re: mGalaxy Runway crashes on DB Update
Post by: mgalaxy on June 24, 2018, 04:23:49 AM
Thanks for reporting! I've adapted the code to handle the situation!
Title: Re: mGalaxy Runway crashes on DB Update
Post by: deadl0ck on June 24, 2018, 04:29:34 AM
No worries - If I come across anything else that I can reproduce I'll report it.
Thanks for putting that into the code !