Page 1 of 1

[14.16] Crash on "Train::update() (in factorio) (Train.cpp:894)" (mac)

Posted: Tue Oct 25, 2016 8:02 pm
by simonszu
So my game crashes at some point. The current action was to make some construction robots cut down some trees and rocks. I entered the command with the deconstruction planner and took a step to the left, and the crash occured. This is the log file:

Code: Select all

   0.000 2016-10-25 21:54:15; Factorio 0.14.16 (build 25219, mac, steam)
   0.000 Operating system: Mac OS X 10.12.0
   0.000 Program arguments: "/Users/simonszu/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/simonszu/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/simonszu/Library/Application Support/factorio
   0.000 Binaries path: /Users/simonszu/Library/Application Support/Steam/steamapps/common
   0.015 System info: [CPU:        Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz, 4 cores, RAM: 16384MB]
   0.021 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.021 Available display adapters: 2
   0.021  [0]: resolution 2560x1440px at [0,0]
   0.021  [1]: resolution 1920x1080px at [2560,159]
   0.021 Create display on adapter 0. Size 1280x720 at position [630, 342].
   0.546 Initialised OpenGL:[0] AMD Radeon HD 6770M OpenGL Engine; driver: 2.1 ATI-1.44.68
   0.615 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [DXT: false]
   0.687 Loading mod core 0.0.0 (data.lua)
   0.694 Loading mod base 0.14.16 (data.lua)
   0.839 Checksum for core: 1291735968
   0.839 Checksum for mod base: 538937375
   1.225 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1477391450
   1.225 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1476465848
   1.393 Initial atlas bitmap size is 16384
   1.397 Created atlas bitmap 16384x5591
   1.397 Created atlas bitmap 4096x968
   1.397 Created atlas bitmap 4096x3652
  12.526 Sprites loaded
  12.526 Convert atlas 4096x968 to: trilinear-filtering 
  12.566 Convert atlas 4096x3652 to: mipmap 
  12.723 Loading sounds...
  14.229 Custom inputs active: 0
  14.283 Factorio initialised
  21.690 Loading map /Users/simonszu/Library/Application Support/factorio/saves/_autosave1.zip
  21.691 Error FileUtil.cpp:284: Can't remove /Users/simonszu/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  21.724 Info Scenario.cpp:152: Map version 0.14.16-0
  23.748 Checksum for script /Users/simonszu/Library/Application Support/factorio/temp/currently-playing/control.lua: 900459546
  29.521 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e82f2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001006dbab9 in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x00000001006dba4e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:235)
#3  0x00007fffc154ebba in 0x00007fffc154ebba
#4  0x000000019865d8a0 in 0x000000019865d8a0
#5  0x00000001005eb135 in Train::update() (in factorio) (Train.cpp:894)
#6  0x00000001005417b1 in TrainManager::update(bool) (in factorio) (iterator:1296)
#7  0x0000000100292707 in Map::update() (in factorio) (vector:1466)
#8  0x0000000100292212 in Game::update() (in factorio) (Game.cpp:144)
#9  0x000000010051d94e in Scenario::update() (in factorio) (__mutex_base:157)
#10 0x0000000100521b5b in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:761)
#11 0x00000001005206c6 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) (in factorio) (GlobalContext.cpp:972)
#12 0x00000001006f40fb in WorkerThread::loop() (in factorio) (functional:1593)
#13 0x0000000100964405 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> >, void (WorkerThread::*)(), WorkerThread*> >(void*) (in factorio) (memory:2744)
#14 0x00007fffc1558abb in 0x00007fffc1558abb
#15 0x00007fffc1558a07 in 0x00007fffc1558a07
#16 0x00007fffc1558231 in 0x00007fffc1558231
  30.514 Error CrashHandler.cpp:106: Map tick at moment of crash: 16545943
  30.514 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.
  42.225 Received SIGTERM, shutting down

Re: [14.16] Crash on "Train::update() (in factorio) (Train.cpp:894)" (mac)

Posted: Wed Oct 26, 2016 12:33 am
by Titan21
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Re: [14.16] Crash on "Train::update() (in factorio) (Train.cpp:894)" (mac)

Posted: Wed Oct 26, 2016 7:40 am
by simonszu
Hi,

i'm afraid i cannot include a save file, since i didn't save the game, and restored from a previous autosave to proceed in the game - currently i am a little addicted to Factorio ;)
The only savegame was in an autosave, but it was overwritten shortly after. I try to best describe the problem:

I am on Vanilla, no Mods. I am in Mid- to Lategame, in a Base with around 130 Roboports, and a train network with 15 train stops. Around 10 trains are traveling between the main station which consists of 5 stops, and mining outposts. The robo network contains around 3000 Logistic and 5000 Construction Robots. I am mentioning the robots, because the error occured with myself walking along train tracks and clearing the sides of the track from trees and rocks, so that i can safely drive with a car along the side of the tracks - i tend to crash into rocks and stuff :D

So i was walking along the tracks, and using the deconstruction planner to give order to remove this stuff. The robots weren't the fastest, because i had no dense network in this area, and they stopped to recharge, which slowed them down. So the amount of items with a red X on them piled up. And i suppose, the crash occured due to a train running on the tracks in the direction i was walking, and it should had appeared on my screen. This error happened reconstructable, even after i had restarted Factorio and loaded the last autosave, which was (un)fortunately around 6-7 seconds before the crash.

I solved this error temporarily with loading an even older autosave, and doing other stuff than walking along the tracks and giving deconstruction commands. I played around 30 minutes more, and quit the game and went to bed. So i could provide you a savegame which still has the trees and rocks along the tracks, but with some little other changes i have made, these are in particular removing some alien's nests which were in the way of my tracks.

But i can exactly describe where the crash happened, maybe i, you, or both of us can still reproduce it.