[kovarex] [0.15.26] crash while trying to delete or move train

This subforum contains all the issues which we already resolved.
acabtr
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 02, 2017 1:05 pm
Contact:

[kovarex] [0.15.26] crash while trying to delete or move train

Post by acabtr »

Attachments
factorio-current.log
(8.81 KiB) Downloaded 86 times
Loewchen
Global Moderator
Global Moderator
Posts: 10327
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.26] crash while trying to delete or move train

Post by Loewchen »

Code: Select all

   0.002 2017-07-02 14:58:07; Factorio 0.15.26 (build 30561, win64, steam)
   0.002 Operating system: Windows 10 (version 1703) 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/aca/AppData/Roaming/Factorio
   0.003 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.012 System info: [CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz, 8 cores, RAM: 12285MB]
   0.013 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.017 Available display adapters: 2
   0.017  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x01, [1920,0], 1920x1200, 32bit, 59Hz}
   0.017  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.017 Create display on adapter 1. Size 1280x720 at position [310, 222].
   0.120 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvldumdx.dll 22.21.13.8205
   0.126     Video memory size (dedicated video/dedicated system/shared system/available): 4059/0/6142/4087 MB
   0.164 DSound: Starting _dsound_update thread
   0.165 DSound: Enter _dsound_update; tid=8524
   0.167 Device reset internal.
   0.170 Desktop composition is active.
   0.170 Graphics settings preset: very-high
   0.170 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.377 Loading mod settings long-reach 0.0.8 (settings.lua)
   0.379 Loading mod core 0.0.0 (data.lua)
   0.391 Loading mod base 0.15.26 (data.lua)
   0.551 Loading mod TheFatController 2.0.11 (data.lua)
   0.598 Loading mod FARL 1.1.3 (data.lua)
   0.639 Loading mod YARM 0.7.203 (data.lua)
   0.682 Loading mod base 0.15.26 (data-updates.lua)
   0.722 Loading mod FARL 1.1.3 (data-updates.lua)
   0.765 Loading mod FARL 1.1.3 (data-final-fixes.lua)
   0.813 Checksum for core: 3958718159
   0.813 Checksum of base: 1532126768
   0.813 Checksum of TheFatController: 4225568156
   0.813 Checksum of FARL: 668320250
   0.813 Checksum of long-reach: 3995667697
   0.813 Checksum of YARM: 1932353926
   1.239 Info PlayerData.cpp:58: Local player-data.json available, timestamp 1498998733
   1.239 Info PlayerData.cpp:63: Cloud player-data.json available, timestamp 1498950778
   1.495 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.496 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.517 Initial atlas bitmap size is 16384
   1.521 Created atlas bitmap 16384x5053
   1.802 Created atlas bitmap 8192x2101
   1.836 Created atlas bitmap 8192x1443
   1.857 Created atlas bitmap 4096x3648
   1.889 Created atlas bitmap 4096x1568
   1.901 Created atlas bitmap 4096x1860
  14.590 Sprites loaded
  14.590 Convert atlas 4096x3648 to: mipmap 
  14.676 Convert atlas 4096x1568 to: mipmap 
  14.729 Convert atlas 4096x1860 to: trilinear-filtering 
  15.072 Loading sounds...
  18.375 Custom inputs active: 1
  18.431 Factorio initialised
  30.828 Info BlueprintLibrary.cpp:48: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 2; timestamp = 1498992167; records: (id: 0, 0; label: "", preview: false, empty: false; book [id: 0, 1; label: "", preview: false, empty: false])
 179.236 Loading map C:\Users\aca\AppData\Roaming\Factorio\saves\s03 71.zip: 12091224 bytes.
 179.323 Loading Level.dat: 32658786 bytes.
 179.331 Info Scenario.cpp:135: Map version 0.15.26-1
 180.739 Info BlueprintLibrary.cpp:191: Loaded library shelves:
 180.739 Info BlueprintLibrary.cpp:693: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1498988948; records:
 180.739 Info BlueprintLibrary.cpp:695: Player shelf: playerIndex = 0, nextRecordID = 2; timestamp = 1498992167; records: (id: 0, 0; label: "", preview: false, empty: false; book [id: 0, 1; label: "", preview: false, empty: false])
 180.903 Info BlueprintLibrary.cpp:48: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 2; timestamp = 1498992167; records: (id: 0, 0; label: "", preview: false, empty: false; book [id: 0, 1; label: "", preview: false, empty: false])
 180.903 Loading script.dat: 24748 bytes.
 180.906 Checksum for script C:/Users/aca/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 282129324
 180.914 Checksum for script __TheFatController__/control.lua: 2011818066
 180.930 Checksum for script __FARL__/control.lua: 1885192928
 180.931 Checksum for script __long-reach__/control.lua: 148492066
 180.936 Checksum for script __YARM__/control.lua: 2843374674
 337.137 Loading map C:\Users\aca\AppData\Roaming\Factorio\saves\s03 72.zip: 12002397 bytes.
 337.209 Loading Level.dat: 32606833 bytes.
 337.216 Info Scenario.cpp:135: Map version 0.15.26-1
 338.624 Info BlueprintLibrary.cpp:191: Loaded library shelves:
 338.625 Info BlueprintLibrary.cpp:693: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1498988948; records:
 338.625 Info BlueprintLibrary.cpp:695: Player shelf: playerIndex = 0, nextRecordID = 2; timestamp = 1498992167; records: (id: 0, 0; label: "", preview: false, empty: false; book [id: 0, 1; label: "", preview: false, empty: false])
 338.783 Info BlueprintLibrary.cpp:48: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 2; timestamp = 1498992167; records: (id: 0, 0; label: "", preview: false, empty: false; book [id: 0, 1; label: "", preview: false, empty: false])
 338.784 Loading script.dat: 24934 bytes.
 338.786 Checksum for script C:/Users/aca/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 282129324
 338.795 Checksum for script __TheFatController__/control.lua: 2011818066
 338.812 Checksum for script __FARL__/control.lua: 1885192928
 338.813 Checksum for script __long-reach__/control.lua: 148492066
 338.817 Checksum for script __YARM__/control.lua: 2843374674
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-uooknl\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-uooknl\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-uooknl\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (1742): Train::resolveRailTransition
c:\cygwin64\tmp\factorio-uooknl\src\rail\railjoint.cpp (93): RailJoint::startOnNewRail
c:\cygwin64\tmp\factorio-uooknl\src\entity\rollingstock.cpp (283): RollingStock::Carriage::moveBackJointForward
c:\cygwin64\tmp\factorio-uooknl\src\entity\rollingstock.cpp (338): RollingStock::move
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (2037): Train::moveStock
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (2069): Train::tryToMove
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (1913): Train::move
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (1386): Train::updateSpeedAndMove
c:\cygwin64\tmp\factorio-uooknl\src\rail\train.cpp (1253): Train::update
c:\cygwin64\tmp\factorio-uooknl\src\rail\trainmanager.cpp (196): TrainManager::update
c:\cygwin64\tmp\factorio-uooknl\src\map\map.cpp (1256): Map::update
c:\cygwin64\tmp\factorio-uooknl\src\game.cpp (154): Game::update
c:\cygwin64\tmp\factorio-uooknl\src\scenario\scenario.cpp (784): Scenario::update
c:\cygwin64\tmp\factorio-uooknl\src\mainloop.cpp (915): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-uooknl\src\mainloop.cpp (785): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-uooknl\src\util\workerthread.cpp (35): 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*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __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: 00007FFE59572774)
00007FFE59572774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE59B70D61)
00007FFE59B70D61 (ntdll): (filename not available): RtlUserThreadStart
 355.943 Error Train.cpp:1742: Internal error: Train::resolveRailTransition newToOldRailConnection.rollingStockCount (0) != 1
Logger::writeStacktrace skipped.
 355.943 Error CrashHandler.cpp:106: Map tick at moment of crash: 14347318
 355.943 Error Util.cpp:80: 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16028
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.26] crash while trying to delete or move train

Post by Rseding91 »

Thanks for the report. Do you have any way to reproduce a known good train getting into this invalid state?
If you want to get ahold of me I'm almost always on Discord.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.15.26] crash while trying to delete or move train

Post by kovarex »

The problem is, that some of the rails are not marked as having the train on it, which is something that shouldn't normally happen.
Having a way to reproduce it would greatly help us to discover to cause of this problem.
We can fix the save if you need it btw.
acabtr
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 02, 2017 1:05 pm
Contact:

Re: [kovarex] [0.15.26] crash while trying to delete or move train

Post by acabtr »

Hey, thanks for replying.
I went around digging through my save folder and while i wasnt able to reproduce it fully i found this save where i'm able to pick up the train if i let it leave the station. If i try picking it up while in the station game crashes (first or second cargo wagon).

save and log here 015.28
https://www.dropbox.com/s/uwblz8efezep0 ... 2.zip?dl=0
https://pastebin.com/rNCJNqCZ

this is orginal save file from 0.12.29 if it means anything, same thing happen you just have to walk north east about 10 seconds to reach the station.
https://www.dropbox.com/s/y5o0mii1ffjk3 ... 1.zip?dl=0

If you can fix the save here is the version to fix: https://www.dropbox.com/s/p8aphjrz7lizx ... e.zip?dl=0

Thanks, and gl with bugs :)
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.15.26] crash while trying to delete or move train

Post by kovarex »

acabtr wrote:Hey, thanks for replying.
this is orginal save file from 0.12.29 if it means anything, same thing happen you just have to walk north east about 10 seconds to reach the station.
https://www.dropbox.com/s/y5o0mii1ffjk3 ... 1.zip?dl=0
This is an important information for me.
This means, that the rail corruption happened because of a bug we already fixed, and it just stayed there historically.
acabtr wrote: If you can fix the save here is the version to fix: https://www.dropbox.com/s/p8aphjrz7lizx ... e.zip?dl=0

Thanks, and gl with bugs :)
With pleasure (attached)
Attachments
s03 76 fixed.zip
(14.37 MiB) Downloaded 92 times
Post Reply

Return to “Resolved Problems and Bugs”