View Issue Details

IDProjectCategoryView StatusLast Update
0005248Spring engineGeneralpublic2016-06-01 20:22
ReporterGoogle_Frog Assigned Tohokomoko  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product Version101.0+git 
Target Version102.0 
Summary0005248: 101.0.1-386 Desync
DescriptionThis game had desync. It occurs late in the game for a spectator. We did not check whether there were any noticeable changes.

First message:
[f=0021449] Sync error for Aquanim in frame 21429 (got 7e69419c, correct is fcffee98)
Additional InformationSpring 101.0.1-386-gcb41545 develop
using map: Akilon Wastelands ZK v1
using game: Zero-K test-11126-a5feda5
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Aquanim Replay.sdfz (Attachment missing)
GoogleFrog replay.sdfz (Attachment missing)
abma_infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

hokomoko

2016-05-22 15:04

developer   ~0016328

an infolog is missing.

Google_Frog

2016-05-22 15:34

reporter   ~0016329

I know. Infologs are too confusing to retrieve.

hokomoko

2016-05-22 15:35

developer   ~0016330

I know, but I assure you that debugging a desync is (usually) significantly more difficult than explaining how to retrieve an infolog.

abma

2016-05-23 03:27

administrator   ~0016333

whats with these errors?

[f=-000001] Error: could not find a parser for model "armcom_dead" (unknown format?)

(there are some more with different models)

i'm not sure if engine can handle this probably / sync safe.

abma

2016-05-23 03:33

administrator   ~0016334

also:

[f=-000001] Error: [UnitDefIndex] ERROR_TYPE for key "midx" in UnitDefs __index
[f=-000001] Error: LuaRules::RunCallIn: error = 2, UnitCreated, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_centeroffset.lua"]:113: attempt to perform arithmetic on field 'midx' (a nil value)
stack traceback:
    [string "LuaRules/Gadgets/unit_centeroffset.lua"]:113: in function 'UnitCreated'
    [string "LuaRules/gadgets.lua"]:1375: in function <[string "LuaRules/gadgets.lua"]:1373>
    (tail call): ?
    [C]: in function 'CreateUnit'
    [string "LuaRules/Gadgets/mission_orbital_drop.lua"]:93: in function 'DropUnit'
    [string "LuaRules/Gadgets/start_unit_setup.lua"]:399: in function 'SpawnStartUnit'
    [string "LuaRules/Gadgets/start_unit_setup.lua"]:571: in function 'GameStart'
    [string "LuaRules/gadgets.lua"]:990: in function <[string "LuaRules/gadgets.lua"]:988>
    (tail call): ?
[f=-000001] Error: [UnitDefIndex] ERROR_TYPE for key "midx" in UnitDefs __index
[f=-000001] Error: LuaRules::RunCallIn: error = 2, UnitCreated, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_centeroffset.lua"]:113: attempt to perform arithmetic on field 'midx' (a nil value)
stack traceback:
    [string "LuaRules/Gadgets/unit_centeroffset.lua"]:113: in function 'UnitCreated'
    [string "LuaRules/gadgets.lua"]:1375: in function <[string "LuaRules/gadgets.lua"]:1373>
    (tail call): ?
    [C]: in function 'CreateUnit'
    [string "LuaRules/Gadgets/mission_orbital_drop.lua"]:93: in function 'DropUnit'
    [string "LuaRules/Gadgets/start_unit_setup.lua"]:399: in function 'SpawnStartUnit'
    [string "LuaRules/Gadgets/start_unit_setup.lua"]:571: in function 'GameStart'
    [string "LuaRules/gadgets.lua"]:990: in function <[string "LuaRules/gadgets.lua"]:988>
    (tail call): ?


http://buildbot.springrts.com/builders/validationtests/builds/5372/steps/validation%20test_5/logs/stdio

abma

2016-05-23 03:43

administrator   ~0016335

Last edited: 2016-05-23 03:43

demo does desync for me too: i don't get errors from address sanitizer.

i'm on ubuntu x64.

Google_Frog

2016-05-23 14:13

reporter   ~0016336

What do you do to get the unit_centeroffset error?

Google_Frog

2016-05-23 14:20

reporter   ~0016337

abma I have found your problem:
"using game: Zero-K v1.3.10.0"
That is from October last year. An engine change removed the UnitDefs key midx and replaced it with model.midx. I dealt with that ages ago.

The two "Error: could not find a parser for model" errors occur for models which are referenced in featuredefs but do not exist.

hokomoko

2016-05-23 14:31

developer   ~0016338

I don't think the mentioned errors are the cause of this issue.

abma

2016-05-27 15:02

administrator   ~0016375

@Google Frog:

oh, didn't notice that. mantised as 0005255, will try again soon.

hokomoko

2016-05-27 15:05

developer   ~0016376

abma, when you said "demo desyncs for me too" do you mean you can see Aquanim's desync, or that you see warnings about your own checksum?
(an infolog would help).
In my case I had the same checksum as GoogleFrog and NorthChileanG.

hokomoko

2016-06-01 19:13

developer   ~0016386

I've hit an issue in ZK where a user had a corrupted rapid pool so he desynced.
I fear that's what happened in this game too.
Since we don't have the infolog we can't test that.

hokomoko

2016-06-01 20:21

developer   ~0016387

I'm removing this since I have no infolog for one of the parties.
This will be reopened if there's another desync with demos and infologs

Issue History

Date Modified Username Field Change
2016-05-22 07:16 Google_Frog New Issue
2016-05-22 07:16 Google_Frog File Added: infolog.txt
2016-05-22 07:17 Google_Frog File Added: Aquanim Replay.sdfz
2016-05-22 07:20 Google_Frog File Added: GoogleFrog replay.sdfz
2016-05-22 15:04 hokomoko Note Added: 0016328
2016-05-22 15:34 Google_Frog Note Added: 0016329
2016-05-22 15:35 hokomoko Note Added: 0016330
2016-05-22 18:29 hokomoko Target Version => 102.0
2016-05-23 03:27 abma Note Added: 0016333
2016-05-23 03:33 abma Note Added: 0016334
2016-05-23 03:43 abma Note Added: 0016335
2016-05-23 03:43 abma Note Edited: 0016335
2016-05-23 14:13 Google_Frog Note Added: 0016336
2016-05-23 14:20 Google_Frog Note Added: 0016337
2016-05-23 14:31 hokomoko Note Added: 0016338
2016-05-27 15:02 abma Note Added: 0016375
2016-05-27 15:05 hokomoko Note Added: 0016376
2016-05-30 17:11 abma File Added: abma_infolog.txt
2016-06-01 19:13 hokomoko Note Added: 0016386
2016-06-01 20:21 hokomoko Note Added: 0016387
2016-06-01 20:21 hokomoko Status new => closed
2016-06-01 20:21 hokomoko Assigned To => hokomoko
2016-06-01 20:21 hokomoko Resolution open => unable to reproduce