Page 1 of 1

[1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 10:50 am
by azesmbog
Image
The game itself has been saved for the last few hours, without my participation.
looked two previous save are present. Tried to save manually two more times, with the same error.
Rebooted the computer and loaded the previous save. After it, the game has been saved several times normally.
I sincerely hope this is an isolated case of failure.
But the question is this: I had to check what was there in the coordinates (-28.85)?
upd: at the coordinates (-28.85) I have the edge of the railway, which I have not changed for a million years.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 4:41 pm
by Silari
For an unsigned integer -28 with the first bit flipped becomes 2147483620, so quite possible you just had a random bit flip. It happens, you'll see reports of it on the forums decently often.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 8:05 pm
by azesmbog
So this is not an error, but quite a common occurrence :) The main thing is that it does not happen so that none of the last three saves will load :)
I already sometimes double-check what I have written, but for me it is somewhat tedious, because the full cycle (saving with subsequent loading) is 20 minutes + 20 minutes.
Thanks for clarifying. Hopefully this doesn't happen again.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 8:43 pm
by bormand
azesmbog wrote:
Mon Jun 21, 2021 8:05 pm
So this is not an error, but quite a common occurrence
Yep, bit flips are quite common. That's why servers use ECC memory.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 9:17 pm
by orzelek
bormand wrote:
Mon Jun 21, 2021 8:43 pm
azesmbog wrote:
Mon Jun 21, 2021 8:05 pm
So this is not an error, but quite a common occurrence
Yep, bit flips are quite common. That's why servers use ECC memory.
I'm quite interested when I see sentence like this - how common are they?
I spent quite a lot of time with factorio and lots of time gaming in general and I don't recall having any visible signs of those. And thats without ECC memory.

I know that one of games had a built in check added to actually detect corruption in runtime (Fortnight?) and it was used to detect a lot of strange corruption. And I do see bug reports here with rendom crashes from time to time.
But is it really that common?

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 9:40 pm
by NotRexButCaesar
orzelek wrote:
Mon Jun 21, 2021 9:17 pm
I spent quite a lot of time with factorio and lots of time gaming in general and I don't recall having any visible signs of those. And thats without ECC memory.
It probably varies largely by computer.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 10:30 pm
by bormand
orzelek wrote:
Mon Jun 21, 2021 9:17 pm
But is it really that common?
https://stackoverflow.com/questions/2580933

As for the games, most of them are graphic heavy, so you wouldn't notice a slightly changed pixel or a bugged vertex.

Re: [1.1.35] unable to save the map

Posted: Mon Jun 21, 2021 11:33 pm
by orzelek
bormand wrote:
Mon Jun 21, 2021 10:30 pm
orzelek wrote:
Mon Jun 21, 2021 9:17 pm
But is it really that common?
https://stackoverflow.com/questions/2580933

As for the games, most of them are graphic heavy, so you wouldn't notice a slightly changed pixel or a bugged vertex.
Thanks for the link it's quite informative. I guess it's much easier to get a corruption in data that won't be noticed that on executable code that would crash instantly.

Re: [1.1.35] unable to save the map

Posted: Tue Jul 06, 2021 5:57 pm
by azesmbog
This time I hit much stronger: ((
Usually I make backups every 2-3 days, this time I only had a ten-day copy dated June 26 :( (working and proven)
This is a few hundred hours of play :)
I don't know if it's the same error or not, but this time the map didn't load at all, I tried all three last copies(saving every hour). I attach the logs, suddenly someone is interested))
Moreover, the game worked to the last, without shutdowns ...
Well cho, it is his own fault, it is necessary to be saved more often ... The first rule of the system administrator.
factorio-current.zip
(11.51 KiB) Downloaded 126 times

Re: [1.1.35] unable to save the map

Posted: Tue Jul 06, 2021 7:25 pm
by Silari
You might want to check your system for any HW issues, and if there's any overclocking done on the system, remove it. Bad tile data can also be a result of bit corruption, or a HW problem.

Re: [1.1.35] unable to save the map

Posted: Wed Jul 07, 2021 4:42 am
by azesmbog
Good advice, of course.
but in the current configuration I have been playing for at least the last six months and several thousand hours, and the problems appeared on version 1.1.35, and as you can see from the forum at least two more players, so I tend to degrade the game in this version: ((
I would gladly return to version 1.1.30, but alas, this is impossible in this paradigm :)

Re: [1.1.35] unable to save the map

Posted: Wed Jul 07, 2021 4:41 pm
by Silari
There have been reports of bit flips since long before the current version, before 1.0 even - that's why the first thing I checked on your post was if it was likely a bit flip, because they're often the cause. Even your recent ones could be the same thing - any single bit value can become 0 with a single flip, and a single bit can make a 9 become a 73.

'It worked yesterday' is never a guarantee it will work tomorrow.