[0.12.26] Desync for one person, lag, crash to desktop

This subforum contains all the issues which we already resolved.
Post Reply
tetryon
Fast Inserter
Fast Inserter
Posts: 190
Joined: Wed Nov 04, 2015 2:49 am
Contact:

[0.12.26] Desync for one person, lag, crash to desktop

Post by tetryon »

Public modded dedicated 0.12.26 server.

I was logged on, as was IKCharlie. devilwarriors joined (who had been desyncing late last night) and soon after he joined, a desync with him happened. Server started to lag out/wasn't responding, and the response time in the upper right debug went to several hundred.

devilwarriors eventually dropped. Then the server dropped. I tried to reconnect, and couldn't.

I restarted the server.

It was slow to download the map - it hung at 0h remaining for a while. Then I had a message that IKCharlie was dropped (must have given up and killed his client).
After he dropped, I joined to a completely black screen with just the FPS in small letters in the *bottom right* (not top), then after a few seconds, crashed to desktop.

I restarted factorio, and made sure the server was started, then was shortly after able to connect to the server with no issues.

Unfortunately I don't have a save immediately before the crash, but I do have the latest autosave (maybe 20 mins old.. not sure). Crash log attached too.
Attachments
_autosave8.zip
(28.02 MiB) Downloaded 63 times
factorio-current.log
(84.21 KiB) Downloaded 67 times

NoPantsMcDance
Filter Inserter
Filter Inserter
Posts: 478
Joined: Fri Jul 17, 2015 6:56 pm
Contact:

Re: [0.12.26] Desync for one person, lag, crash to desktop

Post by NoPantsMcDance »

Here is the desync reports. If you need anything else lemme know.
Looking for a multiplayer server? Check out my servers Vanilla Server

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.26] Desync for one person, lag, crash to desktop

Post by kovarex »

Hello, there is a story to this bug.

We have multiplayer tests, that are also doing some random desyncs etc.
The tests were randomly crashing on this error from time to time, and no one had the time to look at it, and we kind of started to live with that, we thought that it is probably error of the test, not of the multiplayer logic.

But once I saw the exact same error in your log, I started to investigate, and I actually found some core errors in the multiplayer code, that could create problems in special cases.

Long story short, I fixed few problems, and our multiplayer tests are passing as stable as they never did (no error in 100 re runs), and this error should never happen again.

Fixed for 0.12.27

tetryon
Fast Inserter
Fast Inserter
Posts: 190
Joined: Wed Nov 04, 2015 2:49 am
Contact:

Re: [0.12.26] Desync for one person, lag, crash to desktop

Post by tetryon »

kovarex wrote:Hello, there is a story to this bug.

We have multiplayer tests, that are also doing some random desyncs etc.
The tests were randomly crashing on this error from time to time, and no one had the time to look at it, and we kind of started to live with that, we thought that it is probably error of the test, not of the multiplayer logic.

But once I saw the exact same error in your log, I started to investigate, and I actually found some core errors in the multiplayer code, that could create problems in special cases.

Long story short, I fixed few problems, and our multiplayer tests are passing as stable as they never did (no error in 100 re runs), and this error should never happen again.

Fixed for 0.12.27
Well, I must admit, I do like a story with a happy ending. Glad to hear you were able to figure it out =)

daniel_cps
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Mar 19, 2016 11:03 pm
Contact:

Re: [0.12.26] Desync for one person, lag, crash to desktop

Post by daniel_cps »

i'm always having desync errors and getting kicked out of my own hosted server - whereas my friend with his "not-so-good" pc is always ON and playing.

how do I force my Steam downloaded client to update to 0.12.27, or even, if I update the server to 0.12.27, will my client be forced to update - or will I be locked out due to version mismatch?

sillyfly
Smart Inserter
Smart Inserter
Posts: 1099
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [0.12.26] Desync for one person, lag, crash to desktop

Post by sillyfly »

Enable beta updates for Factorio in Steam to get the latest experimental version (Keep in mind though that experimental versions, as the name suggests, may have bugs)

Post Reply

Return to “Resolved Problems and Bugs”