0.14.21 (headless) Server Crash

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
electricOzone
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jan 12, 2017 2:44 pm
Contact:

0.14.21 (headless) Server Crash

Post by electricOzone »

I'm seeing my headless server crash each time it loses connection to the Internet. This means I need to get in an restart it each time there is a blip. Is the the expected behavior, or have I found a bug? I'm available to help test and have attached the logs and save file.

Server Info:
Ubuntu 16.04.1 LTS (hosted on KVM running on Ubuntu 16.04.1 LTS)
4 vCPU
4 GB RAM
Attachments
vanillaServer.zip
(836.5 KiB) Downloaded 85 times
factorio-current.log
(6.15 KiB) Downloaded 90 times
Loewchen
Global Moderator
Global Moderator
Posts: 9125
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.14.21 (headless) Server Crash

Post by Loewchen »

Code: Select all

   0.000 2017-01-10 17:16:21; Factorio 0.14.21 (build 25327, linux64, headless)
   0.075 Operating system: Linux (Ubuntu 16.04)
   0.075 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server-load-latest" "--server-settings" "/opt/factorio/data/server-settings.json" 
   0.076 Read data path: /opt/factorio/data
   0.076 Write data path: /opt/factorio
   0.076 Binaries path: /opt/factorio/bin
   0.096 System info: [CPU: Intel Core Processor (Broadwell), 4 cores, RAM: 3951MB]
   0.096 Running in headless mode
   0.100 Loading mod core 0.0.0 (data.lua)
   0.107 Loading mod base 0.14.21 (data.lua)
   0.216 Checksum for core: 1291735968
   0.216 Checksum for mod base: 786624017
   0.667 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1484069453
   0.667 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.669 Custom inputs active: 0
   0.669 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=electricOzone&token=<private>&apiVersion=2
   1.337 0 packages available to download (experimental updates disabled).
   1.343 Factorio initialised
   1.345 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   1.345 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   1.346 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   1.346 Loading map /opt/factorio/saves/vanillaServer.zip
   1.382 Info Scenario.cpp:152: Map version 0.14.21-0
   1.475 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 1057114497
   1.476 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   1.476 Hosting game at 0.0.0.0:34197
   1.476 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
   1.831 Info HttpSharedState.cpp:111: Status code: 200
   1.832 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (SEFx0dVavd5K5zPpl5ZpuGXgF4PhOTYu) from the auth server.
   1.832 Info ServerMultiplayerManager.cpp:658: mapTick(3088) changing state from(CreatingGame) to(InGame)
   1.832 Info ServerRouter.cpp:604: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   1.968 Info UDPSocket.cpp:39: Opening socket for broadcast
   2.124 Info ServerRouter.cpp:497: Own address is XXX.XXX.XXX.XXX8:34197
   2.461 Info ServerMultiplayerManager.cpp:587: Matching server connection resumed
 150.749 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(XXX.XXX.XXX.XXX:36436)
 150.751 Refusing connection for address(XXX.XXX.XXX.XXX:36436). User verification is required for this game.
 150.886 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(XXX.XXX.XXX.XXX:55194)
 150.886 Info ServerRouter.cpp:413: Replying to connectionRequest for address(XXX.XXX.XXX.XXX:55194).
 150.887 Info ServerSynchronizer.cpp:524: nextHeartbeatSequenceNumber(4424) adding peer(1)
 150.904 Info ServerMultiplayerManager.cpp:658: mapTick(3088) changing state from(InGame) to(InGameSavingMap)
 150.921 Info ServerMultiplayerManager.cpp:742: mapTick(3088) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
 151.080 Info ServerMultiplayerManager.cpp:779: MapTick(3088) Serving map(/opt/factorio/temp/mp-save-0.zip) for peer(1) size(856216) crc(146265701)
 151.080 Info ServerMultiplayerManager.cpp:658: mapTick(3088) changing state from(InGameSavingMap) to(InGame)
 151.148 Info ServerMultiplayerManager.cpp:742: mapTick(3091) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
 152.081 Info ServerMultiplayerManager.cpp:742: mapTick(3147) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
 152.150 Info ServerMultiplayerManager.cpp:742: mapTick(3151) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
 152.286 Info ServerMultiplayerManager.cpp:742: mapTick(3159) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
 152.287 Info GameActionHandler.cpp:2556: MapTick(3159) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect)
 152.355 Info ServerMultiplayerManager.cpp:742: mapTick(3163) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
 186.637 Info ServerMultiplayerManager.cpp:822: Disconnect notification for peer (1)
 186.637 Info ServerMultiplayerManager.cpp:742: mapTick(5220) received stateChanged peerID(1) oldState(InGame) newState(DisconnectScheduled)
 186.637 Info ServerSynchronizer.cpp:539: nextHeartbeatSequenceNumber(5473) removing peer(1).
7291.648 code:28, 1c; Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
7291.648 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/857465
7291.648 Info HttpSharedState.cpp:111: Status code: 0
7291.648 Info MatchingServer.cpp:124: Failed to sendHeartbeat to the multiplayer matching server: Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
Factorio crashed. Generating symbolized stacktrace, please wait ...
7321.689 Warning Logger.cpp:365: Couldn't symbolize stacktrace: (resolving symbol failed: fread)

#0  0x00000000008597bd
#1  0x0000000000631e4b
#2  0x00000000006320e4
#3  0x00007f2d921614b0
#4  0x00007f2d92161428
#5  0x00007f2d9216302a
#6  0x00007f2d921a37ea
#7  0x00007f2d9224456c
#8  0x00007f2d9224446d
#9  0x00007f2d922443c9
#10 0x0000000000f60b69
#11 0x00007f2d92e31390
#12 0x00000000009995b0
#13 0x0000000000c84f35
#14 0x0000000000cfb3e3
#15 0x00007f2d9214c830
#16 0x0000000000406ca9
7321.706 Warning Logger.cpp:365: Couldn't symbolize stacktrace: (resolving symbol failed: fread)

--- Symbolized stacktrace ---
/tmp/factorio-tciaor/src/Util/Logger.cpp:391
/tmp/factorio-tciaor/src/Util/CrashHandler.cpp:105
/tmp/factorio-tciaor/src/Util/CrashHandler.cpp:235
??:0
??:0
??:0
??:0
??:0
??:0
??:0
hostip.c:?
??:0
/tmp/factorio-tciaor/src/Net/ServerMultiplayerManager.hpp:78
/tmp/factorio-tciaor/src/GlobalContext.cpp:972
/tmp/factorio-tciaor/src/MainLoop.cpp:307
??:0
??:?
-----------------------------

7321.706 Error CrashHandler.cpp:106: Map tick at moment of crash: 5221
7321.706 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14256
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: 0.14.21 (headless) Server Crash

Post by Rseding91 »

Does this still happen in 0.15? If so, can someone upload a crash log from 0.15 where the symbols show correctly in the trace?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”