Page 1 of 1

0.14.22 Docker/Mac/Interface

Posted: Thu Apr 06, 2017 6:00 pm
by jjasghar
It seems the LAN option needs to be unchecked for a multiplayer game if you have Docker and are attempting to start a game.

My docker bridge is:

Code: Select all

bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether 6a:00:02:08:4e:d0
	inet6 fe80::43f:91ed:1b07:aec9%bridge0 prefixlen 64 secured scopeid 0xa
	inet 169.254.223.196 netmask 0xffff0000 broadcast 169.254.255.255
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x2
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 6 priority 0 path cost 0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 7 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
And the log crashes with:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
  40.708 Info GameActionHandler.cpp:2556: MapTick(2066434) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect)
  40.848 Info ServerRouter.cpp:497: Own address is 173.174.119.44:34197
#0  0x00000001006e9762 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001005a6dc1 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#2  0x00000001006f3175 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#3  0x000000010095dca5 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (TaskManager::*)(), TaskManager*> > >(void*) (in factorio) (memory:2744)
#4  0x00007fff8b883aab in 0x00007fff8b883aab
#5  0x00007fff8b8839f7 in 0x00007fff8b8839f7
#6  0x00007fff8b8831fd in 0x00007fff8b8831fd
  41.722 Error ServerGameUpdater.cpp:79: Failed sending LAN game broadcast: Sendto (169.254.255.255:34196) failed (61: Connection refused
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e9762 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001006dcf29 in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x00000001006dcebe in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:235)
#3  0x00007fff8b879bba in 0x00007fff8b879bba
#4  0x0000000000000003 in 0x00000003 (in factorio)
#5  0x00007fff8b700420 in 0x00007fff8b700420
#6  0x00000001005a6db6 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#7  0x00000001006f3175 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#8  0x000000010095dca5 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (TaskManager::*)(), TaskManager*> > >(void*) (in factorio) (memory:2744)
#9  0x00007fff8b883aab in 0x00007fff8b883aab
#10 0x00007fff8b8839f7 in 0x00007fff8b8839f7
#11 0x00007fff8b8831fd in 0x00007fff8b8831fd
  42.517 Error CrashHandler.cpp:106: Map tick at moment of crash: 2066542
  42.517 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.
This should probbaly be noted in the Docs so people are aware of this conflict.

Re: 0.14.22 Docker/Mac/Interface

Posted: Fri Apr 07, 2017 10:47 am
by daniel34
This issue (Mac OS X failed sending LAN game broadcast) is not limited to Docker, it can also happen on regular games when e.g. Hamachi is installed or a Thunderbolt bridge present, it is already fixed for 0.15 here: 39250

Until that is released, disable LAN visibility when creating a multiplayer game and it should work fine.

Re: 0.14.22 Docker/Mac/Interface

Posted: Sat Apr 08, 2017 8:38 pm
by jjasghar
Thanks!