[0.14.1] Crash on second RCON connection
Posted: Sat Aug 27, 2016 4:08 pm
by mickael9
Steps to reproduce:
Code: Select all
$ ./factorio --create /tmp/save.zip
$ ./factorio -v --start-server /tmp/save.zip --rcon-port 27015 --rcon-password password &
$ mcrcon -H 127.0.0.1 -P 27015 -p password "/p"
Players (0):
$ mcrcon -H 127.0.0.1 -P 27015 -p password "/p"
Connection lost.
Authentication failed!
# Game crashed!
Log file
Code: Select all
0.000 2016-08-27 18:06:12; Factorio 0.14.1 (build 24302, linux64, headless)
0.017 Operating system: Linux (Arch rolling)
0.017 Program arguments: "./factorio" "-v" "--start-server" "/tmp/save.zip" "--rcon-port" "27015" "--rcon-password" "password"
0.017 Read data path: /home/mickael/build/factorio-headless-experimental/src/factorio/data
0.017 Write data path: /home/mickael/build/factorio-headless-experimental/src/factorio
0.017 Binaries path: /home/mickael/build/factorio-headless-experimental/src/factorio/bin
0.028 Running in headless mode
0.031 Loading mod core 0.0.0 (data.lua)
0.035 Loading mod base 0.14.1 (data.lua)
0.117 Checksum for core: 303426634
0.117 Checksum for mod base: 3069294402
0.410 Info PlayerData.cpp:47: Local player-data.json unavailable
0.410 Info PlayerData.cpp:52: Cloud player-data.json unavailable
0.411 Custom inputs active: 0
0.412 Factorio initialised
0.412 Info ServerSynchronizer.cpp:26: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
0.412 Info ServerMultiplayerManager.cpp:597: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.412 Info ServerMultiplayerManager.cpp:597: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.412 Loading map /tmp/save.zip
0.441 Info Scenario.cpp:148: Map version 0.14.1-1
0.500 Checksum for script /home/mickael/build/factorio-headless-experimental/src/factorio/temp/currently-playing/control.lua: 900459546
0.513 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
0.513 Hosting game at port 34197
0.513 Verbose RouterBase.cpp:34: Started router thread.
0.514 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
1.047 Info HttpSharedState.cpp:108: Status code: 200
1.047 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (mo3RIv4U3RI8pb6F24ZkzL00vUCZZw1P) from the auth server.
1.047 Info ServerMultiplayerManager.cpp:597: mapTick(0) changing state from(CreatingGame) to(InGame)
1.048 Info RemoteCommandProcessor.cpp:94: Starting RCON interface at port 27015
5.183 Info RemoteCommandProcessor.cpp:201: New RCON connection from 127.0.0.1:40198
6.156 Info RemoteCommandProcessor.cpp:201: New RCON connection from 127.0.0.1:40200
terminate called without an active exception
6.753 Warning Logger.cpp:364: Symbols.size() == 14, usedSize == 13
Factorio crashed. Generating symbolized stacktrace, please wait ...
7.325 Warning Logger.cpp:364: Symbols.size() == 13, usedSize == 12
#0 0x50993b in CrashHandler::writeStackTrace() at /tmp/factorio-aCbLUb/src/Util/CrashHandler.cpp:105
#1 0x509bb4 in CrashHandler::SignalHandler(int) at /tmp/factorio-aCbLUb/src/Util/CrashHandler.cpp:215
#2 0x7f9cde86b0b0 in ?? at ??:0
#3 0x7f9cde86b04f in ?? at ??:0
#4 0x7f9cde86c47a in ?? at ??:0
#5 0x10c2cad in __gnu_cxx::__verbose_terminate_handler() at ??:?
#6 0x10b7456 in __cxxabiv1::__terminate(void (*)()) at ??:?
#7 0x10b74a1 in std::terminate() at ??:?
#8 0x699dea in accept at /tmp/factorio-aCbLUb/src/Net/TCPSocket.cpp:121
#9 0x10de1c0 in update at /tmp/factorio-aCbLUb/src/RemoteCommandProcessor.cpp:197
#10 0x7f9cdf504454 in execute_native_thread_routine at ??:?
#11 0x7f9cde9207df in ?? at ??:0
7.325 Error CrashHandler.cpp:106: Map tick at moment of crash: 59
7.325 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.