sometimes "when I click with the mouse on Quit in the main menu", (seriously? I cant find this with search, but this sentence exists in "how to post a bug report"??) factorio does still run in background and uses huge amounts of CPU time. I've seen this in 0.14.23 too, its not new but it still exists.
If that happens i have to use Taskmanager to kill it, otherwise it will stay there forever.
I guess this is the logfile with the correct date/time.
Re: [0.1x.x] Factorio doesnt close correctly
Posted: Wed May 03, 2017 7:39 am
by Anyone
Actually now that you mention it, I've had this too yesterday or 2 days ago. Steam was complaining that the game was already running (though not much CPU usage, just memory). Had to kill the process to start it up again.
Re: [0.1x.x] Factorio doesnt close correctly
Posted: Wed May 03, 2017 6:28 pm
by Distelzombie
Just had this error again. This time it was because I changed the active mods. Now Im absolutely sure they are the correct logs.
At the time between both instances there were two threads running. One, the old, with 75% CPU and the new one with 0%.
New one got either called by the mod change or by myself because i got impatient cause the new instance didnt appear. I got an error that it is already running after double clicking the shortcut on desktop. I guess the thread used to determin if it is running was the new one, called by factorio itself after the modchange.
Re: [0.1x.x] Factorio doesnt close correctly
Posted: Wed May 03, 2017 7:34 pm
by StoneLegion
I had this issue ages ago I forgot how I fixed it but I recently formatted and don't have this issue now but also had it before. I think a dev back then told me why it happen but might been a diff issue then. It was like the method of how I was closing it.
Re: [0.1x.x] Factorio doesnt close correctly
Posted: Wed May 03, 2017 9:35 pm
by Distelzombie
Well, how many different methods of "closing the program" are there? I know two: Simply clicking the close button and changing the mods. Both are causing this problem here.
Obviously killing the task in taskmanager is another one, but it cant cause this issue.
Re: [0.15.6] Factorio doesnt close correctly
Posted: Thu May 04, 2017 1:14 pm
by kovarex
Isn't it because steam is syncing the saves? Does it still happen when you turn the syncing on, or when you play off steam?
Re: [0.15.6] Factorio doesnt close correctly
Posted: Thu May 04, 2017 3:51 pm
by daniel34
kovarex wrote:Isn't it because steam is syncing the saves? Does it still happen when you turn the syncing on, or when you play off steam?
AFAIK Steam only starts to sync once the game process (factorio.exe) exited, so that shouldn't be the cause as OP mentioned the process is still there and has to be terminated using the task manager.
Re: [0.15.x] Factorio doesnt close correctly
Posted: Sat May 06, 2017 8:28 pm
by Distelzombie
Yes, the process is still there and uses all my CPU power - if the problem happens when I close the game normally.
If I change the mods and this problem occurs, there are two processes at the same time. The old one uses 75% CPU and the new one 0%. I guess the old one is using three of my four cores and the new one got allocated to the fourth.
Steam syncing is activated.
EDIT: Moderators, this is not a new problem nor is it limited to a certain version number. Please dont change the title.
Re: [0.15.x] Factorio doesnt close correctly
Posted: Sat May 06, 2017 8:36 pm
by Rseding91
I can't reproduce this in any way.
Can you upload a list of all your running processes when it happens? I suspect there's some external software that's causing the problems because you're using the same binary as everyone else yet the vast majority don't seem to be having any problems.
Re: [0.15.x] Factorio doesnt close correctly
Posted: Sat May 06, 2017 8:56 pm
by Distelzombie
Ok I tried to reproduce this error. Apperently I have to load a map first. It didnt work when I just started and exited the program or when I just changed mods over and over.
Also I was wrong: The process raises from 75% to about 100% even when changeing mods.
Systeminformation
Betriebsystemname Microsoft Windows 10 Pro
Version 10.0.14393 Build 14393
Weitere Betriebsystembeschreibung Nicht verfügbar
Betriebsystemhersteller Microsoft Corporation
Systemname CHAOSCOMPUTER
Systemhersteller MEDION
Systemmodell P6630
Systemtyp x64-basierter PC
System-SKU To be filled by O.E.M.
Prozessor Intel(R) Core(TM) i3 CPU M 390 @ 2.67GHz, 2660 MHz, 2 Kern(e), 4 logische(r) Prozessor(en)
BIOS-Version/-Datum American Megatrends Inc. 0.10, 18.02.2011
SMBIOS-Version 2.6
Version des eingebetteten Controllers 255.255
BIOS-Modus Vorgängerversion
Hauptplatinenhersteller MEDION
Hauptplatinenmodell Nicht verfügbar
Hauptplatinenname Hauptplatine
Plattformrolle Mobil
Sicherer Startzustand Nicht unterstützt
PCR7-Konfiguration Bindung nicht möglich
Windows-Verzeichnis C:\Windows
Systemverzeichnis C:\Windows\system32
Startgerät \Device\HarddiskVolume1
Gebietsschema Deutschland
Hardwareabstraktionsebene Version = "10.0.14393.206"
Benutzername CHAOSCOMPUTER\Chaosuser
Zeitzone Mitteleuropäische Sommerzeit
Installierter physischer Speicher (RAM) 8,00 GB
Gesamter physischer Speicher 7,80 GB
Verfügbarer physischer Speicher 4,57 GB
Gesamter virtueller Speicher 8,80 GB
Verfügbarer virtueller Speicher 5,44 GB
Größe der Auslagerungsdatei 1,00 GB
Auslagerungsdatei C:\pagefile.sys
Hyper-V - VM-Monitormoduserweiterungen Ja
Hyper-V - SLAT-Erweiterungen (Second Level Address Translation) Ja
Hyper-V - Virtualisierung in Firmware aktiviert Ja
Hyper-V - Datenausführungsverhinderung Ja
processes
closing error1.png (151.32 KiB) Viewed 5708 times
closing error2.png (163.5 KiB) Viewed 5708 times
closing error3.png (156.38 KiB) Viewed 5708 times
Re: [0.15.x] Factorio doesnt close correctly
Posted: Tue May 30, 2017 11:47 am
by posila
Hi, does it still happen in 0.15.16? Can you please make a full memory dump of Factorio process when that happens, zip it and upload it here?
Re: [0.15.x] Factorio doesnt close correctly
Posted: Tue May 30, 2017 4:11 pm
by Distelzombie
posila wrote:Hi, does it still happen in 0.15.16? Can you please make a full memory dump of Factorio process when that happens, zip it and upload it here?
How do I do that? With a Hex editor reading the RAM directly? xD
Re: [0.15.x] Factorio doesnt close correctly
Posted: Tue May 30, 2017 5:51 pm
by posila
Distelzombie wrote:How do I do that? With a Hex editor reading the RAM directly? xD
Ah, sorry . Right click Factorio process in Process Explorer, select Create Dump and then Create full dump.
Re: [0.15.x] Factorio doesnt close correctly
Posted: Tue May 30, 2017 6:47 pm
by Distelzombie
Ok, Took a while to get it to break. Didnt do anything special. Just start the game, load a save, quit and change mods - repeatedly.
The dump is 376MB big, so... took a while to find a way to share it. Fortunately my upload speed is quite high.
This is the only kind of dump I can make. There was no option for a "full dump". Judging by the size it is quite full anyway.
Does this still happen in the latest version of 0.15? (we haven't changed anything around it so I don't know why it wouldn't) If so, does it happen on any other computer(s) you have?
As someone else mentioned: it may be graphics driver related - have you tried updating your graphics driver?