[1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
zingo2
Inserter
Inserter
Posts: 42
Joined: Sun Jun 19, 2016 7:52 pm
Contact:

[1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Post by zingo2 »

Hello all!

Have a modded game of factorio. Mian mods are Krastorio 2 + Space exploration and more.

Mod author aka #Linver suggested posting this here:

Code: Select all

   0.000 2020-12-27 19:17:55; Factorio 1.1.6 (build 57355, win64, steam)
   0.001 Operating system: Windows 10 (version 2004) 
   0.001 Program arguments: "D:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "12440" 
   0.001 Read data path: D:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Arth/AppData/Roaming/Factorio [39060/213594MB]
   0.001 Binaries path: D:/Steam/steamapps/common/Factorio/bin
   0.007 System info: [CPU:        Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 8 cores, RAM: 6147/32665 MB, page: 8334/44953 MB, virtual: 4331/134217727 MB, extended virtual: 0 MB]
   0.007 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.015 Available displays: 1
   0.015  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 980 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.067 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.234 Initialised Direct3D[0]: NVIDIA GeForce GTX 980 Ti; id: 10de-17c8; driver: nvldumdx.dll 27.21.14.5671
   0.234   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.234   [Local Video Memory] Budget: 5329MB, CurrentUsage: 2MB, Reservation: 0/2792MB
   0.234   [Non-Local Vid.Mem.] Budget: 15564MB, CurrentUsage: 0MB, Reservation: 0/7910MB
   0.234   Tiled resources: Tier 2
   0.234   Unified Memory Architecture: No
   0.234   BGR 565 Supported: Yes
   0.234   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.234 Graphics settings preset: very-high
   0.234   Dedicated video memory size 6097 MB
   0.274 Desktop composition is active.
   0.274 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   0.274                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.314 DSound: Starting _dsound_update thread
   0.314 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
   0.314 DSound: Enter _dsound_update; tid=6728
   0.963 Loading mod settings 1KTurret 0.0.16 (settings.lua)
   0.963 Loading mod settings aai-industry 0.5.3 (settings.lua)
   0.963 Loading mod settings aai-vehicles-miner 0.6.1 (settings.lua)
   0.963 Loading mod settings ArmouredBiters 1.1.0 (settings.lua)
   0.964 Loading mod settings BigBags 1.0.34 (settings.lua)
   0.964 Loading mod settings Bottleneck 0.11.7 (settings.lua)
   0.964 Script @__Bottleneck__/settings.lua:191: working - green none

...

  42.676 Factorio initialised
  42.679 Steam Storage Quota: 4635/4768
  44.437 Loading map C:\Users\Arth\AppData\Roaming\Factorio\saves\krasatorio 222 mod.zip: 28983796 bytes.
  44.483 Loading level.dat: 89018264 bytes.
  44.487 Info Scenario.cpp:196: Map version 1.1.6-4
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-akdbrh\src\surface\chunk.cpp (729): Chunk::Chunk
c:\cygwin64\tmp\factorio-build-akdbrh\src\surface\surface.cpp (1864): Surface::loadActiveAndPollutedChunksOrders
c:\cygwin64\tmp\factorio-build-akdbrh\src\surface\surface.cpp (976): Surface::load
c:\cygwin64\tmp\factorio-build-akdbrh\src\map\map.cpp (557): Map::loadData
c:\cygwin64\tmp\factorio-build-akdbrh\src\map\map.cpp (323): Map::load
c:\cygwin64\tmp\factorio-build-akdbrh\src\scenario\scenario.cpp (238): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-akdbrh\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: 00007FFA4ABB7034)
00007FFA4ABB7034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA4BD3D0D1)
00007FFA4BD3D0D1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  50.256 Error Chunk.cpp:729: Trying to make chunk at unreasonable position [0, 1969319430]
Save game:
https://drive.google.com/file/d/1hOj1GV ... sp=sharing

Log file
factorio-current.log
(103 KiB) Downloaded 95 times
Can anyone tell me whats causing the problem?

In short: Played the game with all the mods included- everything was smooth sailing, started to get stutters- saved and restarted my pc. After restart ALL Auto-save games including main save gets an error.

I can start a new game but this one gets error.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2242
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Post by boskid »

Cannot download save file because of missing permission.

zingo2
Inserter
Inserter
Posts: 42
Joined: Sun Jun 19, 2016 7:52 pm
Contact:

Re: [1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Post by zingo2 »

https://drive.google.com/file/d/1hOj1GV ... sp=sharing

Oh sorry, changed to anyone should work, let me know what other info you need.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2242
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Post by boskid »

I am not sure what happened here, size of one of the lists was off by 1 causing deserialisation to misinterpret some data as chunk position and because they were not chunk position, the crash happened. For this i am moving this to "1/0 magic" because i do not know how would that list size get corrupted. Save file was fixed with hex editor but i checked and it loads fine. After loading there are some large FPS drops because of the mod "Trees".
Attachments
93635-krasatorio 222 mod-fixed.zip
(23.5 MiB) Downloaded 87 times

zingo2
Inserter
Inserter
Posts: 42
Joined: Sun Jun 19, 2016 7:52 pm
Contact:

Re: [1.1.6] Crash loading save "Error Chunk.cpp:729: Trying to make chunk at unreasonable position"

Post by zingo2 »

Thank you #boskid for looking into this.

The strangest thing about all of this was- the game was running ok- total time was 52ish hours of 2-3 weeks playtime with all the mods included (some changes here and there). And only in the last minutes it started to stutter. Nothing of ordeal- thought it might be some other things. saved the game and restarted whole pc. Afterwards all save games got this error- 3 autos + main save- about 20min playtime. (5 min interval). Thats strange- that leads me to believe if there was an internal error factorio just force "chugged" along overriding all saves with internals. Peculiar!

Thanks for headsup for the "Trees" mod, I was thinking it might be fps/ups intensive, sadly- until its optimized thats a no go. Cool idea though.

Post Reply

Return to “1 / 0 magic”