View Issue Details

IDProjectCategoryView StatusLast Update
0004979Spring engineGeneralpublic2015-10-08 22:40
ReporterJools Assigned Toabma  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionno change required 
Product Version100.0 
Summary0004979: Crash when using autohost and certain maps
DescriptionCrash when launching spring with autohost (spads) and certain maps, at least with this one: DOXTA v3

http://springfiles.com/spring/spring-maps/doxta-1

Map has some kind of gadget included that makes it a special type of map.
Steps To ReproduceLaunch spring from autohost with this map selected. Crash after 6 seconds.

Tested with XTA 9.745 and xta-test 971. Spring 100 and 98.0
Additional InformationInfolog: http://pastebin.com/tRVD5XGP

Can't translate stack: Error: :Unable to find detailed version in infolog
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2015-10-08 10:49

administrator   ~0015279

> Can't translate stack: Error: :Unable to find detailed version in infolog

it can't translate because there is no crash inside of it!

"[f=0000000] Warning: Network error 10054: An existing connection was forcibly closed by the remote host"


very likely your network settings are invalid / the server isn't started?!

can you provide the server log please?

Jools

2015-10-08 14:32

reporter   ~0015281

Last edited: 2015-10-08 14:46

* elderberry.log (spads autohost): http://pastebin.com/h9JyJ6EZ

* spads.log: http://pastebin.com/h4QDGgVc

* infolog of spads autohost: http://pastebin.com/jxgN9gvN

Edit: the game in question was 07.10.2015 21:05 (could be UTC/UTC+2/UTC+3)

abma

2015-10-08 14:45

administrator   ~0015282

from server infolog.txt:
[GameServer] No clients connected, shutting down server

Jools

2015-10-08 15:14

reporter   ~0015283

Last edited: 2015-10-08 15:24

Yes, the server says that no client connected and the client says the server crashed. Not sure what it is but it sounds like something network related.

But the autohosts run other maps just fine, seems to only happen with this map. Maybe there was one more map that didn't work, I'll have to ask knorke.

I tried changing the autohost engine to 98 and then back to 100 a few times, and now it works on both those engines on that autohost. Here is the log: http://pastebin.com/96wjTsq6

Oh, and here is the dedicated log as well: http://pastebin.com/T4Ns9kTV

Maybe this is because the autohost regenerates the unitsync module wrapper, but if i recall correctly this should maybe not be needed in new spads versions.

autohost and spads version:
semprini: SPADS v0.11.37 (auto-update: testing)
elderberry: SPADS v0.11.37 (auto-update: unstable)

Both say they are up to date.

So now this map works in elderberry but not in semprini. I could try to regenerate perl unitsync module in semprini and see if that fixes it.

abma

2015-10-08 15:38

administrator   ~0015284

maybe the server timeout is to slow and spring-dedicated quits to fast?

i.e.
at server:
spring-dedicated starts, waits a few seconds, then quits.
at client:
due to network lag / long initialization of game/map list, the clients try to connect AFTER spring-dedicated quits


try to increase (AFAIK) initial network delay:

https://springrts.com/wiki/Springsettings.cfg#InitialNetworkTimeout

(i hope thats the correct setting for that)

Jools

2015-10-08 17:21

reporter   ~0015285

Last edited: 2015-10-08 17:23

I don't think that's the cause, but I can try to increase that too. Basically the map loads very fast when it's started manually or on working autohost, and it only basically happens on this map out of hundreds we have played on this autohost.

Sometimes it happens that you crash on load and then you can usually rejoin the autohost as it keeps the server running.

Springsettings.cfg, in the same folder on the server where the correct infolog.txt is, contains only one springData = <path> setting, so the timeout is then at the default value, which is 30 seconds. But the client stops trying to connect after 10 seconds already, says: * Spring crashed ! (running time: 6 seconds)

user744

2015-10-08 19:21

  ~0015287

In lobbychat the autohost behaved like this:

[00:41:49] * [semprini]Autohost * Launching game...
[00:41:54] * [semprini]Autohost * Spring crashed ! (running time: 6 seconds)

Player would then get the "connection countdown" and fail to get ingame.

An older replay where it worked (same mod, same map, same engine) is http://replays.springrts.com/replay/b3548c553dbd4390f2c07a86c9ac602d/

maybe related SL issue:
https://github.com/springlobby/springlobby/issues/572

abma

2015-10-08 21:23

administrator   ~0015289

i miss a log file where a crash is contained...

Jools

2015-10-08 22:38

reporter   ~0015290

This is the issue, found in spring-dedicated.log: Archive "icyrunv2.sd7" not found

That's the dependency of this map.

New clean log files from durian autohost, with InitialNetworkTimeout=60:

* battle.log: http://pastebin.com/rBgY2RFb
* spads.log: http://pastebin.com/a6aY1Bhi
* durian.log (== stdout and stderr): http://pastebin.com/s7UPcp7D
* dedicated.log: http://pastebin.com/xPQsN4jb
* startscript: http://pastebin.com/pii9TnN9
* infolog from server: http://pastebin.com/t2fKwDHe

abma

2015-10-08 22:40

administrator   ~0015291

ok, thanks. glad thats just a missing file

Issue History

Date Modified Username Field Change
2015-10-07 20:11 Jools New Issue
2015-10-08 10:49 abma Note Added: 0015279
2015-10-08 10:50 abma Assigned To => abma
2015-10-08 10:50 abma Status new => feedback
2015-10-08 14:32 Jools Note Added: 0015281
2015-10-08 14:32 Jools Status feedback => assigned
2015-10-08 14:45 abma Note Added: 0015282
2015-10-08 14:46 Jools Note Edited: 0015281
2015-10-08 15:14 Jools Note Added: 0015283
2015-10-08 15:15 Jools Note Edited: 0015283
2015-10-08 15:24 Jools Note Edited: 0015283
2015-10-08 15:38 abma Note Added: 0015284
2015-10-08 17:21 Jools Note Added: 0015285
2015-10-08 17:23 Jools Note Edited: 0015285
2015-10-08 19:21 user744 Note Added: 0015287
2015-10-08 21:23 abma Note Added: 0015289
2015-10-08 21:23 abma Assigned To abma =>
2015-10-08 21:23 abma Status assigned => feedback
2015-10-08 22:38 Jools Note Added: 0015290
2015-10-08 22:38 Jools Status feedback => new
2015-10-08 22:39 abma Status new => closed
2015-10-08 22:39 abma Assigned To => abma
2015-10-08 22:39 abma Resolution open => no change required
2015-10-08 22:40 abma Note Added: 0015291