View Issue Details

IDProjectCategoryView StatusLast Update
0005685Spring engineGeneralpublic2017-08-18 15:37
ReporterGoogle_Frog Assigned Tohokomoko  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product Version103.0 +git 
Summary0005685: 103.0.1-1244 loorke desyncs
Descriptionloorke desyncs in two games

Game 1:
 * Battle: https://zero-k.info/Battles/Detail/464521
 * Log: https://github.com/ZeroK-RTS/CrashReports/issues/1687
 * Another log: https://github.com/ZeroK-RTS/CrashReports/issues/1689

Game 2:
 * Battle: https://zero-k.info/Battles/Detail/464537
 * Log: https://github.com/ZeroK-RTS/CrashReports/issues/1686

I've double checked the checksums and they match. Interestingly, they don't desync in this battle, https://zero-k.info/Battles/Detail/464531, which is on the same map as their second desynced game. In both desync battles they fail to connect before the game starts, perhaps it is related.
TagsNo tags attached.
Attached Files
20170804_213315_Comet Catcher Redux v3_103.0.1-1244-g70d14a0 develop.sdfz (Attachment missing)
20170804_200251_Red Comet_103.0.1-1244-g70d14a0 develop.sdfz (Attachment missing)
20170804_210432_Comet Catcher Redux v3_103.0.1-1244-g70d14a0 develop no desync.sdfz (Attachment missing)
Checked infolog.txt for Errors

Relationships

has duplicate 0005688 closed 103.0.1-1244 Desync ktdm in frame 565 

Activities

hokomoko

2017-08-05 10:44

developer   ~0018172

On a debug build I had this error:
[f=0000933] Error: gl.BeginEnd: error(2) = [string "LuaUI/Widgets/chili/controls/multiprogressb..."]:52: bad argument #1 to 'glVertex' (number expected, got NAN (check your code for div0))
[f=0000933] Chili-Error in `Chili Economy Panel Default`:multiprogressbar1 : [string "LuaUI/Widgets/chili/controls/multiprogressb..."]:52: bad argument #1 to 'glVertex' (number expected, got NAN (check your code for div0))
[f=0000933] stacktrace:
    [C]: in glBeginEnd
    [string "LuaUI/Widgets/chili/controls/multiprogressb..."]:103
    (tail call): in [?]
    [string "LuaUI/Widgets/chili/controls/control.lua"]:809: in _UpdateOwnDList
    ...
    [string "-- $Id: camain.lua 3171 2008-11-06 09:06:29..."]:84
    [string "LuaUI/Widgets/chili/handlers/taskhandler.lu..."]:96: in Update
[f=0000933] Removed widget: Chili Economy Panel Default

a few frames before the desync.
it may be related

hokomoko

2017-08-05 11:10

developer   ~0018173

No success in reproducing it locally atm, try to see whether the NAN/inf originates in this widget or it originates in synced code.

Google_Frog

2017-08-06 04:25

reporter   ~0018174

loorke in frame 8655
 * https://github.com/ZeroK-RTS/CrashReports/issues/1695

Another late join.

hokomoko

2017-08-06 08:07

developer   ~0018175

Did you fix/investigate this error?

Google_Frog

2017-08-06 08:32

reporter   ~0018176

Not in that infolog, it's the same stable.

hokomoko

2017-08-06 08:35

developer   ~0018177

My question is whether you know what caused it, whether it may be synced

Google_Frog

2017-08-06 08:48

reporter   ~0018178

Multiprogressbar is used exclusively for the reserve bars on the economy panel. If metal or energy storage returned by select(2, Spring.GetTeamResources(spGetMyTeamID(), "metal")) is NAN then multiprogressbar could get a NAN. If the width of the economy panel is equal to its padding it could get a NAN.

Google_Frog

2017-08-06 08:55

reporter   ~0018179

If the teamRulesParam "metalReserve" or "energyReserve" is NAN then multiprogressbar could get a NAN.

Kloot

2017-08-07 23:30

developer   ~0018189

Last edited: 2017-08-07 23:33

fwiw matching map/mod checksums do not guarantee byte-for-byte matching data, as seen for player 4hundred in https://github.com/ZeroK-RTS/CrashReports/issues/1731 which is clearly due to pool corruption:


  [f=0064915] Error: could not load model "amphcon.s3o" (reason: [S3OParser] could not find model-file objects3d/amphcon.s3o)
  [f=0064915] Error: could not load model "amphraider2.s3o" (reason: [S3OParser] could not find model-file objects3d/amphraider2.s3o)
  [f=0064915] Error: could not load model "amphriot.s3o" (reason: [S3OParser] could not find model-file objects3d/amphriot.s3o)
  [f=0064915] Error: could not load model "amphaa.s3o" (reason: [S3OParser] could not find model-file objects3d/amphaa.s3o)
  [f=0064915] Error: could not load model "amphteleport.s3o" (reason: [S3OParser] could not find model-file objects3d/amphteleport.s3o)
  [f=0064915] Error: could not load model "factory2_dead.s3o" (reason: [S3OParser] could not find model-file objects3d/factory2_dead.s3o)
  [f=0064915] Error: could not load model "amphraider3.s3o" (reason: [S3OParser] could not find model-file objects3d/amphraider3.s3o)
  [f=0064915] Error: could not load model "can.s3o" (reason: [S3OParser] could not find model-file objects3d/can.s3o)
  [f=0064915] Error: could not load model "amphassault.s3o" (reason: [S3OParser] could not find model-file objects3d/amphassault.s3o)
  [f=0064915] Error: could not load model "amphbomb.s3o" (reason: [S3OParser] could not find model-file objects3d/amphbomb.s3o)
  [f=0072235] Error: could not load model "can_dead.s3o" (reason: [S3OParser] could not find model-file objects3d/can_dead.s3o)


it might be time to phase out archive CRC in favor of SHA.

Issue History

Date Modified Username Field Change
2017-08-05 10:01 Google_Frog New Issue
2017-08-05 10:02 Google_Frog File Added: 20170804_213315_Comet Catcher Redux v3_103.0.1-1244-g70d14a0 develop.sdfz
2017-08-05 10:02 Google_Frog File Added: 20170804_200251_Red Comet_103.0.1-1244-g70d14a0 develop.sdfz
2017-08-05 10:04 Google_Frog File Added: 20170804_210432_Comet Catcher Redux v3_103.0.1-1244-g70d14a0 develop no desync.sdfz
2017-08-05 10:31 hokomoko Assigned To => hokomoko
2017-08-05 10:31 hokomoko Status new => assigned
2017-08-05 10:44 hokomoko Note Added: 0018172
2017-08-05 11:10 hokomoko Note Added: 0018173
2017-08-05 11:11 hokomoko Status assigned => feedback
2017-08-06 04:25 Google_Frog Note Added: 0018174
2017-08-06 04:25 Google_Frog Status feedback => assigned
2017-08-06 08:07 hokomoko Note Added: 0018175
2017-08-06 08:32 Google_Frog Note Added: 0018176
2017-08-06 08:35 hokomoko Note Added: 0018177
2017-08-06 08:48 Google_Frog Note Added: 0018178
2017-08-06 08:55 Google_Frog Note Added: 0018179
2017-08-06 11:58 Kloot Relationship added has duplicate 0005688
2017-08-07 23:30 Kloot Note Added: 0018189
2017-08-07 23:33 Kloot Note Edited: 0018189
2017-08-18 15:37 hokomoko Status assigned => closed
2017-08-18 15:37 hokomoko Resolution open => unable to reproduce