[0.17.1] Deleting Deconstruction Planner hard locks Factorio

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
User avatar
Krazykrl
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue May 02, 2017 11:08 pm
Contact:

[0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Krazykrl »

Using Q to clear cursor with an opened deconstruction planner causes factorio to instantly freeze (but still monopolize a CPU core), necessitating a taskkill on Factorio.exe. (When using a fresh map, the crash dialog comes up nearly instantly; but on a 15-minute or so save, it did not detect the hang.)

Steps to reproduce:
Press B and create new deconstruction planner
Leftclick deconstruction planner onto the hotbar
Rightclick deconstruction planner in hotbar to open config dialog (while decon planner is still in-hand)
Press Q to clear cursor of decon planner while its config window is open
(Additionally Factorio instantly hard locks if the "Export to string" button is clicked on this step, in the "orphan" config window.)


(May not happen on the first try, started a default preset new map with seed "1" and did not do anything before the steps to reproduce.)
factorio-current.log
Any more information available if needed.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Klonan »

I can't seem to reproduce the crash on win 10:



Can you provide any other steps which may help cause the crash?
Attachments
2019-02-27_14-28-11.mp4
(8.33 MiB) Downloaded 65 times

User avatar
Krazykrl
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue May 02, 2017 11:08 pm
Contact:

Re: [0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Krazykrl »

Klonan wrote:
Wed Feb 27, 2019 1:31 pm
Can you provide any other steps which may help cause the crash?
Instead of closing the dialog via the "trashcan", click export to string instead (I believe this is what causes the crash, it is 100% reproducible on my end if i click the export button.)
factorio-dump-current.dmp
(645.03 KiB) Downloaded 57 times
factorio-current.log
(31.45 KiB) Downloaded 63 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Klonan »

Krazykrl wrote:
Wed Feb 27, 2019 2:18 pm
Klonan wrote:
Wed Feb 27, 2019 1:31 pm
Can you provide any other steps which may help cause the crash?
Instead of closing the dialog via the "trashcan", click export to string instead (I believe this is what causes the crash, it is 100% reproducible on my end if i click the export button.)
factorio-dump-current.dmp
factorio-current.log
Thats weird, I still can't reproduce it, and the line you are erroring on is in a try-catch...

Can you try doing a full game reinstallation and see if the issue persist?

User avatar
Krazykrl
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue May 02, 2017 11:08 pm
Contact:

Re: [0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Krazykrl »

Issue persists.
  • Steps taken:
  • Backed up %appdata%\factorio\saves
  • Deleted %appdata%\factorio\config\config.ini (I had some modifications in it, like use sprite atlas)
  • Rightclicked factorio in steam, and uninstalled... then installed afterward (downloaded ~1.1GB)
  • Started New game, Default Preset, Seed: 1
  • Pressed B, leftclicked decon planner, leftclick-dropped it into hotbar slot 7
  • With decon planner still in-hand, rightclicked decon planner in hotbar
  • Pressed Q
  • Leftclicked Export String
  • Factorio Hung, and threw the crash dialog.
factorio-dump-current.dmp
0.17.1 Dump
(625.85 KiB) Downloaded 56 times
factorio-current.log
0.17.1 Logfile
(7.43 KiB) Downloaded 56 times
----------- Edit: Updated to 0.17.2 ------------

Updated to 0.17.2, have not played at all since previous report in this same reply. Issue Persists.
factorio-current.log
0.17.2 Logfile
(7.65 KiB) Downloaded 58 times
factorio-dump-current.dmp
0.17.2 Dump
(643 KiB) Downloaded 57 times
2019.02.28 - 09.24.36.14.mp4
0.17.2 Video
(10.26 MiB) Downloaded 65 times
Video
----------- Edit: Updated to 0.17.3 ------------
Issue Persists.

Loewchen
Global Moderator
Global Moderator
Posts: 8302
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.1] Deleting Deconstruction Planner hard locks Factorio

Post by Loewchen »

I can reproduce this in .4 and windows 7:

Code: Select all

   0.002 2019-03-02 23:38:21; Factorio 0.17.4 (build 43174, win64, alpha)
   0.002 Operating system: Windows 7 Service Pack 1
   0.002 Program arguments: "C:\Spiele\Factorio\Factorio_0.17.4\bin\x64\factorio.exe" 
   0.002 Read data path: C:/Spiele/Factorio/Factorio_0.17.4/data
   0.002 Write data path: C:/Spiele/Factorio/Factorio_0.17.4 [17063/114370MB]
   0.002 Binaries path: C:/Spiele/Factorio/Factorio_0.17.4/bin
   0.009 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 3999/8161 MB, page: 5480/16320 MB, virtual: 97/8388607 MB, extended virtual: 0 MB]
   0.009 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.012 Available displays: 1
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 770 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.043 Display: 0 -> Adapter: 0, Output: 0
   0.069 Initialised Direct3D[0]: NVIDIA GeForce GTX 770; driver: nvd3dumx.dll 22.21.13.8541
   0.069   D3D Feature Level: 11.0, DXGI 1.2+
   0.069   BGR 565 Supported: No
   0.069   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.111 Desktop composition is active.
   0.111 Graphics settings preset: very-high
   0.111   Dedicated video memory size 1989 MB
   0.111 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.111                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.127 DSound: Starting _dsound_update thread
   0.128 DSound: Enter _dsound_update; tid=6072
   0.188 Loading mod core 0.0.0 (data.lua)
   0.263 Loading mod base 0.17.4 (data.lua)
   0.491 Loading mod base 0.17.4 (data-updates.lua)
   0.578 Checksum for core: 3928040144
   0.578 Checksum of base: 60305742
   1.141 Loading sounds...
   1.270 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1551561241
   1.270 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.401 Initial atlas bitmap size is 16384
   1.434 Created atlas bitmap 16384x16380 [none]
   1.437 Created atlas bitmap 16384x11284 [none]
   1.438 Created atlas bitmap 16384x2116 [decal]
   1.439 Created atlas bitmap 16384x3808 [low-object]
   1.440 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.440 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.441 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.441 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.442 Created atlas bitmap 16384x748 [alpha-mask]
   1.444 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
   1.445 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.452 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.720 Parallel Sprite Loader initialized (threads: 3)
  16.042 Sprites loaded
  16.792 Generated mipmaps for atlas of size 16384x3808
  16.963 Generated mipmaps for atlas of size 16384x1888
  17.003 Generated mipmaps for atlas of size 16384x6592
  17.023 Generated mipmaps for atlas of size 16384x480
  17.033 Generated mipmaps for atlas of size 16384x456
  17.043 Generated mipmaps for atlas of size 16384x1264
  17.050 Custom inputs active: 0
  17.123 Factorio initialised
  17.126 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=Loewchen&token=<private>&apiVersion=2
  18.213 Info HttpSharedState.cpp:147: Status code: 200
  18.214 0 packages available to download (experimental updates enabled).
  43.579 Loading Level.dat: 1319448 bytes.
  43.580 Info Scenario.cpp:147: Map version 0.17.4-1
  43.610 Checksum for script C:/Spiele/Factorio/Factorio_0.17.4/temp/currently-playing/control.lua: 2366710471
 108.475 Loading Level.dat: 1319448 bytes.
 108.475 Info Scenario.cpp:147: Map version 0.17.4-1
 108.506 Checksum for script C:/Spiele/Factorio/Factorio_0.17.4/temp/currently-playing/control.lua: 2366710471
 179.145 Loading Level.dat: 1319448 bytes.
 179.145 Info Scenario.cpp:147: Map version 0.17.4-1
 179.175 Checksum for script C:/Spiele/Factorio/Factorio_0.17.4/temp/currently-playing/control.lua: 2366710471
 195.070 Error CrashHandler.cpp:515: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\crashhandler.cpp (524): CrashHandler::SignalHandler
minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (304): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000014050D438)
000000014050D438 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DEBF9D)
0000000076DEBF9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DC04CA)
0000000076DC04CA (ntdll): (filename not available): RtlInitializeResource
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DEB63E)
0000000076DEB63E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-jazpmx\src\item\deconstructionitem.cpp (102): DeconstructionItem::saveSettings
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\blueprintimportexportengine.cpp (168): BlueprintImportExportEngine::saveDeconstructionItemToPropertyTree
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\functional (16707566): std::_Func_impl_no_alloc<<lambda_3090f12c45b2c0e8c9f13a7e5531bbf5>,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::_Do_call
c:\cygwin64\tmp\factorio-build-jazpmx\src\gui\exportresultgui.cpp (103): ExportResultGui::loadAndAttachInternal
c:\cygwin64\tmp\factorio-build-jazpmx\src\gui\exportblueprintbutton.cpp (56): ExportBlueprintButton::mouseClick
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\agui\widget\widget.cpp (1105): agui::Widget::dispatchMouseClick
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\agui\gui.cpp (197): agui::Gui::handleMouseUp
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\agui\gui.cpp (767): agui::Gui::_dispatchMouseEvents
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\agui\gui.cpp (628): agui::Gui::logic
c:\cygwin64\tmp\factorio-build-jazpmx\src\globalcontext.cpp (1291): GlobalContext::updateGui
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (802): MainLoop::processEvent
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (620): MainLoop::processAllegroEvents
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (468): MainLoop::prePrepare
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (544): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (356): MainLoop::run
c:\cygwin64\tmp\factorio-build-jazpmx\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: 0000000076C759CD)
0000000076C759CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DD383D)
0000000076DD383D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 198.054 Error CrashHandler.cpp:174: Map tick at moment of crash: 842
 198.054 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.
 205.840 Uploading log file
 205.860 Error CrashHandler.cpp:221: Heap validation: success.
 205.860 Creating crash dump.
 205.942 CrashDump success
It does NOT happen when I use the decon planner from the toolbar or close the Blueprint window (opened with B) before placing the decon planer in the toolbar.

Post Reply

Return to “Pending”