Crash; non-deletable bit of rail

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Wavy Wombat
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 24, 2016 8:13 am
Contact:

Crash; non-deletable bit of rail

Post by Wavy Wombat »

Version: 0.14.21 through Steam, running on macOS Sierra 10.12.1. Save data at https://dl.dropboxusercontent.com/u/220 ... o_save.zip
Log file at https://dl.dropboxusercontent.com/u/220 ... io_log.log
No mods.
Foolishly I didn't capture the log file from when this actually happened (I tried it twice more after the first crash, thereby overwriting the "factorio-previous" log), so the attached log is from a reproduction rather than the original crash. The log looks pretty similar to the original one.

Steps to reproduce: load the attached saved game, which features a train just setting off after I tried to resolve a scheduling conflict. About half a second later, the game hangs (while the train is picking up speed) with a dialog box saying "Error" with message "Unexpected error occurred". The music is still playing, and the game is still visible, but the app isn't accepting any keyboard or mouse input and there is no movement on screen.

The train which is moving in this save is just going over a section of rail which I remember earlier trying to delete: a single piece of rail which gives me a message similar to "Unable to mine this" when I try and right-click it into my inventory. It was not marked with a red cross by the destruction blueprint when I tried that way, either: I just couldn't get rid of the rail.

Let me know if I can help any more.
Loewchen
Global Moderator
Global Moderator
Posts: 9657
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash; non-deletable bit of rail

Post by Loewchen »

Code: Select all

   0.000 2016-12-24 08:16:43; Factorio 0.14.21 (build 25327, mac, steam)
   0.000 Operating system: Mac OS X 10.12.1
   0.000 Program arguments: "/Users/<REDACTED>/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/<REDACTED>/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/<REDACTED>/Library/Application Support/factorio
   0.000 Binaries path: /Users/<REDACTED>/Library/Application Support/Steam/steamapps/common
   0.014 System info: [CPU: Intel(R) Core(TM) i5-4308U CPU @ 2.80GHz, 4 cores, RAM: 16384MB]
   0.023 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.023 Available display adapters: 1
   0.023  [0]: resolution 1280x800px at [0,0]
   0.023 Create display on adapter 0. Size 1280x720 at position [0, 22].
   0.165 Initialised OpenGL:[0] Intel Iris OpenGL Engine; driver: 2.1 INTEL-10.20.23
   0.224 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.302 Loading mod core 0.0.0 (data.lua)
   0.315 Loading mod base 0.14.21 (data.lua)
   0.423 Checksum for core: 1291735968
   0.423 Checksum for mod base: 786624017
   0.761 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1482528939
   0.761 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1478198624
   0.910 Initial atlas bitmap size is 16384
   0.912 Created atlas bitmap 16384x5591
   0.912 Created atlas bitmap 4096x968
   0.912 Created atlas bitmap 4096x3652
  13.417 Sprites loaded
  13.417 Convert atlas 4096x968 to: trilinear-filtering 
  13.487 Convert atlas 4096x3652 to: mipmap 
  13.794 Loading sounds...
  15.870 Custom inputs active: 0
  15.923 Factorio initialised
  29.301 Loading map /Users/<REDACTED>/Library/Application Support/factorio/saves/_autosave2.zip
  29.302 Error FileUtil.cpp:284: Can't remove /Users/<REDACTED>/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  29.339 Info Scenario.cpp:152: Map version 0.14.21-0
  30.965 Checksum for script /Users/<REDACTED>/Library/Application Support/factorio/temp/currently-playing/control.lua: 900459546
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x00000001006e8ee2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:391)
#1  0x00000001005f0132 in Train::resolveRailTransition(Rail*, Rail*, bool) (in factorio) (Train.cpp:1476)
#2  0x000000010022ae78 in RailJoint::startOnNewRail(Rail*, RailDirection, RailDirection, bool) (in factorio) (RailJoint.cpp:92)
#3  0x000000010022ab02 in RollingStock::Carriage::moveFrontJointForward(double, RidingState::Direction const&) (in factorio) (RollingStock.cpp:258)
#4  0x000000010022b764 in RollingStock::move(double, RidingState::Direction const&, bool) (in factorio) (RollingStock.cpp:334)
#5  0x00000001005f0cc5 in Train::tryToMove(double) (in factorio) (Train.cpp:1801)
#6  0x00000001005ed9eb in Train::move(double) (in factorio) (Train.cpp:1668)
#7  0x00000001005ec4e2 in Train::updateSpeedAndMove() (in factorio) (Train.cpp:1185)
#8  0x00000001005eb41d in Train::update() (in factorio) (Train.cpp:848)
#9  0x0000000100541d51 in TrainManager::update(bool) (in factorio) (iterator:1296)
#10 0x00000001002929f7 in Map::update() (in factorio) (vector:1466)
#11 0x0000000100292502 in Game::update() (in factorio) (Game.cpp:144)
#12 0x000000010051dc2e in Scenario::update() (in factorio) (__mutex_base:157)
#13 0x0000000100521e3b in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:761)
#14 0x00000001005209a6 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) (in factorio) (GlobalContext.cpp:972)
#15 0x00000001006f4ceb in WorkerThread::loop() (in factorio) (functional:1593)
#16 0x0000000100965dd5 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)
#17 0x00007fff9c793aab in 0x00007fff9c793aab
#18 0x00007fff9c7939f7 in 0x00007fff9c7939f7
#19 0x00007fff9c793221 in 0x00007fff9c793221
  33.284 Error Train.cpp:1476: Internal error: Carriage::moveFrontJointForward nextRail rollingStockCount (1) != 0
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  0x00007fff9c789bba in 0x00007fff9c789bba
#4  0x0000000110ae7291 in 0x0000000110ae7291
#5  0x00007fff9c610420 in 0x00007fff9c610420
#6  0x00000001005f00c7 in Train::resolveRailTransition(Rail*, Rail*, bool) (in factorio) (Train.cpp:1507)
#7  0x000000010022ae78 in RailJoint::startOnNewRail(Rail*, RailDirection, RailDirection, bool) (in factorio) (RailJoint.cpp:92)
#8  0x000000010022ab02 in RollingStock::Carriage::moveFrontJointForward(double, RidingState::Direction const&) (in factorio) (RollingStock.cpp:258)
#9  0x000000010022b764 in RollingStock::move(double, RidingState::Direction const&, bool) (in factorio) (RollingStock.cpp:334)
#10 0x00000001005f0cc5 in Train::tryToMove(double) (in factorio) (Train.cpp:1801)
#11 0x00000001005ed9eb in Train::move(double) (in factorio) (Train.cpp:1668)
#12 0x00000001005ec4e2 in Train::updateSpeedAndMove() (in factorio) (Train.cpp:1185)
#13 0x00000001005eb41d in Train::update() (in factorio) (Train.cpp:848)
#14 0x0000000100541d51 in TrainManager::update(bool) (in factorio) (iterator:1296)
#15 0x00000001002929f7 in Map::update() (in factorio) (vector:1466)
#16 0x0000000100292502 in Game::update() (in factorio) (Game.cpp:144)
#17 0x000000010051dc2e in Scenario::update() (in factorio) (__mutex_base:157)
#18 0x0000000100521e3b in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:761)
#19 0x00000001005209a6 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) (in factorio) (GlobalContext.cpp:972)
#20 0x00000001006f4ceb in WorkerThread::loop() (in factorio) (functional:1593)
#21 0x0000000100965dd5 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)
#22 0x00007fff9c793aab in 0x00007fff9c793aab
#23 0x00007fff9c7939f7 in 0x00007fff9c7939f7
#24 0x00007fff9c793221 in 0x00007fff9c793221
  34.380 Error CrashHandler.cpp:106: Map tick at moment of crash: 8949627
  34.381 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.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Crash; non-deletable bit of rail

Post by Nexela »

You can try this to see if it fixes it.
viewtopic.php?f=47&t=28826
Wavy Wombat
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 24, 2016 8:13 am
Contact:

Re: Crash; non-deletable bit of rail

Post by Wavy Wombat »

Nexela wrote:You can try this to see if it fixes it.
viewtopic.php?f=47&t=28826
This worked; thank you!
Rseding91
Factorio Staff
Factorio Staff
Posts: 14773
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Crash; non-deletable bit of rail

Post by Rseding91 »

Was this map created in 0.14 or one of the earlier versions of the game?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”