[0.15.2] headless - server crash after player logout

Things that has been reported already before.
Post Reply
JoeWhizer
Inserter
Inserter
Posts: 40
Joined: Thu Dec 29, 2016 4:42 pm
Contact:

[0.15.2] headless - server crash after player logout

Post by JoeWhizer »

Hey,

my server crashed after I've logged out from the game. Running on Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-72-generic x86_64)
I tried to re-produce it, but it seems infrequent. No mods are installed.

The map is new and was created with 0.15.0 by using the --create command on the server console with default settings.
45223.143 Info ServerMultiplayerManager.cpp:846: Disconnect notification for peer (3)
45223.143 Info ServerMultiplayerManager.cpp:747: mapTick(1404064) received stateChanged peerID(3) oldState(InGame) newState(DisconnectScheduled)
45223.160 Info ServerSynchronizer.cpp:537: nextHeartbeatSequenceNumber(1336488) removing peer(3).
Factorio crashed. Generating symbolized stacktrace, please wait ...
50331.047 Warning Logger.cpp:386: Symbols.size() == 18, usedSize == 8
#0 0x0000000000a918fd in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-vkXRRs/src/Util/Logger.cpp:408
#1 0x0000000000bbe779 in NetworkModStartupSetting::NetworkModStartupSetting(Deserialiser&) at /tmp/factorio-vkXRRs/src/Net/NetworkMessages.cpp:78
#2 0x0000000000dd31bc in load at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:67
#3 0x0000000000dd3e26 in load at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:98
#4 0x0000000000dd5141 in operator>><std::vector<NetworkModStartupSetting> > at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:178
#5 0x0000000000e8f553 in ConnectionRequestReplyConfirmMessage::ConnectionRequestReplyConfirmMessage(Deserialiser&, ServerRouter const*) at /tmp/factorio-vkXRRs/src/Net/NetworkMessages.cpp:201
#6 0x00007fb17d508830 in parse<ConnectionRequestReplyConfirmMessage, ServerRouter*> at /tmp/factorio-vkXRRs/src/Net/UnparsedNetworkMessage.hpp:33
#7 0x0000000000406d69 in update at /tmp/factorio-vkXRRs/src/Net/ServerRouter.cpp:116
50331.706 Warning Logger.cpp:386: Symbols.size() == 17, usedSize == 7
50331.706 Error NetworkMessages.cpp:78: Loaded setting is nullptr.
Logger::writeStacktrace skipped.
50331.706 Error CrashHandler.cpp:106: Map tick at moment of crash: 1404066
Attachments
_autosave5.zip
(4.31 MiB) Downloaded 52 times
factorio-previous.log
(11.38 KiB) Downloaded 50 times

dirkmb
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 24, 2016 6:29 pm
Contact:

[0.15.2] Headless Server crashs after login

Post by dirkmb »

Merged with existing Bug report --daniel34

Server crashes when I want to join a server two friends playing on. They both use the steam version, I use the binary from your Webseite.
When I use the steam version it works!

Hosting a game with the binary from your website and let another one join using the same binarys is working.

Hope I could help you ;)

Here the server log:

Code: Select all

bin/x64/factorio --start-server saves/velorin.zip 
   0.000 2017-04-26 22:12:00; Factorio 0.15.2 (build 29124, linux64, headless)
   0.033 Operating system: Linux (Debian 8.7)
   0.033 Program arguments: "bin/x64/factorio" "--start-server" "saves/velorin.zip" 
   0.033 Read data path: /usr/server/factorio/data
   0.033 Write data path: /usr/server/factorio
   0.033 Binaries path: /usr/server/factorio/bin
   0.043 System info: [CPU: Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz, 16 cores, RAM: 24150MB]
   0.043 Running in headless mode
   0.048 Loading mod core 0.0.0 (data.lua)
   0.055 Loading mod base 0.15.2 (data.lua)
   0.187 Loading mod base 0.15.2 (data-updates.lua)
   0.304 Checksum for core: 530912544
   0.304 Checksum of base: 83206502
   0.458 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493237467
   0.458 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.459 Custom inputs active: 0
   0.460 Factorio initialised
   0.460 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.460 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.460 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.460 Loading map /usr/server/factorio/saves/velorin.zip: 4604491 bytes.
   0.462 Error FileUtil.cpp:291: Can't remove /usr/server/factorio/temp/currently-playing: No such file or directory
   0.479 Loading Level.dat: 9738826 bytes.
   0.487 Info Scenario.cpp:133: Map version 0.15.2-0
   0.854 Loading script.dat: 190 bytes.
   0.856 Checksum for script /usr/server/factorio/temp/currently-playing/control.lua: 2433440189
   0.861 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   0.862 Hosting game at 0.0.0.0:34197
   0.862 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
   1.838 Info HttpSharedState.cpp:111: Status code: 200
   1.838 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (LcvWl1eNIUwWDTGdHo5tBauadYAd61Pf) from the auth server.
   1.838 Info ServerMultiplayerManager.cpp:663: mapTick(936001) changing state from(CreatingGame) to(InGame)
  54.462 Warning Logger.cpp:386: Symbols.size() == 18, usedSize == 8
Factorio crashed. Generating symbolized stacktrace, please wait ...
  55.653 Warning Logger.cpp:386: Symbols.size() == 17, usedSize == 7
#0  0x0000000000bbe779 in NetworkModStartupSetting::NetworkModStartupSetting(Deserialiser&) at /tmp/factorio-vkXRRs/src/Net/NetworkMessages.cpp:78
#1  0x0000000000dd31bc in load at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:67
#2  0x0000000000dd3e26 in load at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:98
#3  0x0000000000dd5141 in operator>><std::vector<NetworkModStartupSetting> > at /tmp/factorio-vkXRRs/src/Util/Deserialiser.hpp:178
#4  0x0000000000e8f553 in ConnectionRequestReplyConfirmMessage::ConnectionRequestReplyConfirmMessage(Deserialiser&, ServerRouter const*) at /tmp/factorio-vkXRRs/src/Net/NetworkMessages.cpp:201
#5  0x00007f434b6a6b45 in parse<ConnectionRequestReplyConfirmMessage, ServerRouter*> at /tmp/factorio-vkXRRs/src/Net/UnparsedNetworkMessage.hpp:33
#6  0x0000000000406d69 in update at /tmp/factorio-vkXRRs/src/Net/ServerRouter.cpp:116
  55.654 Error NetworkMessages.cpp:78: Loaded setting is nullptr.
Logger::writeStacktrace skipped.
  55.654 Error CrashHandler.cpp:106: Map tick at moment of crash: 936001
  55.654 Error Util.cpp:76: 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.
  55.658 Error CrashHandler.cpp:232: Received SIGSEGV
Logger::writeStacktrace skipped.
  55.658 Error CrashHandler.cpp:106: Map tick at moment of crash: 936001
  55.658 Error Util.cpp:76: 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.
Last edited by dirkmb on Wed Apr 26, 2017 9:47 pm, edited 1 time in total.

dirkmb
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 24, 2016 6:29 pm
Contact:

Re: [0.15.2] headless - server crash after player logout

Post by dirkmb »

I wanted to write my post as a comment to the other one, but then saw that the title says 'server crash after player logOUT'
My issue is that the server crashes when I try to logIN. Just for clarification.

dirkmb
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 24, 2016 6:29 pm
Contact:

Re: [0.15.2] headless - server crash after player logout

Post by dirkmb »

Hey there,
I think you fixed also this bug in 0.15.3.
At least the server does not crash anymore when I join the game but tell's me that I have modes enabled which were not used on the server. So I guess my issue was related to:
- "Fixed crash related to connection attempts from players with mods with mod settings. (44966)"


Thanks for your work!

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.2] headless - server crash after player logout

Post by posila »

Hi, it really is same crash as in viewtopic.php?t=44966 and should be fixed already in 0.15.3. Thanks for pointing it out

Post Reply

Return to “Duplicates”