Page 1 of 1

[0.15.4] Map editor crashes when right clicking tree

Posted: Sat Apr 29, 2017 9:19 pm
by Xiretza
The game crashes every time you right click a tree entity with any entity in "cursor" mode. Normally this changes the graphics variation, and it works fine with rocks (those are the only ones I've tested).

Log:

Code: Select all

   0.001 2017-04-29 22:57:09; Factorio 0.15.4 (build 29262, win64, steam)
   0.001 Operating system: Windows 10 (version 1607) 
   0.001 Not rotating logs.
   0.001 Program arguments: "D:\Games\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: D:/Games/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Xiretza/AppData/Roaming/Factorio
   0.001 Binaries path: D:/Games/steamapps/common/Factorio/bin
   0.009 System info: [CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 8 cores, RAM: 16335MB]
   0.010 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.011 Available display adapters: 2
   0.011  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 960 {0x01, [-1920,211], 1920x1080, 32bit, 60Hz}
   0.012  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 960 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.012 Create display on adapter 1. Size 1280x720 at position [310, 162].
   0.685 Initialised Direct3D:[0] NVIDIA GeForce GTX 960; driver: nvldumdx.dll 22.21.13.8189
   0.688     Video memory size (dedicated video/dedicated system/shared system/available): 4062/0/8167/4092 MB
   0.718 DSound: Starting _dsound_update thread
   0.719 DSound: Enter _dsound_update; tid=26360
   0.720 Device reset internal.
   0.722 Desktop composition is active.
   0.722 Graphics settings preset: very-high
   0.723 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false]
   0.789 Loading mod core 0.0.0 (data.lua)
   0.798 Loading mod base 0.15.4 (data.lua)
   0.914 Loading mod base 0.15.4 (data-updates.lua)
   0.994 Checksum for core: 2926038370
   0.994 Checksum of base: 181075648
   1.122 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493489898
   1.122 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1493325357
   1.213 Loaded shader file D:/Games/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.213 Loaded shader file D:/Games/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.225 Initial atlas bitmap size is 16384
   1.245 Created atlas bitmap 16384x16371
   1.757 Created atlas bitmap 16384x8937
   1.982 Created atlas bitmap 4096x3980
   2.005 Created atlas bitmap 4096x3648
  13.384 Sprites loaded
  13.384 Convert atlas 4096x3980 to: trilinear-filtering 
  13.479 Convert atlas 4096x3648 to: mipmap 
  14.155 Loading sounds...
  16.107 Custom inputs active: 0
  16.145 Device reset internal.
  16.912 Factorio initialised
  42.672 Error CrashHandler.cpp:141: Exception Code: c0000094, Address: 0x00007ff7680b0fd9
ModuleBase: 0x00007ff767ef0000, ImageSize: 0118d000, RelativeAddress: 001c0fd9
  42.672 Error CrashHandler.cpp:151: Exception Context:
rax=0000000000000001, rbx=0000000000000000, rcx=000002092223ab60,
rdx=0000000000000000, rsi=00007ff768c128f8, rdi=0000020932363830,
rip=00007ff7680b0fd9, rsp=000000dfd6bca918, rbp=0000020921810bb0,
 r8=0000000000000000,  r9=0000000000000001, r10=000002090c56bf48,
r11=000002090c56bf48, r12=0000000000000000, r13=000000dfd6bcda80,
r14=000002092223ab60, r15=000000dfd6bcaa24
  42.672 Crashed in D:\Games\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff767ef0000 - 0x00007ff76907d000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vqopbo\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vqopbo\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vqopbo\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vqopbo\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-vqopbo\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC7ED44F77)
00007FFC7ED44F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC828AED1B)
00007FFC828AED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC82896BD6)
00007FFC82896BD6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC828AAB9D)
00007FFC828AAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC82849913)
00007FFC82849913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC828A9CBA)
00007FFC828A9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-vqopbo\src\entity\tree.cpp (144): Tree::setGraphicsVariation
c:\cygwin64\tmp\factorio-vqopbo\src\mapeditor\mapeditorengine.cpp (409): MapEditorEngine::tryChangeToNextEntityVariation
c:\cygwin64\tmp\factorio-vqopbo\src\util\signal.hpp (42): Signal<CursorTool * __ptr64,bool,RealPosition const & __ptr64>::operator()
c:\cygwin64\tmp\factorio-vqopbo\src\mapeditor\cursortool.cpp (47): CursorTool::processAllegroEvent
c:\cygwin64\tmp\factorio-vqopbo\src\mapeditor\mapeditorinputhandler.cpp (145): MapEditorInputHandler::processAllegroEvent
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (526): MainLoop::processAllegroEvent
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (454): MainLoop::processAllegroEvents
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (306): MainLoop::prePrepare
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (379): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (227): MainLoop::run
c:\cygwin64\tmp\factorio-vqopbo\src\main.cpp (881): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC817F8364)
00007FFC817F8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC828670D1)
00007FFC828670D1 (ntdll): (filename not available): RtlUserThreadStart
  43.982 Error CrashHandler.cpp:106: Map tick at moment of crash: 0
  43.982 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.4] Map editor crashes when right clicking tree

Posted: Sat Apr 29, 2017 9:29 pm
by posila
Thanks for the report.
Fixed for 0.15.5