Page 1 of 1

[2.0.22] Crash saving, LogisticSection check fails (LogisticPointFilters::save)

Posted: Wed Nov 27, 2024 1:50 am
by khoek
Game crashed about 10 minutes after updating to 2.0.22, crash was spurious (trying to save the attached save file does not crash the game). The failed assertion text was `LogisticSection.cpp:72: this->filters.empty() || !output.savingBlueprint || this->filters.back() was not true`.

Relevant log:

Code: Select all

   0.000 2024-11-26 19:51:45; Factorio 2.0.22 (build 80683, win64, steam, space-age)
   0.000 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.000 Config path: C:/Users/keele/AppData/Roaming/Factorio/config/config.ini
   0.000 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/keele/AppData/Roaming/Factorio [857066/1726796MB]
   0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.029 System info: [CPU: Intel(R) Core(TM) i9-14900HX, 32 cores, RAM: 10473/32400 MB, page: 13338/61072 MB, virtual: 4378/134217727 MB, extended virtual: 0 MB]
   0.043 Memory info:
   0.043  [0]: SK Hynix HMCG78AGBSA092N 16384 MB 5600 MHz 1.1 v
   0.043  [1]: SK Hynix HMCG78AGBSA092N 16384 MB 5600 MHz 1.1 v
   0.064 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.268 Video driver: windows
   0.268 Available displays: 1
   0.268  [4]: \\.\DISPLAY5 - NVIDIA GeForce RTX 4090 Laptop GPU {0x05, [0,0], 3840x2160, 32bit, 144Hz}
   0.305 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.509 Initialised Direct3D[0]: NVIDIA GeForce RTX 4090 Laptop GPU; id: 10de-2757; driver: nvldumdx.dll 32.0.15.6614
   0.509   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.509   [Local Video Memory] Budget: 15282MB, CurrentUsage: 16MB, Reservation: 0/7769MB
   0.509   [Non-Local Vid.Mem.] Budget: 15432MB, CurrentUsage: 1MB, Reservation: 0/7844MB
   0.509   Tiled resources: Tier 2
   0.509   Unified Memory Architecture: No
   0.509   BGR 565 Supported: Yes
   0.509   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.510 Graphics settings preset: very-high
   0.510   Dedicated video memory size 16050 MB
   0.564 Desktop composition is active.
   0.564 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.564                   [Max threads (load/render): 32/32] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.582 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.850 Razer Chroma Controller initialized.
   0.887 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.887 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.887 Info ModManager.cpp:434: FeatureFlag quality = true
   0.887 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.887 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.887 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.887 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.916 Loading mod core 0.0.0 (data.lua)
   1.040 Loading mod base 2.0.22 (data.lua)
   2.541 Loading mod elevated-rails 2.0.22 (data.lua)
   2.804 Loading mod quality 2.0.22 (data.lua)
   3.008 Loading mod space-age 2.0.22 (data.lua)
   6.864 Loading mod base 2.0.22 (data-updates.lua)
   6.881 Loading mod quality 2.0.22 (data-updates.lua)
   6.915 Loading mod space-age 2.0.22 (data-updates.lua)
   7.003 Checksum for core: 23221371
   7.003 Checksum of base: 2311606524
   7.003 Checksum of elevated-rails: 2929976872
   7.003 Checksum of quality: 1943953612
   7.003 Checksum of space-age: 3731135622
   7.305 Prototype list checksum: 1564524375
   7.336 Loading sounds...
  17.382 Info PlayerData.cpp:68: Local player-data.json unavailable
  17.382 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732656072
  17.408 Post-data load graphics options: [Light occlusion: YES]
  17.828 Crop bitmaps.
  17.831 Parallel sprite loader initialized (threads: 29, bitmaps: 8229)
  23.706 Initial atlas bitmap size is 16384
  23.716 Created an atlas bitmap (size 16384x16380) [none]
  23.728 Created an atlas bitmap (size 16384x16384) [none]
  23.744 Created an atlas bitmap (size 16384x16384) [none]
  23.744 Created an atlas bitmap (size 16384x15420) [none]
  23.745 Created an atlas bitmap (size 16384x8392) [decal]
  23.748 Created an atlas bitmap (size 16384x16384) [low-object]
  23.748 Created an atlas bitmap (size 4096x1088) [low-object]
  23.748 Created an atlas bitmap (size 16384x13440) [corpse-decay]
  23.749 Created an atlas bitmap (size 16384x5596) [none]
  23.749 Created an atlas bitmap (size 1676x79) [not-compressed]
  23.749 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
  23.753 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
  23.753 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
  23.753 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  23.753 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
  23.753 Created an atlas bitmap (size 8192x2576) [mipmap]
  23.753 Created an atlas bitmap (size 2048x1520) [mipmap]
  23.753 Created an atlas bitmap (size 4096x3152) [mipmap]
  23.753 Created an atlas bitmap (size 4096x3152) [mipmap]
  23.754 Created an atlas bitmap (size 4096x3152) [mipmap]
  23.754 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  23.754 Created an atlas bitmap (size 16384x6120) [alpha-mask]
  23.769 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
  23.774 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
  23.774 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
  23.774 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
  23.774 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  23.774 Loading 3D bitmaps.
  23.795 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  23.806 Parallel sprite loader initialized (threads: 29, bitmaps: 8229)
  34.672 Sprites loaded
  34.686 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  34.697 Generated mipmaps (4) for atlas [6] of size 4096x1088   
  34.709 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  34.721 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  34.733 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  34.745 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  34.756 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  34.787 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  34.798 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  34.809 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  34.830 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  34.843 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  34.855 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  34.866 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  34.891 Custom mipmaps uploaded (3203)
  34.904 Video memory usage: 3557.14 MB (Atlases: 3426.84 MB, Textures: 130.30 MB)
  35.432 Factorio initialised
  35.432 Discord overlay detected (DiscordHook64.dll)
  35.462 Steam Storage Quota: 22293/23841
 193.559 Loading map C:\Users\keele\AppData\Roaming\Factorio\saves\make BLUE CIRCUIT ASAP.zip: 26409905 bytes.
 193.604 Loading level.dat: 63207250 bytes.
 193.608 Info Scenario.cpp:178: Map version 2.0.21-5
 194.559 Loading blueprint storage: Local timestamp 1731477565, Cloud timestamp 1731477563
 194.774 Loading script.dat: 1222 bytes.
 194.777 Checksum for script __level__/control.lua: 1487321736
 455.740 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
 456.060 Info AppManagerStates.cpp:2095: Saving finished
 759.556 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
 760.072 Info AppManagerStates.cpp:2095: Saving finished
1060.122 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
1060.455 Info AppManagerStates.cpp:2095: Saving finished
1360.438 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
1360.771 Info AppManagerStates.cpp:2095: Saving finished
1660.756 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
1661.097 Info AppManagerStates.cpp:2095: Saving finished
1961.105 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
1961.476 Info AppManagerStates.cpp:2095: Saving finished
2262.072 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
2262.422 Info AppManagerStates.cpp:2095: Saving finished
2562.422 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
2562.760 Info AppManagerStates.cpp:2095: Saving finished
2862.790 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Util\ReleaseAssert.cpp(7): ReleaseAssertFailed
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Util\SerialiserHelper.hpp(130): SerialiserHelper<MapSerialiser>::saveVector<std::vector<LogisticSection,std::allocator<LogisticSection> > >
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Logistics\LogisticPointFilters.cpp(51): LogisticPointFilters::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Logistics\LogisticPoint.cpp(167): LogisticPoint::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Entity\LogisticContainer.cpp(100): LogisticContainer::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Blueprint\BlueprintEntities.cpp(113): BlueprintEntities::EntityData::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Blueprint\BlueprintEntities.cpp(342): BlueprintEntities::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Blueprint\Blueprint.cpp(301): Blueprint::saveReal
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Blueprint\Blueprint.cpp(257): Blueprint::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Item\ItemStack.cpp(119): ItemStack::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Player.cpp(361): Player::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Map\Map.cpp(1181): Map::save
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Scenario\Scenario.cpp(1039): Scenario::saveMap
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Scenario\Scenario.cpp(933): Scenario::saveAs
C:\Users\build\AppData\Local\Temp\factorio-build-A82LYu\src\Scenario\ParallelScenarioSaver.cpp(134): ParallelScenarioSaver::doSave
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl TransferSource::*)(void),TransferSource *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCD37D259D)
00007FFCD37D259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCD5B0AF38)
00007FFCD5B0AF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
2864.628 Error LogisticSection.cpp:72: this->filters.empty() || !output.savingBlueprint || this->filters.back() was not true
2864.628 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
2864.628 Error CrashHandler.cpp:190: Map tick at moment of crash: 19674001
2864.666 Info CrashHandler.cpp:318: Executable CRC: 1255114729
2864.666 Error Util.cpp:95: 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.
2877.429 Uploading log file
2877.446 Error CrashHandler.cpp:270: Heap validation: success.
2877.447 Creating crash dump.
2880.002 CrashDump success

Re: [2.0.22] Crash saving, LogisticSection check fails (LogisticPointFilters::save)

Posted: Thu Dec 05, 2024 12:24 am
by Loewchen