Ground decals can cause spring to crash

Ground decals can cause spring to crash

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Ground decals can cause spring to crash

Post by imbaczek »

...and are one of the causes of the dreaded LuaUI crashes, believe it or not. Please turn them off and report if you're experiencing less crashes.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Ground decals can cause spring to crash

Post by Tobi »

You figured out the bug?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

no, but the replay doesn't crash with ground decals off, and mmgr traces point to grounddecalhandler as the last place that touches the crashing address.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

I'm now 100% positive that turning off ground decals will remedy some of the crashes. Anybody who's experiencing a lot of LuaUI crashes should try this workaround.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Ground decals can cause spring to crash

Post by Acidd_UK »

Great job finding a workaround! I will be testing that it works :-) Incidentally, my ground decals was set to 3 before I turned them off.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: Ground decals can cause spring to crash

Post by MelTraX »

That might also explain why some people nearly never crash (like myself) and some crash more often.. Would be pretty cool if that fix eliminates some of them :D..
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

http://spring.jobjol.nl/show_file.php?id=993

this is an experimental build with this bug (and only this one) fixed. brave souls out there should try it, the rest is better off turning decals off.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Ground decals can cause spring to crash

Post by Acidd_UK »

Maybe a candidate for .76 beta 2?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

bug tobi about it. there are also some other bugs which were fixed (like the gray blink bug), those could be backported too without breaking replay compatibility I guess.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: Ground decals can cause spring to crash

Post by Vadi »

MelTraX wrote:That might also explain why some people nearly never crash (like myself) and some crash more often.. Would be pretty cool if that fix eliminates some of them :D..
Same here. LuaUI never crashed for me, and I was wondering why.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Ground decals can cause spring to crash

Post by LordMatt »

baczek wrote:update: gave in and made a git tree today - http://gitorious.org/projects/spring-sv ... s/mainline branch next
I get errors when I try to compile this on Gutsy 64bit:
scons wrote:rts/Game/PreGame.cpp: In member function 'virtual bool CPreGame::Draw()':
rts/Game/PreGame.cpp:289: error: 'sin' is not a member of 'std'
scons: *** [build/rts/Game/PreGame.o] Error 1
scons: building terminated because of errors.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Ground decals can cause spring to crash

Post by lurker »

Any hint of 76b2 needs to have the fix to the div0 when units overlap.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

LordMatt: 1. what compiler version? 2. are you sure you did
$ git checkout next
?

lurker: http://gitorious.org/projects/spring-sv ... /logs/next

this fix is in the tree.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Ground decals can cause spring to crash

Post by LordMatt »

Compile error seems to be fixed. I'll check for desyncs...
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Ground decals can cause spring to crash

Post by Beherith »

Adding a replay of dsd with a .76b2 testbuild at Lordmatts request. (he crashed out, we ran old version without a hitch)
its 7zipped for 4x smaller file

linky cause board dont allow big files

http://users.hszk.bme.hu/~sp552/080423- ... .76b1-0.7z
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Ground decals can cause spring to crash

Post by LordMatt »

Thanks Beherith. It crashed most of the way in when my licho dropped its nuke weapon on a bunch of zeus and snips. Because I run Gutsy 64bit I don't have any stacktrace. I did not experience any desync over about 30min of 8v8 DSD <insert vomiting smile here> so I would assume it isn't going to desync.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

Thanks for testing and uploading, keep 'em coming.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Ground decals can cause spring to crash

Post by imbaczek »

I didn't crash for me, does the replay crash for you, Matt?
reivanen
Posts: 180
Joined: 12 Feb 2008, 15:52

Re: Ground decals can cause spring to crash

Post by reivanen »

I had ground decals really high and used to crash alot. Then i turned them off and havent crashed once after that!
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Ground decals can cause spring to crash

Post by LordMatt »

Hmm guess it doesn't crash for me either, however the crash came right as I was giving an order to attack and perhaps the issue was related to giving the order.
Post Reply

Return to “Help & Bugs”