[0.15.27] Time/NTP issues causes crash

This subforum contains all the issues which we already resolved.
Post Reply
ikki
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 05, 2017 5:30 pm
Contact:

[0.15.27] Time/NTP issues causes crash

Post by ikki »

This is not a Factorio problem, per se, but the fallout from it is unique to Factorio.

Background: Broken motherboard, can't keep time. Eventually starts going backwards. Vendor was initially replacing these motherboards as an RMA, no longer does, I'm cheap, whatever.

Issue: If my clock gets an hour behind, Factorio crashes. I noticed once it jumped over an hour behind, Factorio didn't notice, but when it hit two hours behind (on the nose), Factorio crashed.

I can understand if this doesn't get considered a bug, but since the crashing is not something I've seen before in an application due to my "drift" issue, I thought I'd report it.

Hope it helps.

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

Re: [0.15.27] Time/NTP issues causes crash

Post by kovarex »

Without providing the log of the crash, this is far from enough of info for us to know what is going on.

ikki
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 05, 2017 5:30 pm
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by ikki »

When I say crash, it actually hangs. I have to manually end-task it. Reproduced, log file has nothing in it during the crash - it stops at the last `tick` info.

Ah well, I tried. Great game, fun to play!

Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by Harkonnen »

Please attach savegame where it is easily reproducable.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by posila »

Game might hang in std::sleep_for when time changes. It is known issue.

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

Re: [0.15.27] Time/NTP issues causes crash

Post by kovarex »

posila wrote:Game might hang in std::sleep_for when time changes. It is known issue.
In that case, I have to classify it as won't fix. Sorry.

Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by Harkonnen »

I hope it's not sensitive to daylight saving when evaluated local clock goes an hour behind for everybody :)

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2631
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by steinio »

ikki wrote:This is not a Factorio problem, per se, but the fallout from it is unique to Factorio.

Background: Broken motherboard, can't keep time. Eventually starts going backwards. Vendor was initially replacing these motherboards as an RMA, no longer does, I'm cheap, whatever.

Issue: If my clock gets an hour behind, Factorio crashes. I noticed once it jumped over an hour behind, Factorio didn't notice, but when it hit two hours behind (on the nose), Factorio crashed.

I can understand if this doesn't get considered a bug, but since the crashing is not something I've seen before in an application due to my "drift" issue, I thought I'd report it.

Hope it helps.

Hey try to sync your pc time with a ntp server like every 5 minutes if possible,

My2cents steinio
Image

Transport Belt Repair Man

View unread Posts

henke37
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Mon Jul 18, 2016 5:43 pm
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by henke37 »

Harkonnen wrote:I hope it's not sensitive to daylight saving when evaluated local clock goes an hour behind for everybody :)
You mean some people who happen to use the same timezone and daylight savings rules. Some people don't use daylightssavings. And the changeover time isn't consistent. At a minimum, it doesn't happen at the same date for everyone.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.27] Time/NTP issues causes crash

Post by Rseding91 »

This is resolved for 0.16. In our update to the latest version of the Microsoft C++ compiler for 0.16 they fixed the bug in the sleep_for logic that caused this.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”