[kovarex] [0.17.4] Train schedule crash

This subforum contains all the issues which we already resolved.
Post Reply
raisins
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Jul 03, 2016 11:53 pm
Contact:

[kovarex] [0.17.4] Train schedule crash

Post by raisins »

Not sure if this is the same bug as the one that was just "fixed"? But it's happening in 0.17.4, so.

I crash when I interact with the schedule of one of my trains. I can enter the train and drive it manually and that works. But I crash as soon as I open the train GUI, or deconstruct the locomotive, or copy another locomotive onto it.

There is another train on the the map which works fine, I can even change its schedule.

Mods (still happens if I turn them all off though):
Bottleneck
far-reach
helmod
Long_Range_Radar
PickerAtheneum
PickerExtended
Squeak Through
stdlib

Code: Select all

   0.001 2019-03-01 14:43:47; Factorio 0.17.4 (build 43174, win64, steam)
   0.001 Operating system: Windows 10 (build 17763) 
   0.002 Program arguments: "D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" "--mod-directory" "C:\Users\John\AppData\Roaming\Factorio\mods vanilla plus" 
   0.002 Read data path: D:/SteamLibrary/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/John/AppData/Roaming/Factorio [25396/121551MB]
   0.002 Binaries path: D:/SteamLibrary/steamapps/common/Factorio/bin
   0.008 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 3928/8147 MB, page: 6260/16339 MB, virtual: 4265/134217727 MB, extended virtual: 0 MB]
   0.009 Display options: [FullScreen: 0] [VSync: 0] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.016 Available displays: 1
   0.016  [0]: \\.\DISPLAY1 - AMD Radeon (TM) R9 380 Series {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.063 Display: 0 -> Adapter: 0, Output: 0
   0.139 Initialised Direct3D[0]: AMD Radeon (TM) R9 380 Series; driver: aticfx64.dll 22.19.677.257
   0.139   D3D Feature Level: 11.1, DXGI 1.5+
   0.139   [Local Video Memory] Budget: 3460MB, CurrentUsage: 0MB, Reservation: 0/1832MB
   0.139   [Non-Local Vid.Mem.] Budget: 3666MB, CurrentUsage: 0MB, Reservation: 0/1935MB
   0.139   Tiled resources: Tier 2
   0.139   Unified Memory Architecture: No
   0.139   BGR 565 Supported: Yes
   0.139   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.180 Desktop composition is active.
   0.180 Graphics settings preset: very-high
   0.180   Dedicated video memory size 4071 MB
   0.180 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: high-quality]
   0.180                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 1] [Low quality rotation: 0]
   0.232 DSound: Starting _dsound_update thread
   0.233 DSound: Enter _dsound_update; tid=8704
   0.381 Loading mod core 0.0.0 (data.lua)
   0.448 Loading mod base 0.17.4 (data.lua)
   0.655 Loading mod base 0.17.4 (data-updates.lua)
   0.743 Checksum for core: 3928040144
   0.743 Checksum of base: 60305742
   1.234 Loading sounds...
   1.398 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.398 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.518 Crop bitmaps.
   2.615 Parallel Sprite Loader initialized (threads: 3)
   5.453 Initial atlas bitmap size is 16384
   5.456 Created atlas bitmap 16384x6216 [none]
   5.456 Created atlas bitmap 16384x688 [decal]
   5.457 Created atlas bitmap 16384x1104 [low-object]
   5.457 Created atlas bitmap 16384x656 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   5.457 Created atlas bitmap 16384x2096 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   5.458 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   5.458 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   5.458 Created atlas bitmap 16384x216 [alpha-mask]
   5.460 Created atlas bitmap 16384x3688 [shadow, linear-magnification, alpha-mask]
   5.460 Created atlas bitmap 16384x384 [shadow, mipmap, linear-magnification, alpha-mask]
   5.527 Created virtual atlas pages 4096x4096x3
   5.535 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   6.600 Parallel Sprite Loader initialized (threads: 3)
   9.722 Sprites loaded
   9.778 Generated mipmaps for atlas of size 16384x1104
   9.810 Generated mipmaps for atlas of size 16384x656
   9.832 Generated mipmaps for atlas of size 16384x2096
   9.853 Generated mipmaps for atlas of size 16384x480
   9.864 Generated mipmaps for atlas of size 16384x456
   9.875 Generated mipmaps for atlas of size 16384x384
   9.912 Generated mipmaps for virtual atlas of size 4096x12288
   9.916 Custom inputs active: 0
   9.968 Factorio initialised
  10.012 SteamAPI is not initialized
  53.954 Loading map C:\Users\John\AppData\Roaming\Factorio\saves\_autosave1.zip: 8290969 bytes.
  54.007 Loading Level.dat: 15992425 bytes.
  54.012 Info Scenario.cpp:147: Map version 0.17.3-0
  55.003 Loading script.dat: 81881 bytes.
  55.007 Checksum for script C:/Users/John/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
  84.131 Error CrashHandler.cpp:376: Exception Code: 80000001, Address: 0x00007ff68d992db6
ModuleBase: 0x00007ff68d160000, ImageSize: 015ed000, RelativeAddress: 00832db6
  84.132 Error CrashHandler.cpp:396: Exception Context:
rax=000000a16a3fcac8, rbx=00000213a9853530, rcx=00000213a9853558,
rdx=00000213a5847d30, rsi=00000213a00fc280, rdi=00000213a00fc1a0,
rip=00007ff68d992db6, rsp=000000a169afe4f8, rbp=0000000000000000,
 r8=00000213b3688b04,  r9=00000000000003d8, r10=0000000000000000,
r11=0000000000000000, r12=00000213a00fc280, r13=00000213a3812700,
r14=0000000000000000, r15=00000213a00fbfe0
  84.132 Crashed in D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff68d160000 - 0x00007ff68e74d000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-ocil06\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-ocil06\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-ocil06\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE1B1584C)
00007FFEE1B1584C (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE58A80CB)
00007FFEE58A80CB (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE588FD36)
00007FFEE588FD36 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE58A468F)
00007FFEE58A468F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE5804BEF)
00007FFEE5804BEF (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE58A33FE)
00007FFEE58A33FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-ocil06\src\util\targeter.cpp (102): TargeterBase::operator=
c:\cygwin64\tmp\factorio-build-ocil06\src\rail\trainschedule.cpp (202): TrainScheduleRecord::TrainScheduleRecord
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\vector (1823): std::vector<TrainScheduleRecord,std::allocator<TrainScheduleRecord> >::_Ucopy<TrainScheduleRecord *>
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\vector (1366): std::vector<TrainScheduleRecord,std::allocator<TrainScheduleRecord> >::_Assign_range<TrainScheduleRecord *>
c:\cygwin64\tmp\factorio-build-ocil06\src\rail\train.cpp (249): Train::calcCreationData
c:\cygwin64\tmp\factorio-build-ocil06\src\rail\trainmanager.cpp (765): TrainManager::onRollingStockDestroyed
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\locomotive.cpp (107): Locomotive::onDestroy
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\entity.cpp (284): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-ocil06\src\manualstorage.cpp (212): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-build-ocil06\src\manualminer.cpp (123): ManualMiner::performMining
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\character.cpp (672): Character::update
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (555): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (604): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\surface.cpp (1362): Surface::update
c:\cygwin64\tmp\factorio-build-ocil06\src\map\map.cpp (1435): Map::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\game.cpp (189): Game::update
c:\cygwin64\tmp\factorio-build-ocil06\src\scenario\scenario.cpp (1077): Scenario::update
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (1064): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-ocil06\src\util\workerthread.cpp (42): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE2BA81F4)
00007FFEE2BA81F4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFEE586A251)
00007FFEE586A251 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  86.588 Error CrashHandler.cpp:174: Map tick at moment of crash: 1476418
  86.588 Error Util.cpp:97: 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.
  91.695 Uploading log file
  91.820 Error CrashHandler.cpp:221: Heap validation: success.
  91.822 Creating crash dump.
  92.160 CrashDump success
Attachments
factorio-current 0.17.4 deconstruct train.log
(9.87 KiB) Downloaded 53 times
_autosave1.zip
(7.91 MiB) Downloaded 61 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.4] Train schedule crash

Post by kovarex »

I tried to remove the train in the save and it didn't crash so I guess that it was fixed by one of the recent fixes related to trains (there were several).

Post Reply

Return to “Resolved Problems and Bugs”