Page 1 of 1

[0.15.5] Modifying Train in Map Editor Crashes the Game

Posted: Mon May 01, 2017 3:45 am
by catcherben
When changing the color or schedule to any train in the map editor, the game crashes. Attached is a log.

Code: Select all

   0.001 2017-04-30 22:40:40; Factorio 0.15.5 (build 29304, win64, steam)
   0.001 Operating system: Windows 10 (version 1607) 
   0.001 Program arguments: "G:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "4368" 
   0.001 Read data path: G:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/*******/AppData/Roaming/Factorio
   0.001 Binaries path: G:/Steam/steamapps/common/Factorio/bin
   0.008 System info: [CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, 8 cores, RAM: 16328MB]
   0.008 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.012 Available display adapters: 2
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1070 {0x8000005, [0,0], 1920x1080, 32bit, 75Hz}
   0.012  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1070 {0x01, [-1920,0], 1920x1080, 32bit, 70Hz}
   0.013 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.705 Initialised Direct3D:[0] NVIDIA GeForce GTX 1070; driver: nvldumdx.dll 22.21.13.8189
   0.707     Video memory size (dedicated video/dedicated system/shared system/available): 8119/0/8164/4088 MB
   0.733 DSound: Starting _dsound_update thread
   0.733 DSound: Enter _dsound_update; tid=6324
   0.734 Device reset internal.
   0.736 Desktop composition is active.
   0.736 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
   0.736 Graphics settings preset: very-high
   0.737 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false]
   0.798 Loading mod core 0.0.0 (data.lua)
   0.808 Loading mod base 0.15.5 (data.lua)
   0.911 Loading mod base 0.15.5 (data-updates.lua)
   0.988 Checksum for core: 2926038370
   0.988 Checksum of base: 2698305660
   1.110 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493610040
   1.110 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   1.189 Loaded shader file G:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.190 Loaded shader file G:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.204 Initial atlas bitmap size is 16384
   1.222 Created atlas bitmap 16384x16371
   1.681 Created atlas bitmap 16384x8937
   1.884 Created atlas bitmap 4096x3980
   1.909 Created atlas bitmap 4096x3648
  12.852 Sprites loaded
  12.852 Convert atlas 4096x3980 to: trilinear-filtering 
  12.936 Convert atlas 4096x3648 to: mipmap 
  13.548 Loading sounds...
  15.495 Custom inputs active: 0
  15.535 Factorio initialised
  15.535 Game is running on selected version branch on Steam.
  43.823 Error CrashHandler.cpp:141: Exception Code: c0000005, Address: 0x00007ff7fe8d3665
ModuleBase: 0x00007ff7fe590000, ImageSize: 0118e000, RelativeAddress: 00343665
  43.823 Error CrashHandler.cpp:151: Exception Context:
rax=00007ff7fe6bb260, rbx=00000174060914b0, rcx=0000000000000000,
rdx=00000000073d074c, rsi=00000174f299c7e0, rdi=0000000000000000,
rip=00007ff7fe8d3665, rsp=000000419a39f390, rbp=000000419a39f440,
 r8=00007ff7fe6bb260,  r9=0000000000000019, r10=0000017473bea040,
r11=0000000000000000, r12=0000000000000000, r13=2aaaaaaaaaaaaaab,
r14=000000419a39f4d0, r15=0000000000000000
  43.823 Crashed in G:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7fe590000 - 0x00007ff7ff71e000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-aszgcm\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-aszgcm\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-aszgcm\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-aszgcm\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-aszgcm\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA2E264F77)
00007FFA2E264F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA313BED1B)
00007FFA313BED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA313A6BD6)
00007FFA313A6BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA313BAB9D)
00007FFA313BAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA31359913)
00007FFA31359913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA313B9CBA)
00007FFA313B9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-aszgcm\src\input\commonactionhandler.cpp (373): CommonActionHandler::setEntityColor
c:\cygwin64\tmp\factorio-aszgcm\src\mapeditor\mapeditorinputhandler.cpp (368): MapEditorInputHandler::processGuiAction
c:\cygwin64\tmp\factorio-aszgcm\src\input\guiactionhandler.cpp (23): QueuedGuiActionHandler::processGuiActions
c:\cygwin64\tmp\factorio-aszgcm\src\mapeditor\mapeditor.cpp (104): MapEditor::update
c:\cygwin64\tmp\factorio-aszgcm\src\mainloop.cpp (691): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-aszgcm\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 RouterBase::*)(void) __ptr64,ClientRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __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: 00007FFA30B78364)
00007FFA30B78364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA313770D1)
00007FFA313770D1 (ntdll): (filename not available): RtlUserThreadStart
  45.052 Error CrashHandler.cpp:106: Map tick at moment of crash: 0
  45.052 Error Util.cpp:76: 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.

Re: [0.15.5] Modifying Train in Map Editor Crashes the Game

Posted: Wed May 03, 2017 11:49 pm
by Rseding91
Thanks for the report. This is fixed for the next version of 0.15.