Page 1 of 1

Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 03:50
by SanadaUjiosan
Spring is crashing consistently when I make a particular unit in CT... internally the "bgeneraltank"

If I cheat it into existence I have no problems, but if I build it properly from a factory spring freezes and I have to shut it down. The first time this happened, my computer froze to the point where a windows error box told me Ctrl+Alt+Del wasn't going to work and that I should shut off my computer... hadn't seen that kind of error before :?

Most recent infolog: http://pastebin.com/bBfF7Ewf

CT build is most recent, 1667. This only started happening to me today (committed 1667 today) but I imagine it was present earlier (probably never tried making this unit from a factory since the engine update) Tried with an earlier revision and the same thing happened.

Re: Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 09:20
by abma
translated:

http://pastebin.com/30XVETaT


i guess you've an endless loop somewhere? spring doesn't crash, the hang-detection is triggered...

Re: Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 09:26
by abma
hm, i didn't get such a hang. can you upload/attach a demo about such a hang/crash?

Re: Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 10:50
by SanadaUjiosan
Hmm, okay. You're right, I guess it doesn't crash, it freezes and I have to force it to shut down. I'll try to be more precise with my words in the future :wink:

The attached file is a replay where this happens for me.

I'll admit that today I was tampering with Car's aura and attributes gadget... revision 1671 was me adding that and applying it to the tank. But it continues to crash even after I delete everything I did today, and also crashes when I try 1670, which doesn't have Car's gadget.

Thank you abma for investigating this :-)

Edit: just realized you may not have the map haha
http://conflictterra.googlecode.com/fil ... orgev3.sd7

Re: Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 11:07
by abma

Re: Spring 0.87 Crash on unit being made

Posted: 19 Mar 2012, 20:37
by SanadaUjiosan
Thank you abma for Mantis'ing, I'll be following it.

Re: Spring 0.87 Crash on unit being made

Posted: 20 Mar 2012, 04:02
by SanadaUjiosan
So I see that the issue was resolved (cool) and I don't know what Kloot did, but I just wanted to share my own little discovery.

It only happened when units with unitRestricted reached their limit... for the tank (which had a limit of 1) it hung up immediately, with some of my other units with limits of 3 it hung up after the third. Until the next engine release, CT won't have any unitRestricted units...

Just wanted to share my discovery, I'm proud of figuring it out :)