What is with this version of spring and hanging constanly?
Moderator: Moderators
What is with this version of spring and hanging constanly?
I have been trying to test my game tonight and after so long it seems to be randomly hanging. I check the error log and it says something about hang detection. This is really frustrating.
Re: What is with this version of spring and hanging constanly?
I find the hang detection annoying as well.
According to Hoiju, you may change HangTimeout in springsettings.cfg
According to Hoiju, you may change HangTimeout in springsettings.cfg
Re: What is with this version of spring and hanging constanly?
Probably related to:
http://springrts.com/mantis/view.php?id=2186
?
Is this new with .6? I can't say I had regular problems with .5 wrt hanging
http://springrts.com/mantis/view.php?id=2186
?
Is this new with .6? I can't say I had regular problems with .5 wrt hanging
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: What is with this version of spring and hanging constanly?
Smoth, set an exception for your antivirus runtime scan for the spring folder and the mods and maps folders. It will instantly behave like it's old self.
(This is a temporary fix of course)
(This is a temporary fix of course)
Re: What is with this version of spring and hanging constanly?
So is it hanging for real, or just a fake hang detection? I already know it may incorrectly trigger during "/give all", and this will be fixed.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: What is with this version of spring and hanging constanly?
Personally zerver (and I can't speak with any amount of expertise) I think it's fake hang detections.
Apparently for me (and a lot of others) AV scanning at runtime is causing enough of a slowdown for it to matter to spring.
The result was that eventually spring WOULD load, but it would take literally several minutes to get ingame.
Like I said before, setting exceptions in AV is at best a workaround solution. This needs to be addressed in the engine pronto.
Apparently for me (and a lot of others) AV scanning at runtime is causing enough of a slowdown for it to matter to spring.
The result was that eventually spring WOULD load, but it would take literally several minutes to get ingame.
Like I said before, setting exceptions in AV is at best a workaround solution. This needs to be addressed in the engine pronto.
Re: What is with this version of spring and hanging constanly?
I think some people are experiencing mid-game hangs Forb. I only got the AV related issues on the spring.exe menu.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: What is with this version of spring and hanging constanly?
Oh, I didn't know that. Sorry, in that case, ignore me 

Re: What is with this version of spring and hanging constanly?
if we have to read a lot of stuff from the disc, and your AV checks all these reads, and thus makes them slow, how should we fix this in the engine?
or am i getting it wrong?
or am i getting it wrong?
Re: What is with this version of spring and hanging constanly?
Forb, we don't all use the same brand of antivirus as you.
Re: What is with this version of spring and hanging constanly?
Isn't the auto hang set to 10 seconds now? If it's such an issue can't we have an off switch?
Re: What is with this version of spring and hanging constanly?
I have not replied because I have not gotten back to setting a reproducible test to give some idea what is triggering it.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: What is with this version of spring and hanging constanly?
I understand that Z, but pretty much all AV programs carry the same act of scanning at runtime on open and scanning when something is written to disk.zwzsg wrote:Forb, we don't all use the same brand of antivirus as you.
Re: What is with this version of spring and hanging constanly?
Some like to scan archives though, and spring data files are just that. So probably excluding only mods and maps directories should do.
I run a DrWeb antivirus btw, never had spring hang problems with it (it's set to scan archives by default, and I don't have spring dir in exclude list either, so there should be some differences between AV brands after all...)
I run a DrWeb antivirus btw, never had spring hang problems with it (it's set to scan archives by default, and I don't have spring dir in exclude list either, so there should be some differences between AV brands after all...)