[0.14.14][posila] Freeze on exit after long play sessions

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
jonatkins
Fast Inserter
Fast Inserter
Posts: 155
Joined: Wed Sep 30, 2015 7:29 pm
Contact:

[0.14.14][posila] Freeze on exit after long play sessions

Post by jonatkins »

A couple of times now, since 0.14.14, I've had Factorio freeze when quitting to desktop. Once this happens, I need to kill the process to close the game.

In both cases, it's been after 2+ hours of play. I can't reproduce the issue just by loading the save game and quitting immediately.

When it freezes the 'Exit' button is left highlighted in orange. There's nothing in the log file to give any hints at all.

Running on windows 7, 64 bit version.


I know this bug report is pretty useless, but perhaps someone else has seen it too and can reproduce it?

Fraiser
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jul 05, 2016 2:32 am
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by Fraiser »

I have also encountered this problem once before. It was after a very long play session as well.
I am on Win8.1 x64

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by fishycat »

Happened to me several times after installing mods from ingame-modportal after clicking back. Then it freezes and I have to quit it manually via task manager. But then it restarts automatically as usual. Just now it happened after I was beginning a new map, saved it and clicked exit then freeze again.

I´m on factorio x64 0.14.14 and win10

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

Re: [0.14.14] Freeze on exit after long play sessions

Post by Rseding91 »

Are you using the steam version of the standalone version?
If you want to get ahold of me I'm almost always on Discord.

jonatkins
Fast Inserter
Fast Inserter
Posts: 155
Joined: Wed Sep 30, 2015 7:29 pm
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by jonatkins »

Standalone - zip version in this case.

Hadn't seen this issue before 0.14.14 - seems to be something new.

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by fishycat »

I´m also on zip-version.

Rythe
Long Handed Inserter
Long Handed Inserter
Posts: 97
Joined: Sat Jul 18, 2015 3:25 am
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by Rythe »

Win 7 64bit, and had the same issue. Long play session, and the game hanged on closing so I had to kill the process.

Standalone version too, but otherwise, just more of a pretty useless bug report.

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

Re: [0.14.14] Freeze on exit after long play sessions

Post by posila »

Hi, there was a similar bug report a couple of weeks ago: viewtopic.php?t=33639

If it freezes again, before you kill it, could you please download Process Explorer https://technet.microsoft.com/en-us/sys ... lorer.aspx and use it to create minidump of Factorio process when it is frozen?
Just find Factorio process in Process Explorer, right click it, select Create Dump and then Create minidump. Save the .dmp file, zip it and upload it here, please.

jonatkins
Fast Inserter
Fast Inserter
Posts: 155
Joined: Wed Sep 30, 2015 7:29 pm
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by jonatkins »

Remember I said it couldn't be reproduced from a quick load save and immediately exit? Well, I just tried it again as I had a few minutes spare and this time it did freeze!

Minidump attached, as requested. Let me know if you'd like the save game + mods in use, and/or the full dump.
Attachments
factorio-minidump.zip
(1012.39 KiB) Downloaded 113 times

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: [0.14.14] Freeze on exit after long play sessions

Post by fishycat »

Just happened to freeze again. I attached my minidump, hope it helps.
Attachments
factorio.zip
factorio minidump
(1.56 MiB) Downloaded 103 times

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

Re: [0.14.14] Freeze on exit after long play sessions

Post by posila »

Thanks for the minidumps. It is definitely related to viewtopic.php?t=33639
I am not sure if it is caused by my attempt to fix the previous issue, or if it is the previous issue just few lines after my fix.

jonatkins
Fast Inserter
Fast Inserter
Posts: 155
Joined: Wed Sep 30, 2015 7:29 pm
Contact:

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by jonatkins »

FYI, I had a bit of a look at the dump in visual studio - and a bit of googling on the labels in the stack found this issue: https://github.com/liballeg/allegro5/issues/664 (Maybe you've already seen it, but just in case you hadn't...)

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

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by posila »

I added logging to DirectSound code. Please post new logs when it happens on 0.14.16.

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by fishycat »

Quick feedback from me: since 0.14.16 no more problems. No matter what I tried that before would lead to a freeze, now just does what it should. Thanks for the quick fix!

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

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by posila »

B... b... b... but we didn't fix anything. We just added some debug logs :(
Can you send me your factorio-current.log and factorio-previous.log? Thanks :)

User avatar
fishycat
Filter Inserter
Filter Inserter
Posts: 309
Joined: Thu Apr 09, 2015 7:38 pm
Contact:

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by fishycat »

Then this must be a miracle. :D

ok, here are the logs...
Attachments
factorio-previous.log
(13.48 KiB) Downloaded 107 times
factorio-current.log
(7.22 KiB) Downloaded 102 times

jonatkins
Fast Inserter
Fast Inserter
Posts: 155
Joined: Wed Sep 30, 2015 7:29 pm
Contact:

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by jonatkins »

Ditto on not being able to reproduce the issue in 0.14.16/17, despite several attempts with repeated restarts and a few long play sessions.

Logs are the same as above when it comes to the ordering of the DSound log messages.

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by Smarty »

fishycat wrote:Then this must be a miracle. :D

ok, here are the logs...
miracle?
No
Magic

1/0 magic

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

Re: [0.14.14][posila] Freeze on exit after long play sessions

Post by posila »

Thanks. It seems to be threading issue. Adding log ouputs changed timing of thing happening in threads so it works :/

Post Reply

Return to “1 / 0 magic”