SGDK1.4 crashes at compilation

SGDK only sub forum

Moderator: Stef

Post Reply
tryphon
Very interested
Posts: 303
Joined: Sat Aug 17, 2013 9:38 pm
Location: France

SGDK1.4 crashes at compilation

Post by tryphon » Tue Jul 23, 2019 10:05 pm

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.

Miquel
Very interested
Posts: 448
Joined: Sat Jul 30, 2016 12:33 am

Re: SGDK1.4 crashes at compilation

Post by Miquel » Wed Jul 24, 2019 1:44 am

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.
It’s not what you think.
Perhaps, just perhaps, is our family making sure we listen from now on.
We need to talk about Mercury too.
We need to talk about so many things… I fear I don’t remember all.

Stef
Very interested
Posts: 2976
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: SGDK1.4 crashes at compilation

Post by Stef » Wed Jul 24, 2019 7:53 am

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.

tryphon
Very interested
Posts: 303
Joined: Sat Aug 17, 2013 9:38 pm
Location: France

Re: SGDK1.4 crashes at compilation

Post by tryphon » Wed Jul 24, 2019 3:30 pm

Mmmh, I'll try to compile in my fridge and keep you informed :P

Stef
Very interested
Posts: 2976
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: SGDK1.4 crashes at compilation

Post by Stef » Thu Jul 25, 2019 12:29 pm

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.

Post Reply