[Oxyd] [0.17.0] Moving old blueprints to "Game Blueprints" causes crash (BlueprintShelf::addAt)

Things that has been reported already before.
Post Reply
dockmeister
Inserter
Inserter
Posts: 48
Joined: Tue Feb 26, 2019 5:49 pm
Contact:

[Oxyd] [0.17.0] Moving old blueprints to "Game Blueprints" causes crash (BlueprintShelf::addAt)

Post by dockmeister »

Hi,

Steps to reproduce:

1. Pick a Blueprint created with v <= 0.16.51 out of the general blueprint book (right hand side)
2. Drop Blueprint in any slot on the toolbar
3. Drag Blueprint from toolbar into "Game Blueprints" (left hand side)
-> crashlog below

Notes:
- does not happen when moving old blueprint directly to "Game Blueprints"
- does not happen with newly created blueprints

Update: It does also happen with new blueprints!

Code: Select all

   0.002 2019-02-26 18:49:31; Factorio 0.17.0 (build 42971, win64, steam)
   0.002 Operating system: Windows 10 (version 1709) 
   0.004 Program arguments: "G:\Games\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.004 Read data path: G:/Games/steamapps/common/Factorio/data
   0.004 Write data path: C:/Users/chris/AppData/Roaming/Factorio [111834/204923MB]
   0.004 Binaries path: G:/Games/steamapps/common/Factorio/bin
   0.013 System info: [CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 4 cores, RAM: 3642/16249 MB, page: 5312/19321 MB, virtual: 229/134217727 MB, extended virtual: 0 MB]
   0.013 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.022 Available displays: 2
   0.022  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 650 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.023  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 650 Ti {0x01, [-1280,0], 1280x1024, 32bit, 60Hz}
   0.072 Display: 0 -> Adapter: 0, Output: 0
   0.179 Initialised Direct3D[0]: NVIDIA GeForce GTX 650 Ti; driver: nvldumdx.dll 25.21.14.1616
   0.180   D3D Feature Level: 11.0, DXGI 1.5+
   0.180   [Local Video Memory] Budget: 1706MB, CurrentUsage: 2MB, Reservation: 0/903MB
   0.180   [Non-Local Vid.Mem.] Budget: 7312MB, CurrentUsage: 0MB, Reservation: 0/3859MB
   0.180   Tiled resources: Tier 1
   0.180   Unified Memory Architecture: No
   0.180   BGR 565 Supported: Yes
   0.180   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.228 Desktop composition is active.
   0.228 Graphics settings preset: very-high
   0.228   Dedicated video memory size 2007 MB
   0.228 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.228                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.268 DSound: Starting _dsound_update thread
   0.268 DSound: Enter _dsound_update; tid=12540
   0.399 Logitech LED Controller initialized.
   0.454 Loading mod core 0.0.0 (data.lua)
   0.534 Loading mod base 0.17.0 (data.lua)
   0.795 Loading mod base 0.17.0 (data-updates.lua)
   0.925 Checksum for core: 3857511955
   0.925 Checksum of base: 738832761
   1.494 Loading sounds...
   1.561 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.561 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551202263
   1.702 Initial atlas bitmap size is 16384
   1.733 Created atlas bitmap 16384x16380 [none]
   1.739 Created atlas bitmap 16384x11276 [none]
   1.740 Created atlas bitmap 16384x2116 [decal]
   1.742 Created atlas bitmap 16384x3808 [low-object]
   1.743 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.745 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.745 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.746 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.746 Created atlas bitmap 16384x748 [alpha-mask]
   1.749 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
   1.750 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   2.691 Parallel Sprite Loader initialized (threads: 3)
  15.633 Sprites loaded
  15.876 Generated mipmaps for atlas of size 16384x3808
  15.959 Generated mipmaps for atlas of size 16384x1888
  16.044 Generated mipmaps for atlas of size 16384x6592
  16.086 Generated mipmaps for atlas of size 16384x480
  16.107 Generated mipmaps for atlas of size 16384x456
  16.129 Generated mipmaps for atlas of size 16384x1264
  16.148 Custom inputs active: 0
  16.314 Factorio initialised
  84.931 Loading Level.dat: 1009185 bytes.
  84.932 Info Scenario.cpp:147: Map version 0.17.0-143
  85.081 Checksum for script C:/Users/chris/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2366710471
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-s7fxqw\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-s7fxqw\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-s7fxqw\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-s7fxqw\src\util\logging.cpp (89): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-s7fxqw\src\util\logging.cpp (83): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-s7fxqw\src\blueprint\blueprintshelf.cpp (364): BlueprintShelf::addAt
c:\cygwin64\tmp\factorio-build-s7fxqw\src\blueprint\blueprintshelf.cpp (356): BlueprintShelf::add
c:\cygwin64\tmp\factorio-build-s7fxqw\src\blueprint\blueprintshelf.cpp (204): BlueprintShelf::addBlueprint
c:\cygwin64\tmp\factorio-build-s7fxqw\src\blueprint\blueprintlibrary.cpp (311): BlueprintLibrary::addItem
c:\cygwin64\tmp\factorio-build-s7fxqw\src\gameactionhandler.cpp (1478): GameActionHandler::exportBlueprint
c:\cygwin64\tmp\factorio-build-s7fxqw\src\gameactionhandler.cpp (321): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-s7fxqw\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-s7fxqw\src\gameactionhandler.cpp (364): GameActionHandler::update
c:\cygwin64\tmp\factorio-build-s7fxqw\src\mainloop.cpp (1051): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-s7fxqw\src\mainloop.cpp (924): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-s7fxqw\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 LogitechLEDController::*)(void),LogitechLEDController *>,std::default_delete<std::tuple<void (__cdecl LogitechLEDController::*)(void),LogitechLEDController *> > > >::_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: 00007FFBA4391FE4)
00007FFBA4391FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBA46ACB81)
00007FFBA46ACB81 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  99.662 Error BlueprintShelf.cpp:364: record->id.playerIndex == this->playerIndex was not true
Logger::writeStacktrace skipped.
  99.662 Error CrashHandler.cpp:174: Map tick at moment of crash: 659
  99.662 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.
 389.031 Error CrashHandler.cpp:221: Heap validation: success.
 389.032 Creating crash dump.
 389.383 CrashDump success

Syhn
Inserter
Inserter
Posts: 43
Joined: Mon Jan 22, 2018 9:13 pm
Contact:

Re: [0.17.0] Moving old blueprints to "Game Blueprints" causes crash

Post by Syhn »

Yep, I have also run into this. It's killed my server twice so far.


Post Reply

Return to “Duplicates”