Page 1 of 1

[0.17.1] Crash when closing game from tutorial

Posted: Tue Feb 26, 2019 11:26 pm
by fochristo
I was in the tutorial for logistic when I saw that it was late, I closed Factorio (not in full screen, so i click on the cross at top right in the system menu) : crash.

444.978 Error FloatingGuiWindow.cpp:79: FloatingGuiWindow count expected to be 0 but was: 1. Most likely the class is leaking.

Re: [0.17.1] Crash when closing game from tutorial

Posted: Sat Mar 02, 2019 8:40 pm
by Loewchen

Code: Select all

   0.001 2019-02-27 00:14:52; Factorio 0.17.1 (build 43001, win64, steam)
   0.001 Operating system: Windows 10 (version 1803) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Kryss/AppData/Roaming/Factorio [135710/456867MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.008 System info: [CPU:        Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 4 cores, RAM: 8183/16365 MB, page: 11699/21608 MB, virtual: 4326/134217727 MB, extended virtual: 0 MB]
   0.008 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.014 Available displays: 1
   0.014  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 6GB {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.059 Display: 0 -> Adapter: 0, Output: 0
   0.214 Initialised Direct3D[0]: NVIDIA GeForce GTX 1060 6GB; driver: nvldumdx.dll 23.21.13.9077
   0.214   D3D Feature Level: 11.1, DXGI 1.5+
   0.214   [Local Video Memory] Budget: 5144MB, CurrentUsage: 1MB, Reservation: 0/2723MB
   0.214   [Non-Local Vid.Mem.] Budget: 7364MB, CurrentUsage: 0MB, Reservation: 0/3886MB
   0.214   Tiled resources: Tier 2
   0.214   Unified Memory Architecture: No
   0.214   BGR 565 Supported: Yes
   0.214   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.254 Desktop composition is active.
   0.254 Graphics settings preset: very-high
   0.254   Dedicated video memory size 6052 MB
   0.254 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.254                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.301 DSound: Starting _dsound_update thread
   0.301 DSound: Enter _dsound_update; tid=11412
   0.962 Razer Chroma Controller initialized.
   1.012 Loading mod core 0.0.0 (data.lua)
   1.088 Loading mod base 0.17.1 (data.lua)
   1.305 Loading mod base 0.17.1 (data-updates.lua)
   1.396 Checksum for core: 1014885620
   1.396 Checksum of base: 819815259
   1.891 Loading sounds...
   1.993 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.993 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551222727
   2.117 Initial atlas bitmap size is 16384
   2.149 Created atlas bitmap 16384x16380 [none]
   2.152 Created atlas bitmap 16384x11284 [none]
   2.153 Created atlas bitmap 16384x2116 [decal]
   2.154 Created atlas bitmap 16384x3808 [low-object]
   2.155 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.156 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   2.156 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   2.157 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   2.157 Created atlas bitmap 16384x748 [alpha-mask]
   2.160 Created atlas bitmap 16384x12636 [shadow, linear-magnification, alpha-mask]
   2.160 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   3.164 Parallel Sprite Loader initialized (threads: 3)
  16.433 Sprites loaded
  16.521 Generated mipmaps for atlas of size 16384x3808
  16.554 Generated mipmaps for atlas of size 16384x1888
  16.587 Generated mipmaps for atlas of size 16384x6592
  16.598 Generated mipmaps for atlas of size 16384x480
  16.609 Generated mipmaps for atlas of size 16384x456
  16.620 Generated mipmaps for atlas of size 16384x1264
  16.626 Custom inputs active: 0
  16.734 Factorio initialised
 138.392 Loading Level.dat: 1016055 bytes.
 138.393 Info Scenario.cpp:147: Map version 0.17.1-1
 138.430 Checksum for script C:/Users/Kryss/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
 276.820 Supending game state
 276.820 Entering tutorial: [base]logistic-system-basic
 276.836 Info PrototypeMigrationList.cpp:60: Activating migration base/2017-12-03_Factorio_0.16.0.json
 276.836 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-05-22_Factorio_0.17.0.json
 276.836 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-06-12_Factorio_0.17.0.json
 276.836 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-21_Factorio_0.17.0.json
 276.836 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-27_Factorio_0.17.0.json
 277.247 Applying migration: Base Mod: 2017-11-07_Factorio_0.16.0.lua
 277.253 Applying migration: Base Mod: 2018-01-09_Factorio_0.16.15.lua
 277.255 Applying migration: Base Mod: 2018-01-09_Factorio_0.16.27.lua
 277.261 Applying migration: Base Mod: 2018-08-03_Factorio_0.17.0.lua
 277.270 Applying migration: Base Mod: 2018-08-14_Factorio_0.17.0.lua
 277.272 Applying migration: Base Mod: 2018-10-25_Factorio_0.17.0.lua
 277.545 Loading Level.dat: 524502 bytes.
 277.546 Info Scenario.cpp:147: Map version 0.17.1-1
 277.591 Checksum for script C:/Users/Kryss/AppData/Roaming/Factorio/temp/currently-playing-tutorial/control.lua: 4210631720
 442.747 DSound: Stopping voice
 442.747 DSound: Joining thread
 442.749 DSound: Exit _dsound_update; tid=11412
 442.749 DSound: Waiting for voice to stop ... signaled
 442.749 DSound: Joined thread
 442.749 DSound: Destroying thread
 442.749 DSound: Thread destroyed
 442.749 DSound: Releasing buffer
 442.749 DSound: Voice stopped
 442.749 DSound: Deallocating voice
 442.749 DSound: Deallocated voice
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-j6o5ie\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-j6o5ie\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-j6o5ie\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-j6o5ie\src\util\logging.cpp (89): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-j6o5ie\src\util\logging.cpp (83): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-j6o5ie\src\gui\floatingguiwindow.cpp (79): FloatingGuiWindow::checkIsZero
c:\cygwin64\tmp\factorio-build-j6o5ie\src\globalcontext.cpp (807): GlobalContext::clearResources
c:\cygwin64\tmp\factorio-build-j6o5ie\src\globalcontext.cpp (820): GlobalContext::~GlobalContext
c:\cygwin64\tmp\factorio-build-j6o5ie\src\mainloop.cpp (424): MainLoop::run
c:\cygwin64\tmp\factorio-build-j6o5ie\src\main.cpp (1244): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF90C5B3DC4)
00007FF90C5B3DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF90CC93691)
00007FF90CC93691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 444.978 Error FloatingGuiWindow.cpp:79: FloatingGuiWindow count expected to be 0 but was: 1. Most likely the class is leaking.
Logger::writeStacktrace skipped.
 444.978 Error Util.cpp:89: 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.
 458.176 Error CrashHandler.cpp:221: Heap validation: success.
 458.177 Creating crash dump.
 458.572 CrashDump success

Re: [0.17.1] Crash when closing game from tutorial

Posted: Fri Mar 08, 2019 9:53 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.