Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedicated server starts randomly desyncing after a period of time #6130

Closed
DorpsGek opened this issue Oct 7, 2014 · 5 comments
Closed

Dedicated server starts randomly desyncing after a period of time #6130

DorpsGek opened this issue Oct 7, 2014 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 7, 2014

luaduck opened the ticket and wrote:

(Background: I'm the lead server admin for the Reddit OpenTTD community, running two 1.4.3 servers)

We've been having clients start mass-desyncing after a period of time (variable, normally more than a few hours after a new map). I haven't personally been present during the most recent episodes, but I do have the debug logs / dumps and savegame that should hopefully shed some light on it. I can't confirm that these are the correct logs for the savegame, but I do have an absolute shedload of saves and dumps to go through if it's incorrect.

Our environment is as follows:
Fedora 20 x86_64, fully up to date
OpenTTD 1.4.3 from source as a bundle (compiled through SOAP) - issue replicated on a public binary build of 1.4.3

Attachments

Reported version: 1.4.3
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/6130
@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 7, 2014

luaduck wrote:

I've also gzipped all of the command dumps here: http://ttd.duck.me.uk/files/dumps.tar.gz (warning 320mb file) - there's a few at the beginning of the archive that were before that savegame was taken, but I've included them because lazy.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6130#comment13551

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 7, 2014

planetmaker wrote:

1338.sav seems to be the correct savegame. It's loaded in line 1050 of the commands-out.log and a desync found (much) later in the commands-out.log in line 20224.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6130#comment13552

@DorpsGek
Copy link
Member Author

Marctraider wrote:

Any news on this?


This comment was imported from FlySpray: https://bugs.openttd.org/task/6130#comment13601

@DorpsGek
Copy link
Member Author

frosch wrote:

The log files gave no hint on what could have happened. The desync was not reproducible from the logs.

Also one of the desyncing clients joined just at about the server start, so it is very unlikely that it is caused by incorrect savegame or cache handling.

Only options left are:
* The client machine is legitimately broken, as it corrupt memory. But if multiple clients desynced, this is unlikely.
* The desync is caused by different CPU or OS architectures. E.g. 32bit client vs. 64bit server. Windows client vs. Linux server. Big endian client vs. little endian server.

Possibly the replay could be replayed on a 32bit machine. But it would help if someone would identify some pattern in the desyncing: I.e. are always the same people desyncing. What is different about their machines?


This comment was imported from FlySpray: https://bugs.openttd.org/task/6130#comment13602

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Unreproducible

possibly #6329


This comment was imported from FlySpray: https://bugs.openttd.org/task/6130

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Network labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant