[0.12.7] [kovarex] Desync on headless ubuntu server

This subforum contains all the issues which we already resolved.
Berserker55
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Sat Jan 31, 2015 7:36 am
Contact:

[0.12.7] [kovarex] Desync on headless ubuntu server

Post by Berserker55 »

Continuation of https://forums.factorio.com/forum/vie ... 11&t=16028 as it was not fixed with 0.12.7

Same deal, desync within a random range of seconds.
updated evogui and yuoki since then, no go.
Also still downloading at about 15 kb/s.

Mods:
https://www.dropbox.com/sh/3oetqj0q2dik ... gA4Ua?dl=0

Save:
https://www.dropbox.com/s/kpusxyv9ccb4j4q/12.zip?dl=0

Desync report:
https://www.dropbox.com/sh/a90dmdvsj963 ... mbPba?dl=0

Client Log:
https://www.dropbox.com/s/ltncsa5d81odd ... t.log?dl=0

Server Log:
https://www.dropbox.com/s/d7gc67ok2ulq6 ... r.log?dl=0
Berserker55
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Sat Jan 31, 2015 7:36 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by Berserker55 »

Some further testing revealed the problem to be with my (Berserker55/fabian)'s inventory. As soon as a drone inserts something into it, or an item is put to or from the hotbar, the desync occurs.

Edit: after putting all things yuoki into a chest, then using that save on the server, it seems to work so far.
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by orzelek »

Berserker55 wrote:Some further testing revealed the problem to be with my (Berserker55/fabian)'s inventory. As soon as a drone inserts something into it, or an item is put to or from the hotbar, the desync occurs.

Edit: after putting all things yuoki into a chest, then using that save on the server, it seems to work so far.
If you want you can do quite simple test.
When playing with youki's item in question take a look at inventory when doing various actions with it. If you see items in it reshuffle it means that sorting is not deterministic and will cause desyncs potentially.
Berserker55
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Sat Jan 31, 2015 7:36 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by Berserker55 »

That is definitely happening. Yuoki items have been reshuffling a lot. But when playing windows<->windows it's fine, so we never cared much.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by kovarex »

Yes, inventory sorting determinism related problems are only appearing when playing cross platform.
Berserker55
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Sat Jan 31, 2015 7:36 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by Berserker55 »

Will that be fixed short term?
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by kovarex »

Berserker55 wrote:Will that be fixed short term?
Most probably yes.

I was able to minimize the problem into test case with 2 items, so I'm going to investigate it to day. I guess it will be fixed to day, so it only depends when 0.12.8 will come, but probably this week.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.7] [kovarex] Desync on headless ubuntu server

Post by kovarex »

It is fixed for 0.12.8

(The problem was error in the item stack comparator. It didn't work properly when to item groups had the same order string.)
Post Reply

Return to “Resolved Problems and Bugs”