Page 1 of 1

Every third attempt spring freezes on start

Posted: 04 Jun 2009, 20:10
by Licho
Im getting this:
- spring often freezes on start without ability to view its window (minimized).

- only way to fix it is to start spring.exe from commandline. First attempt causes freeze too (but with window displayed). Second attemt makes it load properly! And then i can play one game without fear of freeze :)


This is since 0.79

I run spring windowed

Re: Every third attempt spring freezes on start

Posted: 04 Jun 2009, 23:48
by Neddie
CA, correct?

Infolog for each of the three game forms?

Re: Every third attempt spring freezes on start

Posted: 05 Jun 2009, 05:11
by Licho
This is second type of freeze (with viewable but black screen)

Code: Select all

LogOutput initialized.
Spring 0.79.1.0 (0.79.1-0-gd9642af{@}-cmake-tdm)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
[CMyMath::Init] CPU SSE mask: 126, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
default config file: C:\Documents and Settings\admin\Local Settings\Data aplikací\springsettings.cfg
using configuration source "C:\Documents and Settings\admin\Local Settings\Data aplikací\springsettings.cfg"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz; 3070MB RAM, 4955MB pagefile
Using read-write data directory: C:\Programy\Hry\spring\
Using read-only  data directory: C:\Documents and Settings\admin\Dokumenty\Spring\
Using read-only  data directory: C:\Documents and Settings\All Users\Data aplikací\Spring\
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\maps
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\base
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\mods
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\packages
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\maps
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\base
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\mods
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\packages
Scanning: C:\Programy\Hry\spring\maps
Scanning: C:\Programy\Hry\spring\base
Scanning: C:\Programy\Hry\spring\mods
Scanning: C:\Programy\Hry\spring\packages
Video mode set to  1845 x 1190 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   2.1.2
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce 8800 GTS 512/PCI/SSE2
[      0] GLEW: 1.4.0

Re: Every third attempt spring freezes on start

Posted: 05 Jun 2009, 05:22
by Licho
And this is type 1 freeze (with window minimized only icon on taskbar that cannot be maximized)

Code: Select all

LogOutput initialized.
Spring 0.79.1.0 (0.79.1-0-gd9642af{@}-cmake-tdm)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
[CMyMath::Init] CPU SSE mask: 126, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
default config file: C:\Documents and Settings\admin\Local Settings\Data aplikací\springsettings.cfg
using configuration source "C:\Documents and Settings\admin\Local Settings\Data aplikací\springsettings.cfg"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz; 3070MB RAM, 4955MB pagefile
Using read-write data directory: C:\Programy\Hry\spring\
Using read-only  data directory: C:\Documents and Settings\admin\Dokumenty\Spring\
Using read-only  data directory: C:\Documents and Settings\All Users\Data aplikací\Spring\
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\maps
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\base
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\mods
Scanning: C:\Documents and Settings\All Users\Data aplikací\Spring\packages
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\maps
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\base
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\mods
Scanning: C:\Documents and Settings\admin\Dokumenty\Spring\packages
Scanning: C:\Programy\Hry\spring\maps
Scanning: C:\Programy\Hry\spring\base
Scanning: C:\Programy\Hry\spring\mods
Scanning: C:\Programy\Hry\spring\packages
Video mode set to  1845 x 1190 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   2.1.2
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce 8800 GTS 512/PCI/SSE2
[      0] GLEW: 1.4.0
[      0] Connecting to 65.49.60.83:9452 using name [0K]Licho
[      0] Starting demo recording
[      0] Using map Geyser_Plains_TNM04-V3.smf
[      0] Recording demo demos/local_20090605_052049_Geyser_Plains_TNM04-V3_0.79.1.sdf
[      0] Using script Commanders
[      0] Using mod Complete Annihilation stable-4744
[      0] Using mod archive ca-r4744.sdz
[      0] Became player 8 (team 0, allyteam 0)
It seems to happen often if i have other windows on top while spring starts. Almost 100% certain with windowed media player etc..

Re: Every third attempt spring freezes on start

Posted: 05 Jun 2009, 21:46
by imbaczek
Licho: oops i think i edited your post by accident instead of quote :) You asked for stacktrace

Re: Every third attempt spring freezes on start

Posted: 06 Jun 2009, 13:31
by Licho
Type 2 freeze

Code: Select all

>	ntdll.dll!7c90e514() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	ntdll.dll!7c90d21a() 	
 	kernel32.dll!7c8023f1() 	
 	kernel32.dll!7c802455() 	
 	SDL.dll!01cd83db() 	
 	SDL.dll!01ccaaf0() 	
 	SDL.dll!01ccabab() 	
 	Springoriginal.exe!008bb65c() 	
 	Springoriginal.exe!0095fca8() 	
 	msvcrt.dll!77c2a52e() 	
 	Springoriginal.exe!00730072() 	

Re: Every third attempt spring freezes on start

Posted: 06 Jun 2009, 13:35
by Licho
Type 1 freeze:

Code: Select all

>	Springoriginal.exe!00694744() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for Springoriginal.exe]	
 	Springoriginal.exe!00695686() 	
 	Springoriginal.exe!00502d80() 	
 	Springoriginal.exe!008b1b99() 	
 	Springoriginal.exe!00ad281a() 	
 	Springoriginal.exe!00abb93b() 	
 	Springoriginal.exe!0044603d() 	
 	msvcrt.dll!77c1c3c9() 	
 	msvcrt.dll!77c1c3e7() 	
 	msvcrt.dll!77c1c42e() 	
 	msvcrt.dll!77c1c42e() 	
 	DevIL.dll!10001084() 	
 	SDL.dll!01ccaaf0() 	
 	SDL.dll!01ccabab() 	
 	Springoriginal.exe!008bb65c() 	
 	Springoriginal.exe!0095fca8() 	
 	msvcrt.dll!77c2a52e() 	
 	Springoriginal.exe!00730072() 	

Cycles in this:

Code: Select all

00694742  mov         eax,dword ptr [eax] 
00694744  add         edx,1 
00694747  cmp         eax,dword ptr [ebp-0BCh] 
0069474D  jne         00694742 
Thread synchronization problem?

Re: Every third attempt spring freezes on start

Posted: 06 Jun 2009, 17:55
by CarRepairer
This just started happening to me. Spring windowed will start minimized, and the window is blank forever. Works fine in fullscreen.

Re: Every third attempt spring freezes on start

Posted: 06 Jun 2009, 18:07
by SirMaverick
Window mode works fine under Linux (even with recent engine and CA versions)

Re: Every third attempt spring freezes on start

Posted: 06 Jun 2009, 18:11
by CarRepairer
But this *just* started happening to me today, even after reboot. I had recent CA changes and latest spring for over a week work fine, and suddenly this happened. Something occured to make the window minimize, and appear blank (when I restore and look at it) in windowed mode. It sounds just like what Licho is describing so I wonder if something could occur to spring's script or whatever that causes this.

Re: Every third attempt spring freezes on start

Posted: 07 Jun 2009, 11:51
by imbaczek
type 1 freeze:
http://planetspring.free.fr/spring/stac ... 68149.html

type 2 freeze:
http://planetspring.free.fr/spring/stac ... 68237.html

the second one doesn't make much sense to me tbh.

Re: Every third attempt spring freezes on start

Posted: 12 Jun 2009, 17:46
by reivanen
I had this issue, it just started happening suddenly, but after my problem described here http://springrts.com/phpbb/viewtopic.php?f=11&t=19162 and the measures i took to correct it, this freeze bug also went away. (at least has not happened during many games, i will edit this post if i stumble upon it again)

Re: Every third attempt spring freezes on start

Posted: 15 Jun 2009, 19:21
by Smurfwow
im having this issue as well. exactly as licho described it.

Re: Every third attempt spring freezes on start

Posted: 16 Jun 2009, 20:40
by quantum
CarRepairer wrote:This just started happening to me. Spring windowed will start minimized, and the window is blank forever. Works fine in fullscreen.
Same for me.

Re: Every third attempt spring freezes on start

Posted: 16 Jun 2009, 20:43
by CarRepairer
It's very frustrating to mod while in fullscreen. Alt-tabbing is very slow.

Re: Every third attempt spring freezes on start

Posted: 25 Jul 2009, 13:32
by Garo
Any updates on this? I just started to get the same bug and I don't want to play in fullscreen.

- Garo

Re: Every third attempt spring freezes on start

Posted: 25 Jul 2009, 14:58
by imbaczek
does it happen if you delete your settings file? (check infolog for its location)

Re: Every third attempt spring freezes on start

Posted: 28 Jul 2009, 22:02
by Garo
I deleted my springsetting.cfg and it seems that it resolved the issue. There's the infolog before that (when the spring still bugged at start) in case it helps resolving the issue without deleting the springsettings.cfg

- Garo

Code: Select all

LogOutput initialized.
Spring 0.79.1.2 (0.79.1.2-0-gbb45722{@}-cmake-tdm)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
[CMyMath::Init] CPU SSE mask: 120, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  0
	SSE 4.1:  0,  SSE 4.2:  0
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
default config file: C:\Documents and Settings\juho\Local Settings\Application Data\springsettings.cfg
using configuration source "C:\Documents and Settings\juho\Local Settings\Application Data\springsettings.cfg"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+; 3071MB RAM, 4445MB pagefile
Using read-write data directory: C:\Program Files\Spring\
Using read-only  data directory: C:\projects\Spring\
Using read-only  data directory: C:\Documents and Settings\All Users\Application Data\Spring\
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\maps
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\base
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\mods
Scanning: C:\Documents and Settings\All Users\Application Data\Spring\packages
Scanning: C:\projects\Spring\maps
Scanning: C:\projects\Spring\base
Scanning: C:\projects\Spring\mods
Scanning: C:\projects\Spring\packages
Scanning: C:\Program Files\Spring\maps
Scanning: C:\Program Files\Spring\base
Scanning: C:\Program Files\Spring\mods
Scanning: C:\Program Files\Spring\packages
Video mode set to  1900 x 1150 / 32 bit
[      0] SDL:  1.2.10
[      0] GL:   3.0.0
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce 9800 GTX/9800 GTX+/PCI/SSE2/3DNOW!
[      0] GLEW: 1.4.0
[      0] Connecting to 82.130.33.187:8463 using name [fi]Garo
[      0] Starting demo recording
[      0] Using map Green_Fields_fix.smf
[      0] Recording demo demos/local_20090728_225208_Green_Fields_fix_0.79.1.sdf
[      0] Using script Commanders
[      0] Using mod Balanced Annihilation V6.96
[      0] Using mod archive BA696.sd7
[      0] Became player 4 (team 3, allyteam 0)

Re: Every third attempt spring freezes on start

Posted: 28 Jul 2009, 22:45
by imbaczek
i wish i remembered what i had in mind when i suggested deleting the config :/ i _think_ it was saving of window state...

Re: Every third attempt spring freezes on start

Posted: 29 Jul 2009, 02:51
by Beherith
oooh, i get the spring minimized and cant be maxed/opened bug often too