[0.15.16] [posila] server crash when exiting

This subforum contains all the issues which we already resolved.
TBog
Inserter
Inserter
Posts: 34
Joined: Tue Feb 03, 2015 3:15 pm
Contact:

[0.15.16] [posila] server crash when exiting

Post by TBog »

On Windows
1. start server
2. disconnect network
3. stop server (Ctrl+C)
4. crash
Log is attached
Attachments
crash.log
server log
(13.32 KiB) Downloaded 173 times
Loewchen
Global Moderator
Global Moderator
Posts: 9149
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.16] server crash when exiting

Post by Loewchen »

Code: Select all

   0.001 2017-05-29 22:11:45; Factorio 0.15.16 (build 30063, win64, alpha)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "bin/x64/factorio.exe" "--disable-audio" "--bind" "192.168.0.3" "--port" "1194" "--server-settings" "server-settings.json" "--start-server" "saves/26_april_2017.zip" 
   0.001 Read data path: c:/Games/Factorio_server/data
   0.002 Write data path: c:/Games/Factorio_server
   0.002 Binaries path: c:/Games/Factorio_server/bin
   0.012 System info: [CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 12 cores, RAM: 16279MB]
   0.012 Running in headless mode
   0.025 Loading mod core 0.0.0 (data.lua)
   0.039 Loading mod base 0.15.16 (data.lua)
   0.164 Loading mod base 0.15.16 (data-updates.lua)
   0.226 Checksum for core: 2224076952
   0.226 Checksum of base: 2355693671
   0.326 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1496084644
   0.326 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   0.330 Custom inputs active: 0
   0.332 Info Updater.cpp:751: Downloading https://updater.factorio.com/get-available-versions?username=TBog&token=<private>&apiVersion=2
   1.443 0 packages available to download (experimental updates enabled).
   1.447 Factorio initialised
   1.449 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   1.449 Info ServerMultiplayerManager.cpp:670: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   1.449 Info ServerMultiplayerManager.cpp:670: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   1.449 Loading map c:\Games\Factorio_server\saves\26_april_2017.zip: 5476201 bytes.
   1.498 Loading Level.dat: 12794274 bytes.
   1.504 Info Scenario.cpp:134: Map version 0.15.16-1
   1.911 Info BlueprintLibrary.cpp:190: Loaded library shelves:
   1.911 Info BlueprintLibrary.cpp:679: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1493160653; records:
   1.911 Info BlueprintLibrary.cpp:681: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1496032937; records:
   1.930 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1496085107; records:
   1.930 Loading script.dat: 190 bytes.
   1.932 Checksum for script c:/Games/Factorio_server/temp/currently-playing/control.lua: 282129324
   1.934 Info UDPSocket.cpp:27: Opening socket at (192.168.0.3:1194)
   1.935 Hosting game at 192.168.0.3:1194
   1.935 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
   2.599 Info HttpSharedState.cpp:111: Status code: 200
   2.599 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (Tjye1esBljId4sfTnW5vGBWIkKAktDFM) from the auth server.
   2.600 Info ServerMultiplayerManager.cpp:670: mapTick(6856325) changing state from(CreatingGame) to(InGame)
   2.600 Info ServerRouter.cpp:581: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   2.609 Info UDPSocket.cpp:39: Opening socket for broadcast
   2.950 Info ServerRouter.cpp:474: Own address is 95.76.145.116:1194
   3.633 Info ServerMultiplayerManager.cpp:599: Matching server connection resumed
 290.965 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(192.168.0.3:56971)
 290.965 Refusing connection for address (192.168.0.3:56971), username (TBog). UserVerificationMissing
 291.697 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(192.168.0.3:55359)
 291.703 Refusing connection for address (192.168.0.3:55359), username (TBog). PasswordMissing
 295.231 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(192.168.0.3:55360)
 295.232 Info ServerRouter.cpp:389: Replying to connectionRequest for address(192.168.0.3:55360).
 295.232 Info ServerSynchronizer.cpp:542: nextHeartbeatSequenceNumber(8785) adding peer(1)
 295.248 Info ServerMultiplayerManager.cpp:670: mapTick(6873881) changing state from(InGame) to(InGameSavingMap)
 295.264 Info ServerMultiplayerManager.cpp:754: mapTick(6873881) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
 295.773 Info ServerMultiplayerManager.cpp:808: MapTick(6873881) Serving map(c) for peer(1) size(5473685) crc(2394303280)
 295.773 Info ServerMultiplayerManager.cpp:670: mapTick(6873881) changing state from(InGameSavingMap) to(InGame)
 295.838 Info ServerMultiplayerManager.cpp:754: mapTick(6873888) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
 296.063 Info ServerMultiplayerManager.cpp:754: mapTick(6873902) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
 296.763 Info ServerMultiplayerManager.cpp:754: mapTick(6873944) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
 296.832 Info ServerMultiplayerManager.cpp:754: mapTick(6873948) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
 296.833 Info GameActionHandler.cpp:3236: MapTick (6873948) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect ) 
 296.902 Info ServerMultiplayerManager.cpp:754: mapTick(6873952) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
1702.867 Info ServerMultiplayerManager.cpp:854: Disconnect notification for peer (1)
1702.868 Info ServerMultiplayerManager.cpp:754: mapTick(6958214) received stateChanged peerID(1) oldState(InGame) newState(DisconnectScheduled)
1702.888 Info ServerSynchronizer.cpp:557: nextHeartbeatSequenceNumber(50525) removing peer(1).
2675.916 Error MainLoop.cpp:859: Exception at tick 7016569: Sendto (88.80.190.64:34197) failed (10049: The requested address is not valid in its context.

2675.917 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: "Sendto (88.80.190.64:34197) failed (10049: The requested address is not valid in its context.
"
2675.917 Info ServerMultiplayerManager.cpp:670: mapTick(7016569) changing state from(InGame) to(Failed)
2705.397 code:6, 6; Send failure: Connection was reset
2705.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2705.398 Info HttpSharedState.cpp:111: Status code: 0
2705.398 Info MatchingServer.cpp:144: Failed to sendHeartbeat to the multiplayer matching server: Send failure: Connection was reset
2717.908 code:6, 6; Could not resolve host: multiplayer.factorio.com
2717.908 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2717.908 Info HttpSharedState.cpp:111: Status code: 0
2735.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2735.398 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2735.398 Info HttpSharedState.cpp:111: Status code: 0
2747.907 code:6, 6; Could not resolve host: multiplayer.factorio.com
2747.907 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2747.908 Info HttpSharedState.cpp:111: Status code: 0
2765.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2765.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2765.397 Info HttpSharedState.cpp:111: Status code: 0
2777.906 code:6, 6; Could not resolve host: multiplayer.factorio.com
2777.906 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2777.907 Info HttpSharedState.cpp:111: Status code: 0
2795.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2795.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2795.398 Info HttpSharedState.cpp:111: Status code: 0
2807.907 code:6, 6; Could not resolve host: multiplayer.factorio.com
2807.907 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2807.907 Info HttpSharedState.cpp:111: Status code: 0
2825.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2825.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2825.398 Info HttpSharedState.cpp:111: Status code: 0
2837.907 code:6, 6; Could not resolve host: multiplayer.factorio.com
2837.907 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2837.908 Info HttpSharedState.cpp:111: Status code: 0
2855.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2855.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2855.397 Info HttpSharedState.cpp:111: Status code: 0
2867.906 code:6, 6; Could not resolve host: multiplayer.factorio.com
2867.906 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2867.907 Info HttpSharedState.cpp:111: Status code: 0
2885.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2885.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2885.398 Info HttpSharedState.cpp:111: Status code: 0
2897.907 code:6, 6; Could not resolve host: multiplayer.factorio.com
2897.907 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/update-game/2178304
2897.907 Info HttpSharedState.cpp:111: Status code: 0
2915.397 code:6, 6; Could not resolve host: multiplayer.factorio.com
2915.397 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/2178304
2915.398 Info HttpSharedState.cpp:111: Status code: 0
2989.385 Received SIGINT, shutting down
2989.389 Info MainLoop.cpp:251: Saving map as c:\Games\Factorio_server\saves\26_april_2017.zip
2995.119 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
2995.120 Info ServerMultiplayerManager.cpp:670: mapTick(-1) changing state from(Failed) to(Closed)
2995.121 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-zpys6c\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-zpys6c\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-zpys6c\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-zpys6c\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-zpys6c\src\util\crashhandler.cpp (235): 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 (269): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000014023B4E8)
000000014023B4E8 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077019D0D)
0000000077019D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770091AF)
00000000770091AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077041278)
0000000077041278 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xstring (1150): std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign
c:\cygwin64\tmp\factorio-zpys6c\src\http\httprequest.cpp (14): HttpRequest::HttpRequest
c:\cygwin64\tmp\factorio-zpys6c\src\http\http.hpp (24): Http::POST_JSON
c:\cygwin64\tmp\factorio-zpys6c\src\net\matchingserver.cpp (163): MatchingServer::sendRemoveGame
c:\cygwin64\tmp\factorio-zpys6c\src\net\servergameupdater.cpp (22): ServerGameUpdater::stop
c:\cygwin64\tmp\factorio-zpys6c\src\net\servermultiplayermanager.cpp (173): ServerMultiplayerManager::destroy
c:\cygwin64\tmp\factorio-zpys6c\src\net\servermultiplayermanager.cpp (148): ServerMultiplayerManager::quit
c:\cygwin64\tmp\factorio-zpys6c\src\net\servermultiplayermanager.cpp (69): ServerMultiplayerManager::~ServerMultiplayerManager
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FAEA3F4)
000000013FAEA3F4 (factorio): (filename not available): ServerMultiplayerManager::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-zpys6c\src\globalcontext.cpp (624): GlobalContext::clearResources
c:\cygwin64\tmp\factorio-zpys6c\src\globalcontext.cpp (677): GlobalContext::~GlobalContext
c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional (212): std::_Func_impl<<lambda_cadec6160b639ff89f8c5980b47dfdad>,std::allocator<int>,void>::_Do_call
c:\cygwin64\tmp\factorio-zpys6c\src\util\scopedcallback.hpp (26): ScopedCallback::~ScopedCallback
c:\cygwin64\tmp\factorio-zpys6c\src\main.cpp (615): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076EE652D)
0000000076EE652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007701C521)
000000007701C521 (ntdll): (filename not available): RtlUserThreadStart
2998.090 Error Util.cpp:80: 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.
posila
Factorio Staff
Factorio Staff
Posts: 5348
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.16] [posila] server crash when exiting

Post by posila »

Thanks for the report.
I was not able to reproduce the crash, but I can see why it crashed in this particular case, so that is fixed for 0.15.17
Post Reply

Return to “Resolved Problems and Bugs”