Page 1 of 1

SGDK1.4 crashes at compilation

Posted: Tue Jul 23, 2019 10:05 pm
by tryphon
I don't know if it's due to my PC or SGDK, I post this in case someone else would encounter the same behaviour, which could give a hint about the cause.

My PC crashes consistently (about 1 every 5 compilations) when I compile the xgmplayer sample. I'm not speaking of a compilation error, but a true crash, with a Blue Screen of Death saying :

Code: Select all

SDBUS INTERNAL ERROR
It isn't related to the fact the source code is correct or not (I can compile flawlessly after rebooting) and it happens every time at the line :

Code: Select all

java -jar C:/SGDK14/bin/rescomp.jar res/gfx.res res/gfx.s
(I will confirm that later).

For information, my PC is an Acer Swift 1, running Windows 10.

Re: SGDK1.4 crashes at compilation

Posted: Wed Jul 24, 2019 1:44 am
by Miquel
A program can NOT cause a blue screen.

Let me repeat:
A user mode program can't cause the the kernel to crash on its own. That's why OSes exist.

The causes of a blue screen are:
- Kernel programing error
- Loaded and running driver programing error
- Hardware malfunction

Since right now is summer (higher temps) I bet is the last one.

Re: SGDK1.4 crashes at compilation

Posted: Wed Jul 24, 2019 7:53 am
by Stef
Same.. what you have to know is that the new rescomp can heavily use your CPU for the sprite optimization process.
I'm almost certain that is overheat problem which cause the hardware failure, you may try to force your computer to run in eco mode (for a laptop), reducing the CPU performance but so avoiding overheat during intensive tasks.

Re: SGDK1.4 crashes at compilation

Posted: Wed Jul 24, 2019 3:30 pm
by tryphon
Mmmh, I'll try to compile in my fridge and keep you informed :P

Re: SGDK1.4 crashes at compilation

Posted: Thu Jul 25, 2019 12:29 pm
by Stef
Good test :P
Seriously you may have a hardware issue on your laptop, you shoul try some burning tests on it to check that everything is ok.