[Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)
Posted: Mon Nov 23, 2020 11:25 pm
by Anders142536
Our save file crashes on load after the 1.1 patch.
This seems to only happen on old saves that use the Krastorio 2 mod. My guess is that the longer underground belts cause an issue, based on the log file:
Error EntityWithHealth.cpp:145: express-underground-belt ({-512.5, 267.5}): true != false (-)
It is written in the log file, but here are my rough specs:
Win10 64 bit
Amd Ryzen 7 2700X
NVidia GeForce RTX 2080
This seems to only happen on old saves that use the Krastorio 2 mod. My guess is that the longer underground belts cause an issue, based on the log file:
log
Code: Select all
0.001 2020-11-24 00:08:57; Factorio 1.1.0 (build 56997, win64, steam)
0.001 Operating system: Windows 10 (version 1909)
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "43000"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/ander/AppData/Roaming/Factorio [140668/953253MB]
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.011 System info: [CPU: AMD Ryzen 7 2700X Eight-Core Processor, 16 cores, RAM: 8623/32717 MB, page: 12130/37581 MB, virtual: 4337/134217727 MB, extended virtual: 0 MB]
0.011 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
0.018 Available displays: 2
0.019 [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 2080 {0x05, [0,0], 1920x1080, 32bit, 144Hz}
0.019 [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 2080 {0x01, [-1920,5], 1920x1080, 32bit, 60Hz}
0.094 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.276 Initialised Direct3D[0]: NVIDIA GeForce RTX 2080; id: 10de-1e87; driver: nvldumdx.dll 27.21.14.5730
0.276 D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.276 [Local Video Memory] Budget: 6808MB, CurrentUsage: 5MB, Reservation: 0/3604MB
0.276 [Non-Local Vid.Mem.] Budget: 14722MB, CurrentUsage: 0MB, Reservation: 0/7770MB
0.276 Tiled resources: Tier 2
0.276 Unified Memory Architecture: No
0.276 BGR 565 Supported: Yes
0.276 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.277 Graphics settings preset: very-high
0.277 Dedicated video memory size 8010 MB
0.329 Desktop composition is active.
0.329 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
0.329 [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
0.394 DSound: Starting _dsound_update thread
0.394 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
0.394 DSound: Enter _dsound_update; tid=8172
0.527 Loading mod settings FacAutoScreenshot 1.1.5 (settings.lua)
0.527 Loading mod settings Krastorio2 1.0.9 (settings.lua)
0.528 Loading mod settings Krastorio2 1.0.9 (settings-updates.lua)
0.531 Loading mod core 0.0.0 (data.lua)
0.626 Loading mod base 1.1.0 (data.lua)
0.957 Loading mod Krastorio2 1.0.9 (data.lua)
1.227 Loading mod base 1.1.0 (data-updates.lua)
1.424 Loading mod Krastorio2 1.0.9 (data-updates.lua)
1.708 Loading mod Krastorio2 1.0.9 (data-final-fixes.lua)
1.747 Script @__Krastorio2__/lib/private/data-stages/utils/log.lua:99: Krastorio 2|LogLevel:WARNING
1.747 Script @__Krastorio2__/lib/private/data-stages/utils/log.lua:101: From Krastorio 2->file:__Krastorio2__/lib/private/data-stages/recipes.lua->function:findNotUnlockableRecipes->line:1883
1.747 Script @__Krastorio2__/lib/private/data-stages/utils/log.lua:108: Called in->file:...anilla-changes/optional/modify-science-packs-recipes.lua->line:17
1.747 Script @__Krastorio2__/lib/private/data-stages/utils/log.lua:110: Message: 'This recipes are not unlockable, maybe is an error: { "uranium-rounds-magazine", "nuclear-fuel", "imersite-rounds-magazine" } [from findNotUnlockableRecipes()]'
1.955 Checksum for core: 1359792165
1.955 Checksum of base: 2334436397
1.955 Checksum of FacAutoScreenshot: 3419367765
1.955 Checksum of Krastorio2: 3198085570
2.191 Prototype list checksum: 2833172631
2.261 Loading sounds...
2.526 Info PlayerData.cpp:72: Local player-data.json unavailable
2.526 Info PlayerData.cpp:75: Cloud player-data.json available, timestamp 1606172936
2.692 Initial atlas bitmap size is 16384
2.720 Created atlas bitmap 16384x16380 [none]
2.739 Created atlas bitmap 16384x16376 [none]
2.783 Created atlas bitmap 16384x16384 [none]
2.785 Created atlas bitmap 16384x6020 [linear-magnification]
2.786 Created atlas bitmap 8192x4208 [decal]
2.788 Created atlas bitmap 16384x7360 [low-object, linear-minification]
2.789 Created atlas bitmap 16384x5552 [mipmap, linear-minification, linear-magnification, linear-mip-level]
2.790 Created atlas bitmap 16384x7072 [terrain, mipmap, linear-minification, linear-mip-level]
2.790 Created atlas bitmap 4096x3248 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
2.791 Created atlas bitmap 4096x2336 [smoke, mipmap, linear-minification, linear-magnification]
2.791 Created atlas bitmap 4096x3088 [mipmap]
2.792 Created atlas bitmap 8192x2672 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
2.792 Created atlas bitmap 8192x1496 [alpha-mask]
2.820 Created atlas bitmap 16384x16380 [shadow, linear-magnification, alpha-mask]
2.821 Created atlas bitmap 16384x2796 [shadow, linear-magnification, alpha-mask]
2.822 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
2.822 Created atlas bitmap 2048x368 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
2.827 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
4.238 Parallel Sprite Loader initialized (threads: 15)
7.068 Warning! Sprite at {0,0; 64x64} from __Krastorio2__/graphics/icons/equipments/universal/antimatter-reactor-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {64,0; 32x32} which is out of bounds of the source image.
7.071 Warning! Sprite at {0,0; 64x64} from __Krastorio2__/graphics/icons/equipments/universal/fusion-reactor-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {64,0; 32x32} which is out of bounds of the source image.
7.071 Warning! Sprite at {0,0; 64x64} from __Krastorio2__/graphics/icons/equipments/universal/nuclear-reactor-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {64,0; 32x32} which is out of bounds of the source image.
7.134 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/battery-mk2-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.135 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/chemical-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.135 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/coal-liquefaction.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.136 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/energy-shield-mk1-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.136 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/energy-shield-mk2-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.138 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/heavy-armor.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.140 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/logistic-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.140 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/logistics-1.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.140 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/logistics-2.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.140 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/logistics-3.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/military-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/mining-productivity-1.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/mining-productivity-2.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/mining-productivity-3.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/mining-productivity-4.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.143 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/night-vision-equipment.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.144 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/oil-gathering.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.144 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/optimization-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.144 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/personal-laser-defense-mk1-equipments.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.145 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/production-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.149 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/steel-processing.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
7.149 Warning! Sprite at {0,0; 128x128} from __Krastorio2__/graphics/technologies/utility-tech-card.png is defined with 4 mipmap levels, but level 1 is expected to be at {128,0; 64x64} which is out of bounds of the source image.
13.754 Sprites loaded
13.767 Generated mipmaps (4) for atlas [5] of size 16384x7360
13.779 Generated mipmaps (3) for atlas [6] of size 16384x5552
13.790 Generated mipmaps (3) for atlas [7] of size 16384x7072
13.801 Generated mipmaps (3) for atlas [8] of size 4096x3248
13.813 Generated mipmaps (3) for atlas [9] of size 4096x2336
13.848 Generated mipmaps (3) for atlas [10] of size 4096x3088
13.859 Generated mipmaps (5) for atlas [11] of size 8192x2672
13.871 Generated mipmaps (3) for atlas [15] of size 8192x2352
13.889 Custom mipmaps uploaded.
13.898 Custom inputs active: 2
13.955 Factorio initialised
13.955 Discord overlay detected (DiscordHook64.dll)
13.957 Steam Storage Quota: 4422/4768
18.587 Loading map C:\Users\ander\AppData\Roaming\Factorio\saves\krass broken blyat.zip: 54535996 bytes.
18.676 Loading level.dat: 160394029 bytes.
18.680 Info Scenario.cpp:199: Map version 1.0.0-0
18.686 Info PrototypeMigrationList.cpp:194: Activating migration base/1.1.0.json
25.449 Loading blueprint storage: Local timestamp 1605554995, Cloud timestamp 1605554994
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-krzu1o\src\entity\entitywithowner.cpp (205): EntityWithOwner::checkConsistency
c:\cygwin64\tmp\factorio-build-krzu1o\src\entity\undergroundbelt.cpp (1007): UndergroundBelt::checkConsistency
c:\cygwin64\tmp\factorio-build-krzu1o\src\map\map.cpp (1978): Map::checkConsistency
c:\cygwin64\tmp\factorio-build-krzu1o\src\map\map.cpp (1030): Map::setupEntities
c:\cygwin64\tmp\factorio-build-krzu1o\src\map\map.cpp (1044): Map::setupEntities
c:\cygwin64\tmp\factorio-build-krzu1o\src\scenario\scenario.cpp (323): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-krzu1o\src\scenario\parallelscenarioloader.cpp (161): ParallelScenarioLoader::doLoad
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*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,std::default_delete<std::tuple<void (__cdecl*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum> > > >::_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: 00007FF9FF597C24)
00007FF9FF597C24 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA0054D4D1)
00007FFA0054D4D1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
28.317 Error EntityWithHealth.cpp:145: express-underground-belt ({-512.5, 267.5}): true != false (-)
Logger::writeStacktrace skipped.
28.317 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.
29.648 Uploading log file
29.675 Error CrashHandler.cpp:258: Heap validation: success.
29.677 Creating crash dump.
29.947 CrashDump success
Error EntityWithHealth.cpp:145: express-underground-belt ({-512.5, 267.5}): true != false (-)
It is written in the log file, but here are my rough specs:
Win10 64 bit
Amd Ryzen 7 2700X
NVidia GeForce RTX 2080