[HanziQ] [14.8] Crash of server on: " Train::tryReserveSignalsUpTo"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
bor
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Sep 22, 2016 4:53 pm
Contact:

[HanziQ] [14.8] Crash of server on: " Train::tryReserveSignalsUpTo"

Post by bor »

hello,
we have a headless server. the server crashed... i saved the map locally (from the disconnected server menu).
then i uploaded the save on the server and i can reproduce the crash on every attempt to join the server with this save.
save file and crash log attached.
Attachments
dylan_L.zip
(26.89 MiB) Downloaded 76 times
factorio-current.log
(2.32 MiB) Downloaded 80 times

Loewchen
Global Moderator
Global Moderator
Posts: 8321
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [14.8] Crash of server on: " Train::tryReserveSignalsUpTo"

Post by Loewchen »

Code: Select all

   0.001 2016-09-22 13:06:32; Factorio 0.14.8 (build 24767, win64, alpha)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "factorio" "--start-server" "dylan.zip" "--autosave-interval" "10" "--afk-autokick-interval" "10" "--allow-commands" "admin-only" "--rcon-password" "159753" "--rcon-port" "1254" "--server-settings" "server-settings.json" 
   0.001 Read data path: C:/w/factorio/Factorio_0.14.8/data
   0.001 Write data path: C:/w/factorio/Factorio_0.14.8
   0.001 Binaries path: C:/w/factorio/Factorio_0.14.8/bin
   0.012 System info: [CPU:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 6 cores, RAM: 8191MB]
   0.012 Running in headless mode
   0.015 Loading mod core 0.0.0 (data.lua)
   0.019 Loading mod base 0.14.8 (data.lua)
   0.106 Checksum for core: 1620335853
   0.106 Checksum for mod base: 1378211439
   0.407 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1474574777
   0.407 Info PlayerData.cpp:52: Cloud player-data.json unavailable
   0.414 Custom inputs active: 0
   0.414 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=bor&token=<private>&apiVersion=2
   1.381 0 packages available to download (experimental updates disabled).
   1.388 Factorio initialised
   1.390 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   1.391 Info ServerMultiplayerManager.cpp:637: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   1.391 Info ServerMultiplayerManager.cpp:637: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   1.392 Loading map C:\w\factorio\Factorio_0.14.8\bin\x64\dylan.zip
   1.434 Info Scenario.cpp:148: Map version 0.14.8-1
   3.598 Checksum for script C:/w/factorio/Factorio_0.14.8/temp/currently-playing/control.lua: 900459546
   3.627 Info WindowsUDPSocket.cpp:61: Opening socket at port (34197)
   3.628 Hosting game at port 34197
   3.628 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
   4.085 Info HttpSharedState.cpp:108: Status code: 200
   4.086 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (6WWx9o4z4mmJemc0c9sopAnOb7uyr4sz) from the auth server.
   4.086 Info ServerMultiplayerManager.cpp:637: mapTick(9504001) changing state from(CreatingGame) to(InGame)
   4.087 Info ServerRouter.cpp:590: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   4.088 Info RemoteCommandProcessor.cpp:97: Starting RCON interface at port 1254
   4.121 Info ServerRouter.cpp:503: Own address is 144.76.79.25:34197
   4.592 Info ServerMultiplayerManager.cpp:566: Matching server connection resumed
  12.006 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(86.174.236.91:51199)
  12.007 Refusing connection for address(86.174.236.91:51199). User verification is required for this game.
  12.728 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(86.174.236.91:62689)
  12.732 Refusing connection for address(86.174.236.91:62689). Unknown key:"password-missing"
  17.516 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(86.174.236.91:62692)
  17.517 Info ServerRouter.cpp:420: Replying to connectionRequest for address(86.174.236.91:62692).
  17.517 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(0) adding peer(1)
  17.534 Info ServerMultiplayerManager.cpp:637: mapTick(9504001) changing state from(InGame) to(InGameSavingMap)
  17.584 Info ServerMultiplayerManager.cpp:721: mapTick(9504001) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
  22.836 Info ServerMultiplayerManager.cpp:757: MapTick(9504001) Serving map(C) for peer(1) size(25221703) crc(3472272092)
  22.836 Info ServerMultiplayerManager.cpp:637: mapTick(9504001) changing state from(InGameSavingMap) to(InGame)
  22.908 Info ServerMultiplayerManager.cpp:721: mapTick(9504009) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  27.650 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:56405)
  27.651 Refusing connection for address(109.203.24.172:56405). User verification is required for this game.
  28.378 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:59433)
  28.379 Refusing connection for address(109.203.24.172:59433). Unknown key:"password-missing"
  31.148 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:59436)
  31.149 Info ServerRouter.cpp:420: Replying to connectionRequest for address(109.203.24.172:59436).
  31.149 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(341) adding peer(2)
  31.157 Info ServerMultiplayerManager.cpp:637: mapTick(9504481) changing state from(InGame) to(InGameSavingMap)
  31.237 Info ServerMultiplayerManager.cpp:721: mapTick(9504481) received stateChanged peerID(2) oldState(Ready) newState(ConnectedWaitingForMap)
  32.070 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(46.224.94.164:64290)
  32.071 Refusing connection for address(46.224.94.164:64290). User verification is required for this game.
  33.093 Info ServerMultiplayerManager.cpp:757: MapTick(9504481) Serving map(C) for peer(2) size(25149633) crc(250385166)
  33.105 Info ServerMultiplayerManager.cpp:637: mapTick(9504481) changing state from(InGameSavingMap) to(InGame)
  33.162 Info ServerMultiplayerManager.cpp:721: mapTick(9504482) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  33.246 Info ServerMultiplayerManager.cpp:721: mapTick(9504484) received stateChanged peerID(2) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  34.188 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(46.224.94.164:64293)
  34.189 Refusing connection for address(46.224.94.164:64293). Unknown key:"password-missing"
  34.241 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(46.224.94.164:64293)
  34.310 Refusing connection for address(46.224.94.164:64293). Unknown key:"password-missing"
  36.204 Info ServerMultiplayerManager.cpp:721: mapTick(9504590) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  37.723 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(46.224.94.164:64296)
  37.724 Info ServerRouter.cpp:420: Replying to connectionRequest for address(46.224.94.164:64296).
  37.724 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(483) adding peer(3)
  37.747 Info ServerMultiplayerManager.cpp:637: mapTick(9504683) changing state from(InGame) to(InGameSavingMap)
  37.924 Info ServerMultiplayerManager.cpp:721: mapTick(9504683) received stateChanged peerID(3) oldState(Ready) newState(ConnectedWaitingForMap)
  39.805 Info ServerMultiplayerManager.cpp:721: mapTick(9504683) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
  40.012 Info ServerMultiplayerManager.cpp:721: mapTick(9504683) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
  40.691 Info ServerMultiplayerManager.cpp:757: MapTick(9504683) Serving map(C) for peer(3) size(25099605) crc(2053348284)
  40.692 Info ServerMultiplayerManager.cpp:637: mapTick(9504683) changing state from(InGameSavingMap) to(InGame)
  40.693 Info GameActionHandler.cpp:2546: MapTick(9504683) processed PlayerJoinGame peerID(1) playerIndex(38) mode(connect)
  41.320 Info ServerMultiplayerManager.cpp:721: mapTick(9504701) received stateChanged peerID(3) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  60.828 Info ServerMultiplayerManager.cpp:799: Disconnect notification for peer (2)
  60.829 Info ServerSynchronizer.cpp:527: nextHeartbeatSequenceNumber(1102) removing peer(2).
  72.786 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(68.115.94.206:59832)
  72.786 Refusing connection for address(68.115.94.206:59832). User verification is required for this game.
  73.490 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(68.115.94.206:56788)
  73.491 Refusing connection for address(68.115.94.206:56788). Unknown key:"password-missing"
  78.357 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(68.115.94.206:56791)
  78.358 Info ServerRouter.cpp:420: Replying to connectionRequest for address(68.115.94.206:56791).
  78.358 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(1608) adding peer(4)
  78.382 Info ServerMultiplayerManager.cpp:637: mapTick(9506867) changing state from(InGame) to(InGameSavingMap)
  78.529 Info ServerMultiplayerManager.cpp:721: mapTick(9506867) received stateChanged peerID(4) oldState(Ready) newState(ConnectedWaitingForMap)
  80.762 Info ServerMultiplayerManager.cpp:757: MapTick(9506867) Serving map(C) for peer(4) size(25241760) crc(3619546793)
  80.763 Info ServerMultiplayerManager.cpp:637: mapTick(9506867) changing state from(InGameSavingMap) to(InGame)
  81.043 Info ServerMultiplayerManager.cpp:721: mapTick(9506881) received stateChanged peerID(4) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  97.918 Info ServerMultiplayerManager.cpp:721: mapTick(9507802) received stateChanged peerID(4) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  98.954 Info ServerRouter.cpp:242: Received message type(TransferBlockRequest) blockNumber(20267)  from unknown address(109.203.24.172:59436), so the peer id can't be deduced.
...
7928.215 Info ServerRouter.cpp:242: Received message type(RequestForHeartbeatWhenDisconnecting)  from unknown address(109.203.24.172:50709), so the peer id can't be deduced.
8028.091 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:54745)
8028.092 Refusing connection for address(109.203.24.172:54745). User verification is required for this game.
8028.952 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:63225)
8028.953 Refusing connection for address(109.203.24.172:63225). Unknown key:"password-missing"
8039.885 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(109.203.24.172:63228)
8039.886 Info ServerRouter.cpp:420: Replying to connectionRequest for address(109.203.24.172:63228).
8039.886 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(226905) adding peer(10)
8039.898 Info ServerMultiplayerManager.cpp:637: mapTick(9977794) changing state from(InGame) to(InGameSavingMap)
8039.962 Info ServerMultiplayerManager.cpp:721: mapTick(9977794) received stateChanged peerID(10) oldState(Ready) newState(ConnectedWaitingForMap)
8042.803 Info ServerMultiplayerManager.cpp:757: MapTick(9977794) Serving map(C) for peer(10) size(26094788) crc(3329203862)
8042.804 Info ServerMultiplayerManager.cpp:637: mapTick(9977794) changing state from(InGameSavingMap) to(InGame)
8043.067 Info ServerMultiplayerManager.cpp:721: mapTick(9977804) received stateChanged peerID(10) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
8056.689 Info ServerMultiplayerManager.cpp:721: mapTick(9978565) received stateChanged peerID(10) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
8060.092 Info ServerMultiplayerManager.cpp:721: mapTick(9978769) received stateChanged peerID(10) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
8076.615 Info ServerMultiplayerManager.cpp:721: mapTick(9979760) received stateChanged peerID(10) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
8076.616 Info GameActionHandler.cpp:2546: MapTick(9979760) processed PlayerJoinGame peerID(10) playerIndex(44) mode(connect)
8076.711 Info ServerMultiplayerManager.cpp:721: mapTick(9979766) received stateChanged peerID(10) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
10081.758 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(79.204.24.185:49904)
10081.758 Refusing connection for address(79.204.24.185:49904). User verification is required for this game.
10082.400 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(79.204.24.185:65261)
10082.401 Refusing connection for address(79.204.24.185:65261). Unknown key:"password-missing"
10858.140 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(188.192.36.162:52331)
10858.140 Refusing connection for address(188.192.36.162:52331). User verification is required for this game.
10858.798 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(188.192.36.162:64140)
10858.799 Refusing connection for address(188.192.36.162:64140). Unknown key:"password-missing"
10863.128 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(188.192.36.162:64143)
10863.128 Info ServerRouter.cpp:420: Replying to connectionRequest for address(188.192.36.162:64143).
10863.129 Info ServerSynchronizer.cpp:512: nextHeartbeatSequenceNumber(306793) adding peer(11)
10863.152 Info ServerMultiplayerManager.cpp:637: mapTick(10145564) changing state from(InGame) to(InGameSavingMap)
10863.200 Info ServerMultiplayerManager.cpp:721: mapTick(10145564) received stateChanged peerID(11) oldState(Ready) newState(ConnectedWaitingForMap)
10869.997 Info ServerMultiplayerManager.cpp:757: MapTick(10145564) Serving map(C) for peer(11) size(27237227) crc(221616874)
10869.998 Info ServerMultiplayerManager.cpp:637: mapTick(10145564) changing state from(InGameSavingMap) to(InGame)
10870.091 Info ServerMultiplayerManager.cpp:721: mapTick(10145574) received stateChanged peerID(11) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
10876.626 Info ServerMultiplayerManager.cpp:721: mapTick(10145959) received stateChanged peerID(11) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
10878.827 Info ServerMultiplayerManager.cpp:721: mapTick(10146091) received stateChanged peerID(11) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
10880.426 Info ServerMultiplayerManager.cpp:721: mapTick(10146187) received stateChanged peerID(11) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
10880.427 Info GameActionHandler.cpp:2546: MapTick(10146187) processed PlayerJoinGame peerID(11) playerIndex(110) mode(connect)
10880.492 Info ServerMultiplayerManager.cpp:721: mapTick(10146191) received stateChanged peerID(11) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
12201.068 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(85.68.241.141:54920)
12201.069 Refusing connection for address(85.68.241.141:54920). User verification is required for this game.
12201.586 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(85.68.241.141:53116)
12201.587 Refusing connection for address(85.68.241.141:53116). Unknown key:"password-missing"
12378.932 Info ServerMultiplayerManager.cpp:799: Disconnect notification for peer (1)
12378.932 Info ServerMultiplayerManager.cpp:721: mapTick(10234913) received stateChanged peerID(1) oldState(InGame) newState(DisconnectScheduled)
12378.933 Info ServerSynchronizer.cpp:527: nextHeartbeatSequenceNumber(348829) removing peer(1).
13201.737 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-hf85yj\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-hf85yj\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-hf85yj\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-hf85yj\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-hf85yj\src\util\crashhandler.cpp (233): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (273): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000001404B5934)
00000001404B5934 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076ED9D0D)
0000000076ED9D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EC91AF)
0000000076EC91AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076F01278)
0000000076F01278 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-hf85yj\src\rail\train.cpp (1559): Train::tryReserveSignalsUpTo
c:\cygwin64\tmp\factorio-hf85yj\src\rail\train.cpp (864): Train::update
c:\cygwin64\tmp\factorio-hf85yj\src\rail\trainmanager.cpp (172): TrainManager::update
c:\cygwin64\tmp\factorio-hf85yj\src\map\map.cpp (1122): Map::update
c:\cygwin64\tmp\factorio-hf85yj\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-hf85yj\src\scenario\scenario.cpp (835): Scenario::update
c:\cygwin64\tmp\factorio-hf85yj\src\mainloop.cpp (722): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-hf85yj\src\mainloop.cpp (592): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-hf85yj\src\mainloop.cpp (282): MainLoop::mainLoopStepHeadless
c:\cygwin64\tmp\factorio-hf85yj\src\mainloop.cpp (186): MainLoop::run
c:\cygwin64\tmp\factorio-hf85yj\src\main.cpp (472): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DA652D)
0000000076DA652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EDC521)
0000000076EDC521 (ntdll): (filename not available): RtlUserThreadStart
13224.652 Error CrashHandler.cpp:106: Map tick at moment of crash: 10284004
13224.653 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.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [HanziQ] [14.8] Crash of server on: " Train::tryReserveSignalsUpTo"

Post by HanziQ »

Would you happen to have a save from before the crash, that still reproduces the issue? It's already in a broken state and I don't know what could've caused this, it might have something to do with our previous fixes around 14.8.

Post Reply

Return to “Pending”