Page 1 of 1

[0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Sat Dec 31, 2016 7:20 pm
by davidfwatson
When I load this save for multiplayer, it crashes within about 10 seconds every time.

Code: Select all

   0.000 2016-12-31 11:10:02; Factorio 0.14.21 (build 25327, mac, steam)
   0.000 Operating system: Mac OS X 10.11.6
   0.000 Program arguments: "/Users/dwatson/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/dwatson/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/dwatson/Library/Application Support/factorio
   0.000 Binaries path: /Users/dwatson/Library/Application Support/Steam/steamapps/common
   0.012 System info: [CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz, 8 cores, RAM: 16384MB]
   0.016 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.016 Available display adapters: 1
   0.016  [0]: resolution 2560x1440px at [0,0]
   0.016 Create display on adapter 0. Size 1280x720 at position [630, 342].
   0.493 Initialised OpenGL:[0] NVIDIA GeForce GT 750M OpenGL Engine; driver: 2.1 NVIDIA-10.10.14 310.42.25f02
   1.022 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: false]
   1.086 Loading mod core 0.0.0 (data.lua)
   1.095 Loading mod base 0.14.21 (data.lua)
   1.224 Checksum for core: 1291735968
   1.224 Checksum for mod base: 786624017
   1.527 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1483211163
   1.527 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1483167228
   1.693 Initial atlas bitmap size is 16384
   1.696 Created atlas bitmap 16384x5591
   1.696 Created atlas bitmap 4096x968
   1.697 Created atlas bitmap 4096x3652
  12.571 Sprites loaded
  12.571 Convert atlas 4096x968 to: trilinear-filtering 
  12.611 Convert atlas 4096x3652 to: mipmap 
  12.806 Loading sounds...
  14.245 Warning ControlInput.cpp:312: Unknown control input string "KP_Add"
  14.245 Warning ControlInput.cpp:312: Unknown control input string "KP_Subtract"
  14.245 Custom inputs active: 0
  14.286 Factorio initialised
  21.007 Loading map /Users/dwatson/Library/Application Support/factorio/saves/pardis_game_2_2.zip
  21.008 Error FileUtil.cpp:284: Can't remove /Users/dwatson/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  21.034 Info Scenario.cpp:152: Map version 0.14.21-0
  22.934 Checksum for script /Users/dwatson/Library/Application Support/factorio/temp/currently-playing/control.lua: 900459546
 112.967 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
 112.967 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
 112.968 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
 112.968 Loading map /Users/dwatson/Library/Application Support/factorio/saves/pardis_game_2_2.zip
 112.969 Error FileUtil.cpp:284: Can't remove /Users/dwatson/Library/Application Support/factorio/temp/currently-playing: No such file or directory
 112.993 Info Scenario.cpp:152: Map version 0.14.21-0
 114.808 Checksum for script /Users/dwatson/Library/Application Support/factorio/temp/currently-playing/control.lua: 900459546
 114.852 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
 114.852 Hosting game at 0.0.0.0:34197
 114.852 Info ServerMultiplayerManager.cpp:658: mapTick(10388684) changing state from(CreatingGame) to(InGame)
 114.853 Info UDPSocket.cpp:39: Opening socket for broadcast
 114.855 Info GameActionHandler.cpp:2556: MapTick(10388684) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect)
 124.857 Info UDPSocket.cpp:334: Sendto failed (but can be probably ignored): No route to host
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e8ee2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001005a6541 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#2  0x00000001006f2685 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#3  0x000000010095cb05 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) (thread:358)
#4  0x00007fff99bab99d in 0x00007fff99bab99d
#5  0x00007fff99bab91a in 0x00007fff99bab91a
#6  0x00007fff99ba9351 in 0x00007fff99ba9351
 129.139 Error ServerGameUpdater.cpp:79: Failed sending LAN game broadcast: Sendto (169.254.255.255:34196) failed (64: Host is down
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e8ee2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001006dc6a9 in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x00000001006dc63e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:235)
#3  0x00007fff9830352a in 0x00007fff9830352a
#4  0x000070000052b8e0 in 0x000070000052b8e0
#5  0x00007fff9b9746df in 0x00007fff9b9746df
#6  0x00000001005a6536 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#7  0x00000001006f2685 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#8  0x000000010095cb05 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) (thread:358)
#9  0x00007fff99bab99d in 0x00007fff99bab99d
#10 0x00007fff99bab91a in 0x00007fff99bab91a
#11 0x00007fff99ba9351 in 0x00007fff99ba9351
 131.276 Error CrashHandler.cpp:106: Map tick at moment of crash: 10389663
 131.276 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.

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Sat Dec 31, 2016 9:01 pm
by Rseding91
It looks like it's failing because it can't communicate over the network but part of the stack trace is missing.

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Mon Jan 02, 2017 3:38 am
by davidfwatson
This is the whole log file, I can reproduce again if that will help...

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Mon Jan 02, 2017 3:43 am
by davidfwatson
reproduced:

Code: Select all

   0.000 2017-01-01 19:40:41; Factorio 0.14.21 (build 25327, mac, steam)
   0.000 Operating system: Mac OS X 10.11.6
   0.000 Program arguments: "/Users/dwatson/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/dwatson/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/dwatson/Library/Application Support/factorio
   0.000 Binaries path: /Users/dwatson/Library/Application Support/Steam/steamapps/common
   0.045 System info: [CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz, 8 cores, RAM: 16384MB]
   0.050 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.050 Available display adapters: 2
   0.050  [0]: resolution 2560x1440px at [0,0]
   0.050  [1]: resolution 1440x900px at [2560,203]
   0.050 Create display on adapter 0. Size 1280x720 at position [630, 342].
   0.547 Initialised OpenGL:[0] NVIDIA GeForce GT 750M OpenGL Engine; driver: 2.1 NVIDIA-10.10.14 310.42.25f02
   1.389 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: false]
   1.535 Loading mod core 0.0.0 (data.lua)
   1.570 Loading mod base 0.14.21 (data.lua)
   2.012 Checksum for core: 1291735968
   2.012 Checksum for mod base: 786624017
   2.467 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1483211487
   2.467 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1483167228
   2.680 Initial atlas bitmap size is 16384
   2.683 Created atlas bitmap 16384x5591
   2.683 Created atlas bitmap 4096x968
   2.684 Created atlas bitmap 4096x3652
  20.727 Sprites loaded
  20.727 Convert atlas 4096x968 to: trilinear-filtering 
  20.769 Convert atlas 4096x3652 to: mipmap 
  20.940 Loading sounds...
  23.150 Warning ControlInput.cpp:312: Unknown control input string "KP_Add"
  23.150 Warning ControlInput.cpp:312: Unknown control input string "KP_Subtract"
  23.151 Custom inputs active: 0
  23.221 Factorio initialised
  86.734 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  86.734 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
  86.735 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
  86.735 Loading map /Users/dwatson/Library/Application Support/factorio/saves/pardis_game_2_2.zip
  86.737 Error FileUtil.cpp:284: Can't remove /Users/dwatson/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  86.762 Info Scenario.cpp:152: Map version 0.14.21-0
  88.663 Checksum for script /Users/dwatson/Library/Application Support/factorio/temp/currently-playing/control.lua: 900459546
  88.719 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
  88.719 Hosting game at 0.0.0.0:34197
  88.719 Info ServerMultiplayerManager.cpp:658: mapTick(10388684) changing state from(CreatingGame) to(InGame)
  88.719 Info UDPSocket.cpp:39: Opening socket for broadcast
  88.721 Info GameActionHandler.cpp:2556: MapTick(10388684) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect)
  98.724 Info UDPSocket.cpp:334: Sendto failed (but can be probably ignored): No route to host
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e8ee2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001005a6541 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#2  0x00000001006f2685 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#3  0x000000010095cb05 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) (thread:358)
#4  0x00007fff99bab99d in 0x00007fff99bab99d
#5  0x00007fff99bab91a in 0x00007fff99bab91a
#6  0x00007fff99ba9351 in 0x00007fff99ba9351
 103.058 Error ServerGameUpdater.cpp:79: Failed sending LAN game broadcast: Sendto (169.254.255.255:34196) failed (64: Host is down
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e8ee2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001006dc6a9 in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x00000001006dc63e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:235)
#3  0x00007fff9830352a in 0x00007fff9830352a
#4  0x000070000052b8e0 in 0x000070000052b8e0
#5  0x00007fff9b9746df in 0x00007fff9b9746df
#6  0x00000001005a6536 in ServerGameUpdater::updateLAN() (in factorio) (ServerGameUpdater.cpp:79)
#7  0x00000001006f2685 in TaskManager::run() (in factorio) (TaskManager.cpp:83)
#8  0x000000010095cb05 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) (thread:358)
#9  0x00007fff99bab99d in 0x00007fff99bab99d
#10 0x00007fff99bab91a in 0x00007fff99bab91a
#11 0x00007fff99ba9351 in 0x00007fff99ba9351
 105.290 Error CrashHandler.cpp:106: Map tick at moment of crash: 10389670
 105.290 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.
 

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Mon Jan 02, 2017 4:17 am
by Rseding91
Failed sending LAN game broadcast: Sendto (169.254.255.255:34196) failed (64: Host is down
Do you have any software that's blocking outgoing connections? Maybe Hamachi?

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Tue Jan 03, 2017 12:59 am
by davidfwatson
HA! I figured it out. I'm using an external display over thunderbolt, and that IP looks like it's the broadcast address for the default network that my mac attempts to setup over thunderbolt when there's a connection. I've included a screenshot of the problematic interface. Simply disabling the interface instead of leaving it in an inactive state solved the problem.

This really shouldn't lead to a full crash of the game, but it's simple enough to work around.

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Tue Jan 03, 2017 10:30 am
by cube
Hi, thanks for the report. This is caused by not ignoring an error code that should be ignored, and will be fixed in 0.15.0.

Re: [0.14.21] Crash 10 seconds after load MacOS no mods

Posted: Thu Feb 09, 2017 12:08 am
by root-kontot9
I have a similar bug, may be a duplicate.

Code: Select all

   0.000 2017-02-08 18:00:41; Factorio 0.14.22 (build 25342, mac, steam)
   0.000 Operating system: Mac OS X 10.12.3
   0.000 Program arguments: "/Users/drew/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/drew/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/drew/Library/Application Support/factorio
   0.000 Binaries path: /Users/drew/Library/Application Support/Steam/steamapps/common
   0.018 System info: [CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz, 8 cores, RAM: 16384MB]
   0.027 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.029 Available display adapters: 1
   0.029  [0]: resolution 1440x900px at [0,0]
   0.029 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.472 Initialised OpenGL:[0] Intel Iris Pro OpenGL Engine; driver: 2.1 INTEL-10.22.29
   0.741 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: false]
   0.831 Loading mod core 0.0.0 (data.lua)
   0.844 Loading mod base 0.14.22 (data.lua)
   0.992 Loading mod ColorblindUI-repack 1.0.1 (data.lua)
   1.056 Loading mod Colorblind_ores-repack 1.0.2 (data.lua)
   1.129 Loading mod rail-icons 0.1.0 (data.lua)
   1.193 Loading mod ColorblindUI-repack 1.0.1 (data-updates.lua)
   1.291 Checksum for core: 1291735968
   1.291 Checksum for mod base: 786624017
   1.291 Checksum for mod ColorblindUI-repack: 2890493210
   1.291 Checksum for mod Colorblind_ores-repack: 2144146271
   1.291 Checksum for mod rail-icons: 4229608420
   1.697 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1486596411
   1.697 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1486353332
   1.895 Initial atlas bitmap size is 16384
   1.897 Created atlas bitmap 16384x5592
   1.897 Created atlas bitmap 4096x968
   1.897 Created atlas bitmap 4096x3652
  14.712 Sprites loaded
  14.712 Convert atlas 4096x968 to: trilinear-filtering 
  14.771 Convert atlas 4096x3652 to: mipmap 
  15.111 Loading sounds...
  17.321 Custom inputs active: 0
  17.383 Factorio initialised
  22.779 Error FileUtil.cpp:284: Can't remove /Users/drew/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  23.624 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  23.624 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
  23.624 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
  23.624 Info Scenario.cpp:152: Map version 0.14.22-0
  23.694 Checksum for script /Users/drew/Library/Application Support/factorio/temp/currently-playing/control.lua: 1057114497
  23.707 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
  23.707 Hosting game at 0.0.0.0:34197
  23.707 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
  24.707 Info HttpSharedState.cpp:111: Status code: 200
  24.708 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (vbyRByQv8xWHdhLbXKIS1KJt5KpGpz2I) from the auth server.
  24.708 Info ServerMultiplayerManager.cpp:658: mapTick(0) changing state from(CreatingGame) to(InGame)
  24.708 Info ServerRouter.cpp:604: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
  24.710 Info UDPSocket.cpp:39: Opening socket for broadcast
Factorio crashed. Generating symbolized stacktrace, please wait ...
  24.712 Info GameActionHandler.cpp:2556: MapTick(0) processed PlayerJoinGame peerID(0) playerIndex(0) mode(create)
  24.892 Info ServerRouter.cpp:497: Own address is 173.174.93.58: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  0x00007fffb28aaaab in 0x00007fffb28aaaab
#5  0x00007fffb28aa9f7 in 0x00007fffb28aa9f7
#6  0x00007fffb28aa1fd in 0x00007fffb28aa1fd
  26.007 Error ServerGameUpdater.cpp:79: Failed sending LAN game broadcast: Sendto (10.0.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  0x00007fffb28a0bba in 0x00007fffb28a0bba
#4  0x0000000000000003 in 0x00000003 (in factorio)
#5  0x00007fffb2727420 in 0x00007fffb2727420
#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  0x00007fffb28aaaab in 0x00007fffb28aaaab
#10 0x00007fffb28aa9f7 in 0x00007fffb28aa9f7
#11 0x00007fffb28aa1fd in 0x00007fffb28aa1fd
  27.171 Error CrashHandler.cpp:106: Map tick at moment of crash: 145
  27.171 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.
Working from the previous poster, I cleaned up my network settings:
before
before
Screen Shot 2017-02-08 at 6.00.27 PM.png (69.46 KiB) Viewed 8459 times
after
after
Screen Shot 2017-02-08 at 6.07.22 PM.png (24.02 KiB) Viewed 8459 times
However this had no effect.

Unchecking the "LAN" box worked around, as I don't need this to be a LAN game.