View topic - Please remove hang detection



All times are UTC + 1 hour


Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: 04 Apr 2012, 03:37 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
It does no-one any fucking good and only serves to piss off game devs because spring will crash 4/5ths of the time when starting directly from spring.exe

Also, fucking hangtimeout = 0 doesn't fucking work in 88.

Just do us all a goddamn favor and fucking remove it!

If it actually served a purpose, I would be all for it, but more often than not, HANG DETECTION is the cause of the hangs! It would be funny if it wasn't so fucking irritating!


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 04:25 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Obviously I was just a wee bit pissed off when I made the above post. I had just started spring 15 times in a row, and hang detection caused it to screw up.

It does not like the fact that I have so many sdd's of maps/games, not to mention the 6 gigs or so of maps.

With hangtimeout disabled, startup time is instant. This wasn't an issue in previous versions where I could just turn it off, but now I can't and it's driving me crazy.


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 11:58 
Journeywar Developer & Mapper
User avatar

Joined: 24 Jan 2006, 21:12
Location: There is no god - and reality is his prophetess
budhistic calm during development - your propably never heard of it :D


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 19:03 
Spring Developer

Joined: 31 May 2009, 23:08
from the docs:

HangTimeout:

"Number of seconds that, if spent in the same code segment, indicate a hang; -1 to disable."


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 20:05 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
HangTimeout is case sensitive, that might be the cause of your grief. (tested and working in latest develop branch)


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 22:21 
Spring Developer

Joined: 31 May 2009, 23:08
uh, indeed, its case sensitive, 0 disables it, too.


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 22:52 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
abma wrote:
0 disables it, too.

No, that's new (duno if 88.0 or 88.0.1).


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 23:09 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Hangtimeout = 0 is how it is listed in springsettings. 0 Works fine until now. Will test -1 now.

-1 does nothing. This is the infolog.

http://pastebin.com/TG6r3HPb

Please tell me what possible purpose this serves? Also please don't confuse my calm demeanor in this post for me being ok with it.

I am far beyond upset. It took me 3 times as long as it should have, just to record this video yesterday, thanks to spring.

http://www.youtube.com/watch?v=cZ3-S0oQ ... CChOX-AivA


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 23:16 
Spring Developer

Joined: 31 May 2009, 23:08
Beherith wrote:
HangTimeout is case sensitive, that might be the cause of your grief. (tested and working in latest develop branch)



Hangtimeout is not the same as HangTimeout.


Top
 Offline Profile  
 
PostPosted: 04 Apr 2012, 23:57 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
It worked fine in 87.0

Why don't you guys do the smart thing and make hangtimeout opt in, instead of opt out?

Edit: HangTimeout = -1 seems to work.


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 00:02 
Journeywar Developer & Mapper
User avatar

Joined: 24 Jan 2006, 21:12
Location: There is no god - and reality is his prophetess
Everything was better in 87. Even the Forb rents were more energetic.


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 00:23 
Spring Developer

Joined: 31 May 2009, 23:08
Forboding Angel wrote:
Why don't you guys do the smart thing and make hangtimeout opt in, instead of opt out?


because this functionality is used to fix bugs. without making it default for all, noobs would have a problem to report bugs.


Quote:
It does no-one any fucking good and only serves to piss off game devs because spring will crash 4/5ths of the time when starting directly from spring.exe


If it crashes, please attach infolog.txt, so the bug can be fixed.


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 00:25 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
@picasso

Honestly, the only time I rant is when something gets in the way of progress for me.

The only time I actually get upset (about engine stuff) is when the engine directly prevents me from accomplishing a goal.

That video was a very minor example.

@abma
Crashes print in infolog like they always have. What purpose does hangtimeout serve exactly? Except to trigger over and over and over and fucking over until it unfucks itself long enough for spring to start?


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 00:28 
Spring Developer

Joined: 31 May 2009, 23:08
Forboding Angel wrote:
Crashes print in infolog like they always have. What purpose does hangtimeout serve exactly? Except to trigger over and over and over and fucking over until it unfucks itself long enough for spring to start?


Its used to find the location, where a hang/endless-loop occurs...


Top
 Offline Profile  
 
PostPosted: 05 Apr 2012, 02:18 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Ok, well then, where is my endless loop? (in the infolog I pastebinned earlier)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.