[0.17.4] Crash when canceling currently active research

Things that has been reported already before.
CarolinaGuy
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Apr 25, 2017 1:31 am
Contact:

[0.17.4] Crash when canceling currently active research

Post by CarolinaGuy »

Behavior:
When researching Mining Productivity 3, canceling this research caused a crash.

Situation/Testing for repeatability:
  • Was playing multiplayer and was hosting the game on my PC. Canceled Mining Productivity 3, game crashed.
  • Reloaded Factorio, rehosted game from autosave_1, tried to cancel research, crash.
  • Reloaded Factorio, loaded autosave_1 game in single player, tried to cancel research, crash.
    • (become overly excited that I finally found a bug to report!)
  • Reloaded previous autosave_2 from 10 minutes earlier, was actively researching Mining productivity 2, canceled research, no crash.
  • Resumed playing autosave_2, finished researching Mining productivity 2, started mining productivity 3, waited to same researched point (~25%) and canceled research, no crash.
Unfortunately I forgot to save the crashing version of the game as a different file name and it autosaved over, but i did get the log and dump files, if that helps. I searched for a similar bug but did not see any.
Attachments
factorio-previous.log
(7.32 KiB) Downloaded 118 times
factorio-dump-current.dmp
(600.79 KiB) Downloaded 108 times

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

Re: [0.17.4] Crash when canceling currently active research

Post by Loewchen »

Code: Select all

   0.000 2019-03-01 17:36:26; Factorio 0.17.4 (build 43174, win64, steam)
   0.000 Operating system: Windows 7 Service Pack 1
   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/Desktop/AppData/Roaming/Factorio [188747/476837MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.008 System info: [CPU:        Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz, 4 cores, RAM: 2666/8075 MB, page: 3249/16148 MB, virtual: 172/8388607 MB, extended virtual: 0 MB]
   0.008 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.021 Available displays: 2
   0.021  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 6GB {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.022  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1060 6GB {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.067 Display: 0 -> Adapter: 0, Output: 0
   0.148 Initialised Direct3D[0]: NVIDIA GeForce GTX 1060 6GB; driver: nvd3dumx.dll 24.21.13.9882
   0.148   D3D Feature Level: 11.0, DXGI 1.2+
   0.148   BGR 565 Supported: No
   0.148   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.189 Desktop composition is active.
   0.189 Graphics settings preset: very-high
   0.189   Dedicated video memory size 6036 MB
   0.189 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.189                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.216 DSound: Starting _dsound_update thread
   0.216 DSound: Enter _dsound_update; tid=3344
   0.365 Loading mod core 0.0.0 (data.lua)
   0.433 Loading mod base 0.17.4 (data.lua)
   0.634 Loading mod base 0.17.4 (data-updates.lua)
   0.715 Checksum for core: 3928040144
   0.715 Checksum of base: 60305742
   1.205 Loading sounds...
   1.276 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.276 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551478008
   1.393 Initial atlas bitmap size is 16384
   1.427 Created atlas bitmap 16384x16380 [none]
   1.433 Created atlas bitmap 16384x11284 [none]
   1.434 Created atlas bitmap 16384x2116 [decal]
   1.436 Created atlas bitmap 16384x3808 [low-object]
   1.437 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.439 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.439 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.440 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.441 Created atlas bitmap 16384x748 [alpha-mask]
   1.444 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
   1.444 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.451 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.199 Parallel Sprite Loader initialized (threads: 3)
  13.384 Sprites loaded
  13.434 Generated mipmaps for atlas of size 16384x3808
  13.454 Generated mipmaps for atlas of size 16384x1888
  13.474 Generated mipmaps for atlas of size 16384x6592
  13.484 Generated mipmaps for atlas of size 16384x480
  13.494 Generated mipmaps for atlas of size 16384x456
  13.504 Generated mipmaps for atlas of size 16384x1264
  13.508 Custom inputs active: 0
  13.563 Factorio initialised
  46.841 Loading map C:\Users\Desktop\AppData\Roaming\Factorio\saves\_autosave3.zip: 6770152 bytes.
  46.884 Loading Level.dat: 12987373 bytes.
  46.888 Info Scenario.cpp:147: Map version 0.17.4-1
  47.266 Loading script.dat: 328 bytes.
  47.269 Checksum for script C:/Users/Desktop/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
  58.881 Loading map C:\Users\Desktop\AppData\Roaming\Factorio\saves\_autosave1.zip: 6993868 bytes.
  58.921 Loading Level.dat: 13051865 bytes.
  58.926 Info Scenario.cpp:147: Map version 0.17.4-1
  59.302 Loading script.dat: 328 bytes.
  59.305 Checksum for script C:/Users/Desktop/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
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\logging.cpp (89): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-ocil06\src\util\logging.cpp (83): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-ocil06\src\technology\researchmanager.cpp (262): ResearchManager::cancelResearch
c:\cygwin64\tmp\factorio-build-ocil06\src\gameactionhandler.cpp (3192): GameActionHandler::cancelResearch
c:\cygwin64\tmp\factorio-build-ocil06\src\gameactionhandler.cpp (321): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-ocil06\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-ocil06\src\gameactionhandler.cpp (364): GameActionHandler::update
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (1058): 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: 0000000076EA59CD)
0000000076EA59CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007700383D)
000000007700383D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  72.858 Error ResearchManager.cpp:265: (this->researchQueue.empty() && this->technologyInResearch == nullptr) || (!this->researchQueue.empty() && (this->technologyInResearch == nullptr || this->researchQueue.front() == this->technologyInResearch->getID())) was not true
Logger::writeStacktrace skipped.
  72.858 Error CrashHandler.cpp:174: Map tick at moment of crash: 828059
  72.858 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.
 132.938 Uploading log file
 132.945 Error CrashHandler.cpp:221: Heap validation: success.
 132.946 Creating crash dump.
 133.121 CrashDump success

ceresward
Inserter
Inserter
Posts: 26
Joined: Mon Dec 18, 2017 8:45 pm
Contact:

Re: [0.17.4] Crash when canceling currently active research

Post by ceresward »

I had this too. I was researching Mining Productivity 3, decided I wanted to research something different (Fluid wagons), so I added the new research to the queue then clicked the 'X' on Mining Productivity 3 to cancel. Game crashed with a dialog asking me to report it here. This was a single-player game.
Attachments
factorio-dump-current.dmp
(715.81 KiB) Downloaded 112 times
factorio-current.log
(7.45 KiB) Downloaded 121 times
017.zip
(4.99 MiB) Downloaded 96 times

Fyreffect
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 02, 2019 7:00 am
Contact:

Re: [0.17.4] Crash when canceling currently active research

Post by Fyreffect »

Ive run into this bug as well but im currently on Mining Productivity 11 and it seems fickle on what combination of research i can mess with so im going to let it ride and see what happens and i have auto save set to every 3 minutes now for backups.
ver. [x.17.4]
Attachments
factorio-current.log
(7.38 KiB) Downloaded 110 times

Triston
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Dec 14, 2017 4:00 pm
Contact:

Re: [0.17.4] Crash when canceling currently active research

Post by Triston »

Same for me -- posted save files in viewtopic.php?f=7&t=66288&p=405170#p405170


Post Reply

Return to “Duplicates”