Crash on server start in docker

Things that has been reported already before.
captncraig
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Mar 10, 2016 3:37 am
Contact:

Crash on server start in docker

Post by captncraig »

Attempting to get a server running in a docker container. Hacking on https://github.com/zopanix/docker_factorio_server, which isn't working out of the box for me either. I got it to create and load a new save, but it crashes on startup:

Code: Select all

###
# Creating a new map [save.zip]
###
   0.000 2016-06-29 03:18:13; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.000 Operating system: Linux
   0.000 Not rotating logs.
   0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--create" "/opt/factorio/saves/save.zip" 
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio
   0.000 Binaries path: /opt/factorio/bin
   0.027 Running in headless mode
   0.032 Loading mod core 0.0.0 (data.lua)
   0.041 Loading mod base 0.13.0 (data.lua)
   0.256 Checksum for core: 1399339455
   0.256 Checksum for mod base: 2039900801
   1.245 Custom inputs active: 0
   1.246 Factorio initialised
   1.247 Info Main.cpp:557: Creating new map /opt/factorio/saves/save.zip
  17.270 Info Scenario.cpp:129: Map version 0.13.0-93
  17.436 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 900459546
Done.
###
# New map created [save.zip]
###
###
# Launching Game
###
   0.000 2016-06-29 03:18:31; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.000 Operating system: Linux
   0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--allow-commands" "false" "--latency-ms" "100" "--autosave-interval" "2" "--autosave-slots" "3" "--start-server" "/opt/factorio/saves/save.zip" 
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio
   0.000 Binaries path: /opt/factorio/bin
   0.028 Running in headless mode
   0.032 Loading mod core 0.0.0 (data.lua)
   0.041 Loading mod base 0.13.0 (data.lua)
   0.257 Checksum for core: 1399339455
   0.257 Checksum for mod base: 2039900801
   1.241 Custom inputs active: 0
   1.242 Factorio initialised
   1.244 Info Router.cpp:563: Router peerID(65535) shutting down.
   1.244 Info Router.cpp:594: Router state -> Disconnected
   1.365 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   1.365 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   1.365 Loading map /opt/factorio/saves/save.zip
   1.410 Info Scenario.cpp:129: Map version 0.13.0-93
   1.575 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 900459546
   1.587 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
   1.587 Info Router.cpp:594: Router state -> Connected
   1.587 Info Synchronizer.cpp:56: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
   1.588 Hosting game at port 34197, peerID 0, session magic 1278
   1.588 Info MultiplayerManager.cpp:999: networkTick(0) mapTick(0) changing state from(CreatingGame) to(InGame)
   1.588 Info NetworkInputHandler.cpp:45: mapTick(0) networkTick(0) initialized NetworkInputHandler local peer(0).
   1.705 Info MultiplayerManager.cpp:1530: Received peer info for peer(0) username(<server>).
   1.706 Info MultiplayerManager.cpp:1146: networkTick(6) mapTick(0) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
   1.706 Info MultiplayerManager.cpp:1146: networkTick(6) mapTick(0) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)
   3.770 Warning Logger.cpp:360: Symbols.size() == 8, usedSize == 6
Factorio crashed. Generating symbolized stacktrace, please wait ...
   5.907 Warning Logger.cpp:360: Symbols.size() == 7, usedSize == 5
#0  0x8fc84c in InterruptibleStdioStream::read(std::string&) [clone .constprop.67840] at /tmp/factorio-l0EMYo/src/Util/InterruptibleStdioStream.cpp:51
#1  0x8fc9df in boost::detail::thread_data<RemoteCommandProcessor::StdStreamInterface::thread::{lambda()#1}>::run() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.cpp:68
#2  0xf33bdf in operator() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.hpp:56
#3  0x7f731bd72704 in run at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/thread/detail/thread.hpp:116
#4  0x7f731b39495d in thread_proxy at thread.cpp:?
   5.907 Error InterruptibleStdioStream.cpp:51: read failed
   8.137 Warning Logger.cpp:360: Symbols.size() == 13, usedSize == 11
Factorio crashed. Generating symbolized stacktrace, please wait ...
  10.345 Warning Logger.cpp:360: Symbols.size() == 12, usedSize == 10
#0  0x805a7b in CrashHandler::writeStackTrace() at /tmp/factorio-l0EMYo/src/Util/CrashHandler.cpp:84
#1  0x805cf4 in CrashHandler::SignalHandler(int) at /tmp/factorio-l0EMYo/src/Util/CrashHandler.cpp:188
#2  0x7f731b2e3060 in ?? at ??:0
#3  0x7f731b2e2fe7 in ?? at ??:0
#4  0x7f731b2e43ea in ?? at ??:0
#5  0x8fc89c in InterruptibleStdioStream::read(std::string&) [clone .constprop.67840] at /tmp/factorio-l0EMYo/src/Util/InterruptibleStdioStream.cpp:51
#6  0x8fc9df in boost::detail::thread_data<RemoteCommandProcessor::StdStreamInterface::thread::{lambda()#1}>::run() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.cpp:68
#7  0xf33bdf in operator() at /tmp/factorio-l0EMYo/src/RemoteCommandProcessor.hpp:56
#8  0x7f731bd72704 in run at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/thread/detail/thread.hpp:116
#9  0x7f731b39495d in thread_proxy at thread.cpp:?
  10.346 Error CrashHandler.cpp:85: Map tick at moment of crash: 0
  10.346 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Phssthpok
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jun 03, 2014 12:13 pm
Contact:

Re: Crash on server start in docker

Post by Phssthpok »

Do you get the same error with this docker image?

https://hub.docker.com/r/jjclark/factorio/
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: Crash on server start in docker

Post by Oxyd »

Post Reply

Return to “Duplicates”