[2.0.15] Crash saving "Error Serialiser.hpp:48: Input value (137438953472) is larger than the maximum" (Segment::save)

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Morningkil
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Nov 17, 2024 5:14 pm
Contact:

[2.0.15] Crash saving "Error Serialiser.hpp:48: Input value (137438953472) is larger than the maximum" (Segment::save)

Post by Morningkil »

No Mods, Game crashes on auto saves every so often. No rime or reason. This time I was on a new space platform building.

Code: Select all

   0.001 2024-11-17 16:01:05; Factorio 2.0.15 (build 80108, win64, steam, space-age)
   0.001 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Config path: C:/Users/UKGC/AppData/Roaming/Factorio/config/config.ini
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/UKGC/AppData/Roaming/Factorio [450080/953043MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.017 System info: [CPU: 12th Gen Intel(R) Core(TM) i9-12900K, 24 cores, RAM: 8812/65276 MB, page: 13875/69372 MB, virtual: 4369/134217727 MB, extended virtual: 0 MB]
   0.048 Memory info:
   0.048  [0]: Corsair CMK64GX5M2B5600Z40 32768 MB 5600 MHz 1.1 v
   0.048  [1]: Corsair CMK64GX5M2B5600Z40 32768 MB 5600 MHz 1.1 v
   0.053 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.214 Video driver: windows
   0.214 Available displays: 2
   0.214  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3080 {0x05, [0,0], 1920x1080, 32bit, 144Hz}
   0.214  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 3080 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.246 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.583 Initialised Direct3D[0]: NVIDIA GeForce RTX 3080; id: 10de-2216; driver: nvldumdx.dll 32.0.15.6614
   0.583   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.583   [Local Video Memory] Budget: 9285MB, CurrentUsage: 26MB, Reservation: 0/4770MB
   0.583   [Non-Local Vid.Mem.] Budget: 31870MB, CurrentUsage: 10MB, Reservation: 0/16063MB
   0.583   Tiled resources: Tier 2
   0.583   Unified Memory Architecture: No
   0.583   BGR 565 Supported: Yes
   0.583   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.583 Graphics settings preset: very-high
   0.583   Dedicated video memory size 10053 MB
   0.603 Desktop composition is active.
   0.603 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.603                   [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.865 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.985 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.985 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.985 Info ModManager.cpp:434: FeatureFlag quality = true
   0.985 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.985 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.985 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.985 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.987 Loading mod core 0.0.0 (data.lua)
   1.002 Loading mod base 2.0.15 (data.lua)
   1.169 Loading mod elevated-rails 2.0.15 (data.lua)
   1.198 Loading mod quality 2.0.15 (data.lua)
   1.214 Loading mod space-age 2.0.15 (data.lua)
   1.595 Loading mod base 2.0.15 (data-updates.lua)
   1.604 Loading mod quality 2.0.15 (data-updates.lua)
   1.618 Loading mod space-age 2.0.15 (data-updates.lua)
   1.697 Checksum for core: 3833371075
   1.697 Checksum of base: 1259916430
   1.697 Checksum of elevated-rails: 971617432
   1.697 Checksum of quality: 2471328700
   1.697 Checksum of space-age: 2088115374
   1.931 Prototype list checksum: 3872509593
   1.967 Loading sounds...
   2.424 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.424 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1731846953
   2.662 Initial atlas bitmap size is 16384
   2.677 Created an atlas bitmap (size 16384x16380) [none]
   2.692 Created an atlas bitmap (size 16384x16384) [none]
   2.711 Created an atlas bitmap (size 16384x16384) [none]
   2.712 Created an atlas bitmap (size 16384x15420) [none]
   2.712 Created an atlas bitmap (size 16384x8392) [decal]
   2.716 Created an atlas bitmap (size 16384x16384) [low-object]
   2.717 Created an atlas bitmap (size 4096x960) [low-object]
   2.717 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   2.717 Created an atlas bitmap (size 16384x5596) [none]
   2.717 Created an atlas bitmap (size 1676x79) [not-compressed]
   2.718 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.723 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   2.724 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   2.724 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.724 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   2.724 Created an atlas bitmap (size 8192x2576) [mipmap]
   2.724 Created an atlas bitmap (size 2048x1520) [mipmap]
   2.724 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.724 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.725 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.725 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.726 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   2.744 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   2.748 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   2.748 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
   2.748 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.749 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.749 Loading 3D bitmaps.
   2.760 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.771 Parallel sprite loader initialized (threads: 23, bitmaps: 8228)
  12.820 Sprites loaded
  12.831 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  12.842 Generated mipmaps (4) for atlas [6] of size 4096x960   
  12.862 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  12.874 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  12.895 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  12.906 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  12.916 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  12.953 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  12.964 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  12.975 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  13.000 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  13.012 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  13.023 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  13.035 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  13.057 Custom mipmaps uploaded (3203)
  13.063 Video memory usage: 3555.24 MB (Atlases: 3424.93 MB, Textures: 130.30 MB)
  13.126 Factorio initialised
  13.157 Steam Storage Quota: 23681/23841
  17.959 Loading map C:\Users\UKGC\AppData\Roaming\Factorio\saves\_autosave2.zip: 17471814 bytes.
  18.071 Loading level.dat: 47967844 bytes.
  18.075 Info Scenario.cpp:178: Map version 2.0.15-4
  18.419 Loading blueprint storage: Local timestamp 1730574992, Cloud timestamp 1730574990
  18.422 Loading script.dat: 1222 bytes.
  18.426 Checksum for script __level__/control.lua: 2463946943
 318.814 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
 319.059 Info AppManagerStates.cpp:2062: Saving finished
 619.046 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
 619.302 Info AppManagerStates.cpp:2062: Saving finished
 919.297 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
 919.549 Info AppManagerStates.cpp:2062: Saving finished
1219.547 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
1219.802 Info AppManagerStates.cpp:2062: Saving finished
1519.881 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
1520.136 Info AppManagerStates.cpp:2062: Saving finished
1820.280 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
1820.532 Info AppManagerStates.cpp:2062: Saving finished
2120.597 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
2120.860 Info AppManagerStates.cpp:2062: Saving finished
2420.863 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
2421.111 Info AppManagerStates.cpp:2062: Saving finished
2721.097 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
2721.353 Info AppManagerStates.cpp:2062: Saving finished
3021.346 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
3021.606 Info AppManagerStates.cpp:2062: Saving finished
3321.596 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
3321.782 Time travel logging:
  17.956 Scenario is being deleted
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Util\Serialiser.hpp(57): Serialiser::saveSpaceOptimized<unsigned char,unsigned int,unsigned __int64>
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Map\MapSerialiser.hpp(54): MapSerialiser::operator<<<EffectTriggerer>
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Entity\Segments\Segment.cpp(50): Segment::save
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Surface\Chunk.cpp(179): Chunk::saveNonRecursive
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Surface\Chunk.cpp(77): Chunk::save
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Surface\Surface.cpp(1178): Surface::save
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Map\Map.cpp(1115): Map::save
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Scenario\Scenario.cpp(1037): Scenario::saveMap
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Scenario\Scenario.cpp(931): Scenario::saveAs
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\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 VariableAmbientSound::Track::*)(void),VariableAmbientSound::Track *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD13CA259D)
00007FFD13CA259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD14EEAF38)
00007FFD14EEAF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
3322.852 Error Serialiser.hpp:48: Input value (137438953472) is larger than the maximum (4294967295) and can't be saved.
3322.852 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
3322.852 Error CrashHandler.cpp:190: Map tick at moment of crash: 21078001
3322.907 Info CrashHandler.cpp:318: Executable CRC: 1545322776
3322.907 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.
3330.487 Uploading log file
3330.503 Error CrashHandler.cpp:270: Heap validation: success.
3330.505 Creating crash dump.
3330.752 CrashDump success
Rseding91
Factorio Staff
Factorio Staff
Posts: 16138
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.15] Crash saving "Error Serialiser.hpp:48: Input value (137438953472) is larger than the maximum" (Segment::sav

Post by Rseding91 »

Can you provide a way to take a known working save file and make it crash on save? "random" crashes have almost always meant failing hardware but if you know how to reproduce it, I can take a look.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”