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.
[0.15.27] Time/NTP issues causes crash
Re: [0.15.27] Time/NTP issues causes crash
Without providing the log of the crash, this is far from enough of info for us to know what is going on.
Re: [0.15.27] Time/NTP issues causes crash
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!
Ah well, I tried. Great game, fun to play!
Re: [0.15.27] Time/NTP issues causes crash
Please attach savegame where it is easily reproducable.
Re: [0.15.27] Time/NTP issues causes crash
Game might hang in std::sleep_for when time changes. It is known issue.
Re: [0.15.27] Time/NTP issues causes crash
In that case, I have to classify it as won't fix. Sorry.posila wrote:Game might hang in std::sleep_for when time changes. It is known issue.
Re: [0.15.27] Time/NTP issues causes crash
I hope it's not sensitive to daylight saving when evaluated local clock goes an hour behind for everybody
Re: [0.15.27] Time/NTP issues causes crash
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
Re: [0.15.27] Time/NTP issues causes crash
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.Harkonnen wrote:I hope it's not sensitive to daylight saving when evaluated local clock goes an hour behind for everybody
Re: [0.15.27] Time/NTP issues causes crash
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.