Linux: Laptop freeze when exiting game after not saving [0.17.x]

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
bigbadweirdo
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Oct 23, 2019 11:59 pm
Contact:

Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by bigbadweirdo »

Hi,

I am using Ubuntu 18.04.3. I have experienced this issue since 0.16.x but it's starting to get annoying so I decided to make a bug report.

So basically, when I play either solo / multiplayer, if I quit the current game I'm in, without saving it first, and then exit Factorio, the game will crash my laptop into freezing, unable to do anything, not even able to switch to a different TTY. It's very consistent in happening every time when I didn't save the game first.

It's a bit annoying because sometimes I play with a friend online and we're just fooling around and then I exit the game and my laptop freezes and I have to give it a hard power-cycle.

Attached is log file. Let me know if you need more information.
Attachments
factorio-current.log
log file
(7.93 KiB) Downloaded 100 times

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3713
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by DaveMcW »

Does turning off Steam Cloud synchronization fix it?

bigbadweirdo
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Oct 23, 2019 11:59 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by bigbadweirdo »

Just turned it off, tried to make the game crash on exit but my laptop kept working. Workaround seems to work.

However, I'm not 100% sure what exactly causes the issue (but it definitely is related to me not saving the game), so there might be some steps to reproduce the issue which I didn't take in my quick tests just now.

bigbadweirdo
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Oct 23, 2019 11:59 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by bigbadweirdo »

Laptop also freezes when I start the game, disable a bunch of mods, and click confirm.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3713
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by DaveMcW »

Does turning off Steam Cloud synchronization fix it?

User avatar
thecatlover1996
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sun Sep 18, 2016 12:50 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by thecatlover1996 »

Sounds like an issue similar to viewtopic.php?f=35&t=54985 except for me the freezing seemingly happens in a random fashion (or at least, I haven't found a pattern yet)

bigbadweirdo
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Oct 23, 2019 11:59 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by bigbadweirdo »

Yea, I'm now also experiencing it when I did save the game.

I logged into my laptop with SSH after the freeze and took some strace -ff of the factorio executable. You can find the strace of all the factorio pid's attached.

It seems that factorio is crashing the nvidia driver somehow, because when I tried to do `nvidia-smi`, that process hangs without outputting anything.

Note: there is also a trace of pid 10141 but that one is completely empty and therefore I can't upload it.
Attachments
factorio.log.10149.txt
(44 Bytes) Downloaded 98 times
factorio.log.10153.txt
(84 Bytes) Downloaded 96 times
factorio.log.10154.txt
(19.83 KiB) Downloaded 91 times
factorio.log.10155.txt
(552.59 KiB) Downloaded 107 times
factorio.log.10156.txt
(302.73 KiB) Downloaded 104 times

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by Oxyd »

bigbadweirdo wrote:
Tue Oct 29, 2019 3:12 pm
Yea, I'm now also experiencing it when I did save the game.

I logged into my laptop with SSH after the freeze and took some strace -ff of the factorio executable. You can find the strace of all the factorio pid's attached.

It seems that factorio is crashing the nvidia driver somehow, because when I tried to do `nvidia-smi`, that process hangs without outputting anything.

Note: there is also a trace of pid 10141 but that one is completely empty and therefore I can't upload it.
Could be a bug in the NVidia driver, then. Could you try updating it and seeing if that fixes the issue?

bigbadweirdo
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Oct 23, 2019 11:59 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by bigbadweirdo »

I'm currently on 390.116 which is the current "official" version in Ubuntu 18.04 LTS.
I will do a manual install of the NVidia driver instead which will bring me to 430.50 and see what happens.

User avatar
thecatlover1996
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sun Sep 18, 2016 12:50 pm
Contact:

Re: Linux: Laptop freeze when exiting game after not saving [0.17.x]

Post by thecatlover1996 »

bigbadweirdo wrote:
Tue Oct 29, 2019 3:22 pm
I'm currently on 390.116 which is the current "official" version in Ubuntu 18.04 LTS.
I will do a manual install of the NVidia driver instead which will bring me to 430.50 and see what happens.
Any results so far? :)

Post Reply

Return to “Pending”