View Issue Details

IDProjectCategoryView StatusLast Update
0002338Spring engineGeneralpublic2011-08-02 03:26
Reportermacbeth Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
Product Version0.82.7.1 
Summary0002338: Playing online I always experience desync
DescriptionOn every match i play online i always experience desync after nearly 20 minute of game.

I'm using windows 7 64 bit (ram checked with memtest) , ATI embedded GFX card (hd 4200).

I'm not using MT version and I din't played spring since nearly 2 years, but before, I haven't this error. (I was using another SO , windows XP)

Tried also with a clean install... same issue.

hi :D
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20110212_021346_DeltaSiegeDry_0.82.7.sdf (Attachment missing)
20110211_191731_DeltaSiegeDry_0.82.7.sdf (Attachment missing)
Checked infolog.txt for Errors

Relationships

duplicate of 0002591 resolvedabma (master) desync headless vs headless (same environment + binary!) 
related to 0002362 resolvedabma desync in online game with gentoo x86_64 

Activities

abma

2011-02-06 14:38

administrator   ~0006349

can you please attach the replay of such a game?

zerver

2011-02-06 18:16

reporter   ~0006350

Please check if watching the replay results in the same desync. If it does, and you have access to more than one computer, check if it desyncs on that other PC as well. If it does, ask someone else in a desyncing game to send their replay file to you. Post both replays here so we can compare them.

macbeth

2011-02-12 02:48

reporter   ~0006379

uploaded a game where i desynced... asked to another player to upload his synced game

macbeth

2011-02-12 21:47

reporter   ~0006381

watching the replay result in the same desync

macbeth

2011-03-23 16:50

reporter   ~0006506

It appears to be a server/network related issue. Playing on different servers don't result necessarily in desync, even with a lot of units (40 min match).

SirMaverick

2011-03-24 00:48

reporter   ~0006507

> watching the replay result in the same desync

Afaik you cannot desync running a replay alone. What you are seeing there is the recorded text message that is send during the game.

Both demos only differ in header (time stamp?), assigned player number and the end (not exactly stopped at the same frame).
Running both demos with with sync trace enabled results in 2 142 MB trace files that only differ at the end (frame 27xxx). First desync message in game was around frame 79xx.

macbeth

2011-03-29 10:39

reporter   ~0006518

Last edited: 2011-03-29 10:39

You are right... checked better and verified the wathing the replay don't result in desync.

abma

2011-03-31 00:54

administrator   ~0006520

do you have a firewall or something like that? network problems? do you live in a country with internet censorship? maybe these firewalls damage some packets?

(just some ideas)

macbeth

2011-04-03 20:46

reporter   ~0006529

No, A far as I know I don't have any network issue. I live in Italy , so there isn't any censorship. Enable / disable firewall don't seems to affect the desync problem.

Maybe could you suggest me a method to test my internet connection ? But is strange... local replay is executed correctly.

abma

2011-04-03 21:58

administrator   ~0006530

try to disable "Offload Checksum" (hardware-manager -> active network card -> properties -> advanced), if its avaiable/enabled there

macbeth

2011-04-08 02:19

reporter   ~0006544

uhm.... this option isn't available in my drivers =/

ZZZzzz

2011-07-06 15:34

reporter   ~0006940

Last edited: 2011-07-06 15:38

I have the same problem except it comes from the near first minutes... This happen since few time for me (a bit more than a month), I always install the last version but I didn't notice yet my current working version (should be the last or prev last one). I tried to re-install Spring without success.

I changed location and network since, so I suppose this come from my network but what can I do to fix it ?
Could it comes from "bad ADSL line" (bandwith is less than 8000 KB) ?

hoijui

2011-07-08 11:42

reporter   ~0006965

desyncing happens due to local calculations being different then remote ones.
network is guaranteed to not cause this (if you would miss packages, they would be resent, and if they never arrive, you would drop from the game).
-> no desync due to network problems.
(in theory it is possible of course, but it would only happen 1 out of 10^99 packets or the like, so it would never happen to one person twice in a live-time.)

hoijui

2011-07-08 11:43

reporter   ~0006966

btw ZZZzzz. please post your infolog.txt on pastebin.com (never expire) and post the URL here.

ZZZzzz

2011-07-08 16:30

reporter   ~0006972

I will do this tonight, I don't have this file with me right now.

But I have news :

Yesterday I tried to change my "offloading UDP checksum settings" but never found how to do this on my WIFI card (although it is very easy to do this on my "wired card" since the parameters appears in advanced settings of the network card).

I tried to play TA to see if problem still occurs (it should since I changed nothing) but strangly I could play two games without any problem. But not the third one, after say, 30 s (maybe less) I got sync errors. I tried severals times, with severals map, and I got sync errors each time quite quickly (30s or less). I don't even tried to do the entire game since it is not very fun to play "alone" agains't "fakes" players...

I wonder if this could come from my CPU that generate calculation errors, but my system has always worked properly. And why do the two firsts games worked properly ? I will try some "prime" stuffs to see if I can find anything.

ZZZzzz

2011-07-21 23:58

reporter   ~0007057

Last edited: 2011-07-22 00:04

I tried to play tonight, and once again I got sync error. Even when I was spec.
Futher more I asked for a replay from a computer without sync error. When I look the two replay (the one from my computer and the one from the computer without sync errors) it is exactly the same (I mean the game not synced).
So I think this is related to network or bug somewhere in spring. My CPU worked stable under Prime95.

My infolog.txt (took during a game I was spec and getting sync errors) :
http://pastebin.com/YMjjpRb0

daftalx

2011-07-22 00:10

reporter   ~0007058

I top that. I was on the same game as ZZZzzz, had desyncs as well, and ended up with a different game than everyone else. Now I was wondering whether this could be a 64 vs 32 bit OS issue?

abma

2011-08-02 03:26

administrator   ~0007190

Last edited: 2011-08-02 03:28

it seems that spring has many sync-related bugs in 0.82.7.1. we fixed many in current spring/master but some still exist.

to see progress/updates see 0002591 or maybe the roadmap: http://springrts.com/mantis/roadmap_page.php

newer os seems to cause more sync error. i guess this is because of some buffer-overflow/memory protection stuff, but this is only a guess...

Issue History

Date Modified Username Field Change
2011-02-06 04:30 macbeth New Issue
2011-02-06 14:38 abma Note Added: 0006349
2011-02-06 18:16 zerver Note Added: 0006350
2011-02-06 22:31 abma File Added: infolog.txt
2011-02-06 22:31 abma Additional Information Updated
2011-02-12 02:40 macbeth File Added: 20110212_021346_DeltaSiegeDry_0.82.7.sdf
2011-02-12 02:48 macbeth Note Added: 0006379
2011-02-12 03:31 Isildur File Added: 20110211_191731_DeltaSiegeDry_0.82.7.sdf
2011-02-12 21:47 macbeth Note Added: 0006381
2011-03-23 16:50 macbeth Note Added: 0006506
2011-03-24 00:48 SirMaverick Note Added: 0006507
2011-03-26 13:55 abma Severity major => crash
2011-03-29 10:39 macbeth Note Added: 0006518
2011-03-29 10:39 macbeth Note Edited: 0006518
2011-03-31 00:54 abma Note Added: 0006520
2011-03-31 00:54 abma Relationship added related to 0002362
2011-04-03 20:46 macbeth Note Added: 0006529
2011-04-03 21:58 abma Note Added: 0006530
2011-04-08 02:19 macbeth Note Added: 0006544
2011-07-06 15:34 ZZZzzz Note Added: 0006940
2011-07-06 15:37 ZZZzzz Note Edited: 0006940
2011-07-06 15:38 ZZZzzz Note Edited: 0006940
2011-07-08 11:42 hoijui Note Added: 0006965
2011-07-08 11:43 hoijui Note Added: 0006966
2011-07-08 16:30 ZZZzzz Note Added: 0006972
2011-07-21 23:58 ZZZzzz Note Added: 0007057
2011-07-21 23:58 ZZZzzz Note Edited: 0007057
2011-07-22 00:00 ZZZzzz Note Edited: 0007057
2011-07-22 00:04 ZZZzzz Note Edited: 0007057
2011-07-22 00:10 daftalx Note Added: 0007058
2011-08-02 03:26 abma Note Added: 0007190
2011-08-02 03:26 abma Relationship added duplicate of 0002591
2011-08-02 03:26 abma Duplicate ID 0 => 2591
2011-08-02 03:26 abma Status new => resolved
2011-08-02 03:26 abma Resolution open => duplicate
2011-08-02 03:26 abma Assigned To => abma
2011-08-02 03:28 abma Note Edited: 0007190