[1.1.109] Windows process pending when stopped via RCON

This subforum contains all the issues which we already resolved.
asdff45
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Aug 07, 2016 1:23 pm
Contact:

[1.1.109] Windows process pending when stopped via RCON

Post by asdff45 »

Hi,

we noticed that when we stop factorio on windows by sending `/quit` via RCON to the Server then it is not properly closed and a zombieprocess is still there. Furthermore the stdin/stdout in the console is closed correctly and i could run the next command.
When done within WSL the process is stopped correctly and the process finishes in the end.

Windows log (zombieprocess):

Code: Select all

   5.173 Quitting: remote-quit.
   5.173 Info MainLoop.cpp:446: Saving map as C:\Data\Development\GO\factorio-windows\saves/test3.zip
   5.216 Info MainLoop.cpp:457: Saving progress: 0.225225%
   5.218 Info MainLoop.cpp:457: Saving progress: 100.000000%
   5.239 Info ServerMultiplayerManager.cpp:127: Disconnecting multiplayer connection.
   5.239 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(InGame) to(DisconnectingScheduled)
   5.273 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(DisconnectingScheduled) to(Disconnecting)
   5.320 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(Disconnecting) to(Disconnected)
   5.320 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection.
   5.320 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(Disconnected) to(Closed)
WSL (ubuntu) Log (working):

Code: Select all

  14.641 Quitting: remote-quit.
  14.641 Info MainLoop.cpp:446: Saving map as /mnt/c/Data/Development/GO/factorio/saves/test3.zip
  15.275 Info MainLoop.cpp:457: Saving progress: 0.250000%
  15.284 Info MainLoop.cpp:457: Saving progress: 100.000000%
  15.303 Info ServerMultiplayerManager.cpp:127: Disconnecting multiplayer connection.
  15.303 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(InGame) to(DisconnectingScheduled)
  15.337 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(DisconnectingScheduled) to(Disconnecting)
  15.370 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(Disconnecting) to(Disconnected)
  15.372 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection.
  15.372 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(Disconnected) to(Closed)
  15.729 Info UDPSocket.cpp:233: Closing socket
  15.729 Info UDPSocket.cpp:263: Socket closed
  15.811 Goodbye
As you can see, somehow after the state was changed to "Closed", there is no further messages and it never calls "Goodbye". The only way to stop the process finally is by killing it in the Task-Manager.

Edit: Full Windows log in attachment.
Attachments
factorio-current.log
(3.6 KiB) Downloaded 17 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14461
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.109] Windows process pending when stopped via RCON

Post by Rseding91 »

Thanks for the report. I was able to reproduce this issue in 1.1 and was not able to reproduce it in 2.0. So it seems some part of the 2.0 work has fixed this.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”