[Rseding91] [2.0.26] Crash loading save (InserterControlBehavior)

This subforum contains all the issues which we already resolved.
Smith87
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Dec 17, 2024 10:33 am
Contact:

[Rseding91] [2.0.26] Crash loading save (InserterControlBehavior)

Post by Smith87 »

1. What did you do?
I saved my game last night and wanted to continue today.

2. What happened?
The game crashes immediately after the loading map progress is completed without showing further loading bars or the game. The music is still playing while an error message ist displayed. The message says: 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.
I tried my manual save file (attached below) as well as the autmated save files. I can however start a new game without any issue.

3. What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expected the game to load my save and continue to play.

4. Does it happen always, once, or sometimes?
It happens always with every save file I have for this run.

Code: Select all

   0.000 2024-12-17 11:41:29; Factorio 2.0.26 (build 81022, win64, steam, space-age)
   0.000 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.001 Program arguments: "D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Config path: C:/Users/ulric/AppData/Roaming/Factorio/config/config.ini
   0.001 Read data path: D:/SteamLibrary/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/ulric/AppData/Roaming/Factorio [263855/399107MB]
   0.001 Binaries path: D:/SteamLibrary/steamapps/common/Factorio/bin
   0.006 System info: [CPU: 13th Gen Intel(R) Core(TM) i7-13700K, 24 cores, RAM: 15138/65366 MB, page: 18343/69462 MB, virtual: 4369/134217727 MB, extended virtual: 0 MB]
   0.018 Memory info:
   0.018  [0]: Corsair CMK32GX5M2D6000C36 16384 MB 5600 MHz 1.25 v
   0.018  [1]: Corsair CMK32GX5M2D6000C36 16384 MB 5600 MHz 1.25 v
   0.018  [2]: Corsair CMK32GX5M2D6000C36 16384 MB 5600 MHz 1.25 v
   0.018  [3]: Corsair CMK32GX5M2D6000C36 16384 MB 5600 MHz 1.25 v
   0.020 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.392 Video driver: windows
   0.392 Available displays: 3
   0.392  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 4080 {0x05, [0,0], 2560x1440, 32bit, 144Hz}
   0.392  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 4080 {0x01, [1736,-1080], 1920x1080, 32bit, 60Hz}
   0.392  [2]: \\.\DISPLAY3 - NVIDIA GeForce RTX 4080 {0x01, [-1080,-491], 1080x1920, 32bit, 60Hz}
   0.418 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.594 Initialised Direct3D[0]: NVIDIA GeForce RTX 4080; id: 10de-2704; driver: nvldumdx.dll 32.0.15.6590
   0.594   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.594   [Local Video Memory] Budget: 15282MB, CurrentUsage: 16MB, Reservation: 0/7769MB
   0.594   [Non-Local Vid.Mem.] Budget: 31915MB, CurrentUsage: 1MB, Reservation: 0/16085MB
   0.594   Tiled resources: Tier 2
   0.594   Unified Memory Architecture: No
   0.594   BGR 565 Supported: Yes
   0.594   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.594 Graphics settings preset: very-high
   0.594   Dedicated video memory size 16050 MB
   0.615 Desktop composition is active.
   0.615 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.615                   [Max threads (load/render): 32/24] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.635 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.741 Razer Chroma Controller initialized.
   0.752 Logitech LED Controller initialized.
   0.774 Info ModManager.cpp:439: FeatureFlag expansion-shaders = true
   0.774 Info ModManager.cpp:439: FeatureFlag freezing = true
   0.774 Info ModManager.cpp:439: FeatureFlag quality = true
   0.774 Info ModManager.cpp:439: FeatureFlag rail-bridges = true
   0.774 Info ModManager.cpp:439: FeatureFlag segmented-units = true
   0.774 Info ModManager.cpp:439: FeatureFlag space-travel = true
   0.774 Info ModManager.cpp:439: FeatureFlag spoiling = true
   0.777 Loading mod core 0.0.0 (data.lua)
   0.791 Loading mod base 2.0.26 (data.lua)
   0.898 Loading mod elevated-rails 2.0.26 (data.lua)
   0.919 Loading mod quality 2.0.26 (data.lua)
   0.927 Loading mod space-age 2.0.26 (data.lua)
   1.090 Loading mod base 2.0.26 (data-updates.lua)
   1.098 Loading mod quality 2.0.26 (data-updates.lua)
   1.111 Loading mod space-age 2.0.26 (data-updates.lua)
   1.172 Checksum for core: 2484566753
   1.172 Checksum of base: 1653627785
   1.172 Checksum of elevated-rails: 3334287679
   1.172 Checksum of quality: 1945933776
   1.172 Checksum of space-age: 3700254257
   1.395 Prototype list checksum: 3777526167
   1.438 Loading sounds...
   1.628 Info PlayerData.cpp:68: Local player-data.json unavailable
   1.628 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1734430743
   1.629 Post-data load graphics options: [Light occlusion: YES]
   1.846 Initial atlas bitmap size is 16384
   1.855 Created an atlas bitmap (size 16384x16380) [none]
   1.869 Created an atlas bitmap (size 16384x16376) [none]
   1.883 Created an atlas bitmap (size 16384x16384) [none]
   1.884 Created an atlas bitmap (size 16384x14436) [none]
   1.884 Created an atlas bitmap (size 16384x8392) [decal]
   1.888 Created an atlas bitmap (size 16384x16384) [low-object]
   1.888 Created an atlas bitmap (size 4096x1088) [low-object]
   1.888 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   1.888 Created an atlas bitmap (size 16384x5596) [none]
   1.889 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.889 Created an atlas bitmap (size 16384x4208) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.892 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   1.892 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   1.892 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.893 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   1.893 Created an atlas bitmap (size 8192x2576) [mipmap]
   1.893 Created an atlas bitmap (size 2048x1520) [mipmap]
   1.893 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.893 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.893 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.894 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.894 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.910 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   1.912 Created an atlas bitmap (size 16384x16364) [shadow, linear-magnification, alpha-mask]
   1.913 Created an atlas bitmap (size 16384x7648) [shadow, linear-magnification, alpha-mask]
   1.913 Created an atlas bitmap (size 8192x3952) [shadow, mipmap, linear-magnification, alpha-mask]
   1.913 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.101 Loading 3D bitmaps.
   2.108 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.119 Parallel sprite loader initialized (threads: 23, bitmaps: 8226)
  11.244 Sprites loaded
  11.279 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  11.290 Generated mipmaps (4) for atlas [6] of size 4096x1088   
  11.312 Generated mipmaps (3) for atlas [10] of size 16384x4208   
  11.324 Generated mipmaps (3) for atlas [11] of size 16384x16352   
  11.335 Generated mipmaps (3) for atlas [12] of size 16384x4944   
  11.356 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  11.368 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  11.405 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  11.416 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  11.433 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  11.458 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  11.470 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  11.481 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  11.492 Generated mipmaps (3) for atlas [25] of size 8192x3952   
  11.509 Custom mipmaps uploaded (3189)
  11.524 Video memory usage: 3573.42 MB (Atlases: 3443.11 MB, Textures: 130.30 MB)
  11.596 Factorio initialised
  11.638 Steam Storage Quota: 23470/23841
 210.064 Loading map C:\Users\ulric\AppData\Roaming\Factorio\saves\Space Age 1.zip: 40872475 bytes.
 210.090 Loading level.dat: 111805796 bytes.
 210.093 Info Scenario.cpp:178: Map version 2.0.23-0
 211.224 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff7a8e261a9
ModuleBase: 0x00007ff7a7ee0000, ImageSize: 0288c000, RelativeAddress: 00f461a9
 211.224 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000060
 211.224 Error CrashHandler.cpp:523: Exception Context:
rax=0000028a693a6b08, rbx=0000000000000000, rcx=0000028a693a6b08,
rdx=0000028a693a6b08, rsi=0000000000000001, rdi=0000028a693a6af8,
rip=00007ff7a8e261a9, rsp=000000b9c19fa590, rbp=000000b9c19faf01,
 r8=0000000000000001,  r9=0000000019930520, r10=00007ff7a9e41dd9,
r11=00007ff7a7ee0000, r12=00000000ffffffff, r13=00007ff7a7ee0000,
r14=00007ff7a9e41dd9, r15=000000b9c19fa800
 211.224 Crashed in D:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7a7ee0000 - 0x00007ff7aa76c000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Util\CrashHandler.cpp(552): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9664DCA1C)
00007FF9664DCA1C (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969099ABD)
00007FF969099ABD (ntdll): (filename not available): memcpy
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96907F7C7)
00007FF96907F7C7 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96909543F)
00007FF96909543F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96900E886)
00007FF96900E886 (ntdll): (filename not available): RtlFindCharInUnicodeString
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96909443E)
00007FF96909443E (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Wires\WireConnector.cpp(134): WireConnector::disconnectFrom
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Wires\WireConnector.cpp(179): WireConnector::disconnectAll
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Wires\CircuitWireConnector.cpp(26): CircuitWireConnector::~CircuitWireConnector
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7A8125842)
00007FF7A8125842 (Factorio): (filename not available): GenericOnOffControlBehavior::~GenericOnOffControlBehavior
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\handlers.asm(183): _CallSettingFrameEncoded
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(1104): __FrameHandler4::FrameUnwindToState
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp(234): __FrameHandler4::FrameUnwindToEmptyState
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(309): __InternalCxxFrameHandler<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp(306): __CxxFrameHandler4
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9690954BF)
00007FF9690954BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969010174)
00007FF969010174 (ntdll): (filename not available): RtlUnwindEx
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp(684): __FrameHandler4::UnwindNestedFrames
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(1328): CatchIt<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(583): FindHandler<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(357): __InternalCxxFrameHandler<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp(306): __CxxFrameHandler4
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96909543F)
00007FF96909543F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96900E886)
00007FF96900E886 (ntdll): (filename not available): RtlFindCharInUnicodeString
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF969044955)
00007FF969044955 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9663CFB4C)
00007FF9663CFB4C (KERNELBASE): (filename not available): RaiseException
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\throw.cpp(75): _CxxThrowException
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\CircuitNetwork\Behaviors\InserterControlBehavior.cpp(43): InserterControlBehavior::InserterControlBehavior
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Entity\Inserter.cpp(161): Inserter::Inserter
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Data\InstanceLoader.hpp(56): `InstanceLoader<ID<EntityPrototype,unsigned short> >::registerLoader<Inserter>'::`2'::<lambda_1>::<lambda_invoker_cdecl><EntityLoadingParameters>
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Entity\EntityPrototype.cpp(1006): EntityPrototype::loadEntity
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Surface\Chunk.cpp(332): Chunk::load
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Surface\Surface.cpp(1357): Surface::load
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Map\Map.cpp(574): Map::loadData
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Map\Map.cpp(336): Map::load
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Scenario\Scenario.cpp(232): Scenario::loadFactory
C:\Users\build\AppData\Local\Temp\factorio-build-sXYIz4\src\Scenario\ParallelScenarioLoader.cpp(192): ParallelScenarioLoader::doLoad
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*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,0,1,2,3,4,5,6,7>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96710259D)
00007FF96710259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96904AF38)
00007FF96904AF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 212.116 Info Surface.cpp:1316: when loading surface 13: "platform-10"
 212.151 Info CrashHandler.cpp:318: Executable CRC: 91969320
 212.151 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.
 215.457 Uploading log file
 215.469 Error CrashHandler.cpp:270: Heap validation: success.
 215.470 Creating crash dump.
 215.604 CrashDump success
Attachments
Space Age 1.zip
(38.98 MiB) Downloaded 8 times
factorio-current.log
(15.21 KiB) Downloaded 9 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14616
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.26] Crash loading save (InserterControlBehavior)

Post by Rseding91 »

Thanks for the report. Looking at the save file, part of it was corrupt when you last saved. A single bit was flipped in an inserter control behavior where it shouldn't have been. This has historically meant failing hardware - unless you know of a way to reproduce it from a normal working save.

The crash is our failure to handle the corrupt save state - it should report the error and go back to the loading screen.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”