svn (4999) experience

svn (4999) experience

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

Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

svn (4999) experience

Post by Smiff »

Hello spring devs (please move to dev forum if appropriate, didnt want to clutter it if not)

I was just hosting a spring lan session that didnt go too well. Will report the experience hoping some good can come of it. Thanks.

this has some serious and some trivial points
been finding 075b2 unstable, many games end in crashes, so tried SVN.

1)Crashing on launch, because I forgot to grant write ntfs permissions for spring. Could you add a simple check, so spring checks it can write to its folder and if not produces a useful error message. Not sure what Vista does, this is XP.
2)Couldn't get LAN games to sync. Seemed to be because host had much faster disk system than other PCs (Finalizing on host, then Connection lost message on host whilst still loading on other, then spring crashed on both). Tried many times. Then tried hosting game on a slower computer and running the bot on the faster computer. This worked after a couple of attempts, got a game going at last! (this is new since 075b2)
3)Then after 20 mins or so of good gaming (CA r1085) all units stopped moving. Seemed like game was paused. After pressing pause a couple of times the host crashed and client quit. (this is new since 075b2)

they gave up on spring after that and went skating :p

just hoping to help get 076 stable..

few minor observations
- New installer is nice. Maybe offer some maps too?
- interface still has nasty squished icons on widescreen
- nice lighting effects

- is there a changelog anywhere showing SVN build changes?
thanks.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: svn (4999) experience

Post by Pendrokar »

Smiff wrote: they gave up on spring after that and went skating :p
Offtopic - Lucky Bastards! :cry: (Not that cold HERE!)
- is there a changelog anywhere showing SVN build changes?
You mean like this? - http://spring.clan-sy.com/websvn/filede ... rev=0&sc=0
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

thanks but i meant the changes between each svn build. although that's interesting too.

this is more a suggestion:
it sticks on "Finalizing" for a looong time (probably because you seem to have moved the bot init into this stage, rather than after the map appears). more detail on what its doing in this stage would be good.

is there a "last known stable" build of svn that I can try please?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

You mean something like this:
http://spring.clan-sy.com/fisheye/brows ... /trunk/rts

PS.: Would you try out revision >=5006 on your slow PC again?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Smiff I may include maps in the installer, but I'll need to see what IaMaCuP, the UF host is willing to put up with in terms of direct downloads via the installer. If I can, I will include some map packs of select good maps.
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

thanks guys yes sure i'll try the new version.

(it's sometimes difficult to test stability without having other people and a long game - which is when you want it to just work! bit of a catch-22 hmm) but there are instant crashes here first :p

is it ok to keep using the update installers (starting from 4999)?

another suggestion for installer - remember last selected options. like if i untick create shorcuts, please remember that for next update.


***
5008
still getting "lost connection to.." error on host, whilst slow PC client is Finalizing.
then after slow PC loads, host Spring crashes with "no Disk" "there is no disk in the drive" "please insert a disk into drive D:" error
bizarre! we were getting this with previous SVN version also.

Code: Select all

Client connected on slot 1
Player [fast computer] joined as 0
Lost connection to [slow computer]
Spring 0.75b2+svn5008 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x6177536c
5009:
looks same but log a bit different this time:

Code: Select all

Player [fast PC] joined as 0
Lost connection to [slow PC]
Spring 0.75b2+svn5009 has crashed.
false
Error in DrawScreen(): function: 05BF99B8
Removed widget: UnitGroups v5.1
Sync warning: FPUCW 0x027F instead of 0x003A or 0x003F ("CGame::Update")
Exception: Unknown exception (0x0022f1c8)
Exception Address: 0x000000e8
i wish i had 2 or more fast PCs ...

fast PC:
AthlonX2 2.5Ghz
loads SVN really fast (even faster than 075b2)

slow PCs:
AthlonXP 1.8Ghz
Athlon64 2Ghz
loads much slower, stick on "Finalizing" for a long time, slower hard drives?

so they are not very "slow"! but for some reason Spring loads much faster on the Dual core system and it looks like the connection is going wrong while the others are doing.. something in "Finalising"?.

here is end of log from slow PC from same game above:

Code: Select all

Finalizing...
Spring 0.75b2+svn5009
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
Reloaded cmdcolors with: cmdcolors.tmp
LuaUI v0.2
Client connected on slot 1
Player [fast PC] joined as 0
Client read net wanted quit
Reloaded cmdcolors with: cmdcolors.tmp
Path cache hits 0 0%
Path cache hits 0 0%

the log just stops after that (as server crashes).
Last edited by Smiff on 15 Dec 2007, 21:11, edited 1 time in total.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Post by aegis »

you can link directly to any file on my mirror you wish

at the moment, it uses about 0.1% of the bandwidth monthly i am comfortable with it using.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

Thanks for your testing effords.
But could you please upload the _whole_ infologs somewhere (with stacktraces if possible)?
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

umm sorry where do i get stacktraces?
i have to get some sleep but i'll be back to this tomorrow. hopefully you have some ideas?

edit: ok i think this might be related to CA. fibre loads very fast and seems to LAN fine.

here's another CA log (no bots this time, same crash):

Code: Select all

Using script script.txt
SDL:  1.2.12
GL:   2.1.1
GL:   NVIDIA Corporation
GL:   GeForce 8600 GT/PCI/SSE2/3DNOW!
GLEW: 1.4.0
Section game\mapoptions missing in file buffer
Section game\modoptions missing in file buffer
Using script Commanders
Map: SmallDivide.smf
Mod: "Complete Annihilation r1085" from ca-r1085.sdz
Became player 0
Client connected on slot 0
Loading all definitions:  0.950000
Opening map file
Loading Map
Loading detail textures
Creating overhead texture
Creating ground shading
Loading tile file
Reading tiles
Reading tile map
Creating projectile texture
Number of damage types: 34
Loading weapon definitions
Loading unit definitions
WARNING: too many unit categories 33 missed notstructure
WARNING: too many unit categories 33 missed notstructure
WARNING: too many unit categories 33 missed air
WARNING: too many unit categories 33 missed antisub
WARNING: too many unit categories 33 missed notstructure
WARNING: too many unit categories 33 missed fake
Loading feature definitions
Generating trees
Parsing unit icons
Creating unit textures
Initializing map features
Reading estimate path costs
Creating sky
Loading LuaCOB
LUACOB-MAIN  (GADGETS)
LUACOB-DRAW  (GADGETS)
Loading LuaRules
LUARULES-MAIN  (GADGETS)
LUARULES-DRAW  (GADGETS)
Loading LuaGaia
Finalizing...
Spring 0.75b2+svn5010
Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
LuaUI: bound F11 to the widget selector
LuaUI: bound CTRL+F11 to tweak mode
Reloaded cmdcolors with: cmdcolors.tmp
LuaUI v0.2
Client connected on slot 1
Player fast_pc joined as 0
Lost connection to slow_pc
Spring 0.75b2+svn5010 has crashed.
Exception: Access violation (0xc0000005)
Exception Address: 0x0084ca21
DLL information:
0x00400000	spring
0x7c900000	ntdll
0x7c800000	kernel32
0x77dd0000	ADVAPI32
0x77e70000	RPCRT4
0x73f10000	dsound
0x77c10000	msvcrt
0x7e410000	USER32
0x77f10000	GDI32
0x774e0000	ole32
0x76b40000	WINMM
0x77c00000	VERSION
0x68b20000	GLU32
0x5ed00000	OPENGL32
0x73760000	DDRAW
0x73bc0000	DCIMAN32
0x76c90000	IMAGEHLP
0x71ad0000	WSOCK32
0x71ab0000	WS2_32
0x71aa0000	WS2HELP
0x6ed80000	glew32
0x68100000	SDL
0x10000000	DevIL
0x66fc0000	freetype6
0x61b80000	zlib1
0x003d0000	ILU
0x69500000	nvoglnt
0x71a50000	mswsock
0x662b0000	hnetcfg
0x71a90000	wshtcpip
0x76c30000	WINTRUST
0x77a80000	CRYPT32
0x77b20000	MSASN1
0x72d20000	wdmaud
0x72d10000	msacm32
0x77be0000	MSACM32
0x77bd0000	midimap
0x73ee0000	KsUser
0x59a60000	DBGHELP
Stacktrace:
(0) E:\Games\Spring76\spring.exe [0x0084CA21]
(1) C:\WINDOWS\system32\msvcrt.dll(abort+0xe) [0x77C36BC1]
(2) E:\Games\Spring76\spring.exe [0x008B460D]
(3) E:\Games\Spring76\spring.exe [0x008AC87E]
(4) E:\Games\Spring76\spring.exe [0x00620C70]
(5) E:\Games\Spring76\spring.exe [0x0062106F]
(6) E:\Games\Spring76\spring.exe [0x00A068E3]
(7) E:\Games\Spring76\spring.exe [0x0094DBA0]
(8) C:\WINDOWS\system32\msvcrt.dll(endthreadex+0xa9) [0x77C3A3B0]
(9) C:\WINDOWS\system32\kernel32.dll(GetModuleFileNameA+0x1b4) [0x7C80B683]

Last edited by Smiff on 15 Dec 2007, 21:42, edited 1 time in total.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

They are at the end of the infologs ;)
Unfortunately I run out of ideas for the moment...

Edit: how long does it take on your slow computer after it prints "Finalizing..." until the game starts (approximately)?
Last edited by Auswaschbar on 15 Dec 2007, 21:53, edited 1 time in total.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Smiff wrote:umm sorry where do i get stacktraces?
i have to get some sleep but i'll be back to this tomorrow. hopefully you have some ideas?
It will be in the infolog if it's anywhere, but it's possible it wasn't made.
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

yep sorry with 5010 the error msg is different (C++ runtime error?) and i got a stacktrace.
the client (slow_pc) isnt actually crashing, its just exiting and returning to lobby when server crashes.
can you guys try with CA please. http://files.caspring.org/snapshots/latest.php
i know CA devs are using SVN because they have been making fixes for it, but this may be related?
very sorry for not being clearer on this before (do you expect people to be using XTA? BA?)

loading speed is unbelievable (ly good) with some mods (fibre)

edit:
ah shit sorry I think this is CA. maybe Spring bug, or CA bug. I can start an XTA game without a crash (if it can run through a complete game without crash I don't know yet!). well, maybe there is something useful to you here even if its protecting against a mod error?
i see there is a 076 specific version of CA (ca-076-r1086.sdz) but that just gives me a missing normal cursor error on start.
let me ask the CA guys (or hopefully they see this) when i'll get back to you. sorry to waste any of your time!. you are doing great work on next version of Spring, lots of things seem to run better other than this!
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

ok the 076SVN version of CA crashes Spring the same way as the 075 CA.

(why does Spring often throw No Disk errors when crashing. this is so confusing, i've had people asking if its a pirate copy! or where the CD is etc.

@Auswaschbar
Finalizing on the slow PC is approx 30 seconds. (then after loading it sits waiting for players for a bit, then quits to lobby).
Finalizing on fast PC is approx half that? sometimes much less, seems to vary . but the slow ones are always slow - when starting CA. other mods start fast.


@LordMatt
for ArchiveMover, you need to package zlibwapi.dll ?
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

with any mod:

games seem to just stop after a while. looks bit like being paused, but fatal.

(had to hard reset PC, on a dual core it's easier to get to task manager and shut spring down).

this never happened with 075b2
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Smiff wrote: @LordMatt
for ArchiveMover, you need to package zlibwapi.dll ?
Okay I will revert that change.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Abotu 60% of CA's lua is broken in the svn versions, so it's not exactly a good test platform...
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

yah ok i've given up on CA for now, but i'm finding all mods stop in about 10-20 minutes. definately SVN related. this is on all my PCs. I don't think it produces a useful error because it just hangs.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

But the loading <=> connection lost error is gone, isn't it?
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

Auswaschbar wrote:But the loading <=> connection lost error is gone, isn't it?
let me try the latest build 5027...

nope, still not working, server still crashing with No Disk error sorry :/
CA 1086 & CA 1090.
other mods are probably fine but they were already starting fine afaik.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Smiff wrote:with any mod:

games seem to just stop after a while. looks bit like being paused, but fatal.

(had to hard reset PC, on a dual core it's easier to get to task manager and shut spring down).

this never happened with 075b2
I've noticed that as well.
Post Reply

Return to “Help & Bugs”