[14.21] Crash mining colliding train on: "Rail::RailConnection::getRail"

This subforum contains all the issues which we already resolved.
griffmo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Dec 01, 2016 10:29 pm
Contact:

[14.21] Crash mining colliding train on: "Rail::RailConnection::getRail"

Post by griffmo »

I encountered this when I had two trains pushing against eachother, and tried to mine one
Attachments
factorio-current.log
Log report (i think)
(16.24 KiB) Downloaded 209 times

Loewchen
Global Moderator
Global Moderator
Posts: 8969
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Bug?

Post by Loewchen »

Code: Select all

   0.002 2016-12-01 15:18:41; Factorio 0.14.21 (build 25327, win64, steam)
   0.015 Operating system: Windows 10 (version 1607) 
   0.015 Program arguments: "D:\Program Files (x86)\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.015 Read data path: D:/Program Files (x86)/SteamLibrary/steamapps/common/Factorio/data
   0.015 Write data path: C:/Users/griffmo/AppData/Roaming/Factorio
   0.015 Binaries path: D:/Program Files (x86)/SteamLibrary/steamapps/common/Factorio/bin
   0.154 System info: [CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 4 cores, RAM: 8106MB]
   0.195 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 125%] [MultiSampling: OFF] [Screen: 255]
   0.207 Available display adapters: 1
   0.207  [0]: \\.\DISPLAY5 - Intel(R) HD Graphics 5500 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.207 Create display on adapter 0. Size 1600x900 at position [150, 72].
   1.292 Initialised Direct3D:[0] NVIDIA GeForce GTX 950M; driver: nvd3dumx.dll 21.21.13.7595
   1.296     Video memory size (dedicated video/dedicated system/shared system/available): 4064/0/4053/4088 MB
   1.351 DSound: Starting _dsound_update thread
   1.351 DSound: Enter _dsound_update; tid=126316
   1.352 Device reset internal.
   1.354 Desktop composition is active.
   1.354 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [DXT: auto]
   1.586 Loading mod core 0.0.0 (data.lua)
   1.595 Loading mod base 0.14.21 (data.lua)
   1.732 Checksum for core: 1291735968
   1.732 Checksum for mod base: 786624017
   2.282 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1480520391
   2.282 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1476052455
   2.483 Initial atlas bitmap size is 16384
   2.486 Created atlas bitmap 16384x5736
   2.548 Created atlas bitmap 4096x4088
   2.615 Created atlas bitmap 4096x4096
   2.660 Created atlas bitmap 4096x3960
   2.883 Created atlas bitmap 4096x968
   2.921 Created atlas bitmap 4096x3652
  19.557 Sprites loaded
  19.557 Convert atlas 4096x4088 to: compressed 
  20.386 Convert atlas 4096x4096 to: compressed 
  21.429 Convert atlas 4096x3960 to: compressed 
  22.134 Convert atlas 4096x968 to: trilinear-filtering 
  22.198 Convert atlas 4096x3652 to: mipmap 
  23.574 Loading sounds...
  25.981 Custom inputs active: 0
  26.234 Factorio initialised
 217.622 Info Scenario.cpp:152: Map version 0.14.21-0
 217.705 Checksum for script C:/Users/griffmo/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
 368.709 Info Scenario.cpp:152: Map version 0.14.21-0
 368.780 Checksum for script C:/Users/griffmo/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
 499.792 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
 499.998 Verbose Scenario.cpp:643: Time to save game: 0.206697
 620.201 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
 620.415 Verbose Scenario.cpp:643: Time to save game: 0.214658
2281.034 The scenario does not contain control.lua. Loading freeplay scripts.
2281.140 Info Scenario.cpp:152: Map version 0.14.21-0
2281.439 Checksum for script C:/Users/griffmo/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
2404.261 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
2404.760 Verbose Scenario.cpp:643: Time to save game: 0.4984
2526.072 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
2526.529 Verbose Scenario.cpp:643: Time to save game: 0.457465
2646.731 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
2647.213 Verbose Scenario.cpp:643: Time to save game: 0.482175
2767.417 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
2767.941 Verbose Scenario.cpp:643: Time to save game: 0.524087
2888.140 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
2888.694 Verbose Scenario.cpp:643: Time to save game: 0.553389
3008.901 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
3009.500 Verbose Scenario.cpp:643: Time to save game: 0.598886
3129.706 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
3130.287 Verbose Scenario.cpp:643: Time to save game: 0.580329
3187.411 Loading map C:\Users\griffmo\AppData\Roaming\Factorio\saves\_autosave2.zip
3187.594 Info Scenario.cpp:152: Map version 0.14.21-0
3188.075 Checksum for script C:/Users/griffmo/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
3308.345 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
3309.197 Verbose Scenario.cpp:643: Time to save game: 0.85137
3479.393 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
3480.027 Verbose Scenario.cpp:643: Time to save game: 0.633771
3600.245 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
3600.954 Verbose Scenario.cpp:643: Time to save game: 0.709748
3721.150 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
3721.837 Verbose Scenario.cpp:643: Time to save game: 0.686501
3842.065 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
3842.773 Verbose Scenario.cpp:643: Time to save game: 0.707633
3963.531 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
3964.196 Verbose Scenario.cpp:643: Time to save game: 0.664985
4084.417 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
4085.123 Verbose Scenario.cpp:643: Time to save game: 0.706361
4205.325 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
4205.970 Verbose Scenario.cpp:643: Time to save game: 0.644885
4326.171 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
4326.852 Verbose Scenario.cpp:643: Time to save game: 0.680828
4366.911 Loading map C:\Users\griffmo\AppData\Roaming\Factorio\saves\_autosave2.zip
4367.011 Info Scenario.cpp:152: Map version 0.14.21-0
4367.558 Checksum for script C:/Users/griffmo/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
4487.759 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
4488.448 Verbose Scenario.cpp:643: Time to save game: 0.688529
4608.661 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
4609.339 Verbose Scenario.cpp:643: Time to save game: 0.677938
4729.536 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
4730.255 Verbose Scenario.cpp:643: Time to save game: 0.718551
4873.938 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
4874.622 Verbose Scenario.cpp:643: Time to save game: 0.683738
4994.827 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
4995.530 Verbose Scenario.cpp:643: Time to save game: 0.703125
5115.746 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
5116.403 Verbose Scenario.cpp:643: Time to save game: 0.656828
5236.930 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
5237.635 Verbose Scenario.cpp:643: Time to save game: 0.704727
5357.851 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
5358.581 Verbose Scenario.cpp:643: Time to save game: 0.729613
5535.954 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
5536.684 Verbose Scenario.cpp:643: Time to save game: 0.730201
5656.880 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
5657.583 Verbose Scenario.cpp:643: Time to save game: 0.702978
5777.781 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
5778.465 Verbose Scenario.cpp:643: Time to save game: 0.684517
5898.672 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
5899.391 Verbose Scenario.cpp:643: Time to save game: 0.719584
6019.626 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
6020.324 Verbose Scenario.cpp:643: Time to save game: 0.698235
6140.514 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
6141.239 Verbose Scenario.cpp:643: Time to save game: 0.724891
6261.428 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
6262.140 Verbose Scenario.cpp:643: Time to save game: 0.711414
6382.327 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
6383.018 Verbose Scenario.cpp:643: Time to save game: 0.690416
6509.748 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
6510.429 Verbose Scenario.cpp:643: Time to save game: 0.681383
6630.641 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
6631.394 Verbose Scenario.cpp:643: Time to save game: 0.753781
6751.623 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
6752.326 Verbose Scenario.cpp:643: Time to save game: 0.703023
6872.554 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
6873.291 Verbose Scenario.cpp:643: Time to save game: 0.737801
6993.505 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave2
6994.223 Verbose Scenario.cpp:643: Time to save game: 0.718474
7114.428 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave3
7115.144 Verbose Scenario.cpp:643: Time to save game: 0.715941
7235.807 Verbose Scenario.cpp:552: Saving game as C:\Users\griffmo\AppData\Roaming\Factorio\saves/_autosave1
7236.524 Verbose Scenario.cpp:643: Time to save game: 0.717321
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-skvdcq\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rail.cpp (96): Rail::RailConnection::getRail
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rollingstock.cpp (660): RollingStock::disconnectBothNeighbors
c:\cygwin64\tmp\factorio-skvdcq\src\rail\trainmanager.cpp (564): TrainManager::onRollingStockDestroyed
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rollingstock.cpp (242): RollingStock::onDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\locomotive.cpp (90): Locomotive::onDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\entity.cpp (248): Entity::forceDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\entity.cpp (652): Entity::mine
c:\cygwin64\tmp\factorio-skvdcq\src\manualstorage.cpp (158): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-skvdcq\src\manualminer.cpp (141): ManualMiner::performMining
c:\cygwin64\tmp\factorio-skvdcq\src\entity\character.cpp (505): Character::update
c:\cygwin64\tmp\factorio-skvdcq\src\surface\chunk.cpp (502): Chunk::update
c:\cygwin64\tmp\factorio-skvdcq\src\surface\surface.cpp (860): Surface::update
c:\cygwin64\tmp\factorio-skvdcq\src\map\map.cpp (1132): Map::update
c:\cygwin64\tmp\factorio-skvdcq\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-skvdcq\src\scenario\scenario.cpp (842): Scenario::update
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (761): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-skvdcq\src\util\workerthread.cpp (34): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAC2338364)
00007FFAC2338364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAC4365E91)
00007FFAC4365E91 (ntdll): (filename not available): RtlUserThreadStart
7261.375 Error Rail.cpp:96: Unknown connection direction
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-skvdcq\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (233): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rail.cpp (96): Rail::RailConnection::getRail
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rollingstock.cpp (660): RollingStock::disconnectBothNeighbors
c:\cygwin64\tmp\factorio-skvdcq\src\rail\trainmanager.cpp (564): TrainManager::onRollingStockDestroyed
c:\cygwin64\tmp\factorio-skvdcq\src\entity\rollingstock.cpp (242): RollingStock::onDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\locomotive.cpp (90): Locomotive::onDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\entity.cpp (248): Entity::forceDestroy
c:\cygwin64\tmp\factorio-skvdcq\src\entity\entity.cpp (652): Entity::mine
c:\cygwin64\tmp\factorio-skvdcq\src\manualstorage.cpp (158): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-skvdcq\src\manualminer.cpp (141): ManualMiner::performMining
c:\cygwin64\tmp\factorio-skvdcq\src\entity\character.cpp (505): Character::update
c:\cygwin64\tmp\factorio-skvdcq\src\surface\chunk.cpp (502): Chunk::update
c:\cygwin64\tmp\factorio-skvdcq\src\surface\surface.cpp (860): Surface::update
c:\cygwin64\tmp\factorio-skvdcq\src\map\map.cpp (1132): Map::update
c:\cygwin64\tmp\factorio-skvdcq\src\game.cpp (144): Game::update
c:\cygwin64\tmp\factorio-skvdcq\src\scenario\scenario.cpp (842): Scenario::update
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (761): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-skvdcq\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-skvdcq\src\util\workerthread.cpp (34): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAC2338364)
00007FFAC2338364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAC4365E91)
00007FFAC4365E91 (ntdll): (filename not available): RtlUserThreadStart
7262.538 Error CrashHandler.cpp:106: Map tick at moment of crash: 280961
7262.538 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.

aaargha
Filter Inserter
Filter Inserter
Posts: 333
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: [14.21] Crash mining colliding train on: "Rail::RailConnection::getRail"

Post by aaargha »

I think I'm experiencing the same issue, log files look similar at least, and I have a save in which I can reporduce it reliably.

Attaching save and mod used (I was building a setup to mess with the path-finder).

To get it to crash:
  • Turn on the constant combinator to the north-west.
  • A train will be launched from the east and collide with itself in the roundabout.
  • Try to mine the last cart (marked in the picture)
Attachments
Incriminating evidence
Incriminating evidence
Killer-cart.png (738.48 KiB) Viewed 6660 times
creative-mode_0.2.6.zip
Mod used
(934.01 KiB) Downloaded 159 times
TRAIN PATH TEST.zip
Savefile
(6.04 MiB) Downloaded 176 times
factorio-current.log
Resulting crash log
(8.59 KiB) Downloaded 187 times

Loewchen
Global Moderator
Global Moderator
Posts: 8969
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [14.21] Crash mining colliding train on: "Rail::RailConnection::getRail"

Post by Loewchen »

Can confirm, crashes with similar log.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [14.21] Crash mining colliding train on: "Rail::RailConnection::getRail"

Post by HanziQ »

Resolved for 0.15.

Post Reply

Return to “Resolved Problems and Bugs”