[1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

[1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

Hi,

I did re-install the mods many times. And even re-installed the game completely. But I keep getting a crash while loading this save (as well as trying to load previous autosaves with the save mod combinations).

I am putting the log file and the saves (lastest ones and a previous autosave from 10min prior) in a zip file.
stuff
Attachments
factorio-current.zip
(58.87 MiB) Downloaded 62 times

Loewchen
Global Moderator
Global Moderator
Posts: 8321
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Loewchen »

Code: Select all

   0.000 2022-12-04 08:40:34; Factorio 1.1.73 (build 60242, win64, steam)
   0.000 Operating system: Windows 10 (build 19045) 
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "19852" "--load-game" "C:/Users/Vincent/AppData/Roaming/Factorio/saves/PYA_5working on trains.zip" 
   0.000 Config path: C:/Users/Vincent/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/Vincent/AppData/Roaming/Factorio [171784/228288MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.007 System info: [CPU: AMD Ryzen 5 3600 6-Core Processor, 12 cores, RAM: 5746/16333 MB, page: 11179/23260 MB, virtual: 4334/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.013 Available displays: 2
   0.014  [0]: \\.\DISPLAY1 - Radeon RX 580 Series {0x80005, [0,0], 1920x1200, 32bit, 60Hz}
   0.014  [1]: \\.\DISPLAY2 - Radeon RX 580 Series {0x80001, [1920,0], 1920x1080, 32bit, 60Hz}
   0.081 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.172 Initialised Direct3D[0]: Radeon RX 580 Series; id: 1002-67df; driver: aticfx64.dll 31.0.12044.3
   0.172   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.172   [Local Video Memory] Budget: 7402MB, CurrentUsage: 0MB, Reservation: 0/3829MB
   0.172   [Non-Local Vid.Mem.] Budget: 7502MB, CurrentUsage: 0MB, Reservation: 0/3879MB
   0.172   Tiled resources: Tier 2
   0.172   Unified Memory Architecture: No
   0.172   BGR 565 Supported: Yes
   0.172   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.173 Graphics settings preset: very-high
   0.173   Dedicated video memory size 8170 MB
   0.240 Desktop composition is active.
   0.240 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
   0.240                   [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.313 [Audio] Backend:SDL(default); Driver:wasapi, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.599 Loading mod settings miniloader 1.15.6 (settings.lua)
   0.599 Loading mod settings blueprint_flip_and_turn 101.8.6 (settings.lua)
   0.600 Loading mod settings even-distribution 1.0.10 (settings.lua)
   0.600 Loading mod settings far-reach 1.1.2 (settings.lua)
   0.600 Loading mod settings helmod 0.12.13 (settings.lua)
   0.602 Loading mod settings qol_research 3.3.0 (settings.lua)
   0.603 Loading mod settings resourcehighlighter-dark 2.0.6 (settings.lua)
   0.603 Loading mod settings rso-mod 6.2.20 (settings.lua)
   0.604 Loading mod settings Squeak Through 1.8.2 (settings.lua)
   0.604 Loading mod settings Todo-List 19.2.0 (settings.lua)
   0.604 Loading mod settings BottleneckLite 1.2.4 (settings.lua)
   0.605 Loading mod settings factoryplanner 1.1.59 (settings.lua)
   0.605 Loading mod settings LogisticTrainNetwork 1.18.0 (settings.lua)
   0.606 Loading mod settings Milestones 1.3.12 (settings.lua)
   0.606 Loading mod settings pycoalprocessing 2.0.4 (settings.lua)
   0.606 Loading mod settings RateCalculator 2.4.6 (settings.lua)
   0.607 Loading mod settings LTN_Combinator_Modernized 1.0.13 (settings.lua)
   0.607 Loading mod settings LTN_Content_Reader 1.0.3 (settings.lua)
   0.607 Loading mod settings LtnManager 0.4.15 (settings.lua)
   0.608 Loading mod settings pyindustry 2.0.3 (settings.lua)
   0.608 Loading mod settings pypetroleumhandling 2.1.3 (settings.lua)
   0.609 Loading mod settings pyalternativeenergy 1.1.5 (settings.lua)
   0.609 Loading mod settings pypostprocessing 0.1.2 (settings.lua)
   0.610 Loading mod settings pypostprocessing 0.1.2 (settings-final-fixes.lua)
   0.615 Loading mod core 0.0.0 (data.lua)
   0.678 Loading mod base 1.1.73 (data.lua)
   0.914 Loading mod miniloader 1.15.6 (data.lua)
   0.930 Loading mod blueprint_flip_and_turn 101.8.6 (data.lua)
   0.940 Loading mod ChangeMapSettings 5.0.1 (data.lua)
   0.952 Loading mod even-distribution 1.0.10 (data.lua)
   0.963 Loading mod flib 0.11.2 (data.lua)
   0.974 Loading mod FNEI 0.4.1 (data.lua)
   0.985 Loading mod helmod 0.12.13 (data.lua)
   1.001 Loading mod ore-manager-updated 1.1.0 (data.lua)
   1.013 Loading mod qol_research 3.3.0 (data.lua)
   1.028 Loading mod rso-mod 6.2.20 (data.lua)
   1.044 Loading mod StoneWaterWell 1.20.1 (data.lua)
   1.061 Loading mod Teleporters 1.0.5 (data.lua)
   1.079 Loading mod Todo-List 19.2.0 (data.lua)
   1.093 Loading mod factoryplanner 1.1.59 (data.lua)
   1.111 Loading mod LogisticTrainNetwork 1.18.0 (data.lua)
   1.130 Loading mod Milestones 1.3.12 (data.lua)
   1.146 Loading mod pycoalprocessing 2.0.4 (data.lua)
   1.165 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/automation-science-pack
   1.165 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/chemical-science-pack
   1.166 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/sulfuric-acid
   1.166 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/firearm-magazine
   1.167 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/logistic-science-pack
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/concrete
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/fast-transport-belt
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/fast-underground-belt
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/fast-splitter
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/electric-engine-unit
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/processing-unit
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/low-density-structure
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/production-science-pack
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/utility-science-pack
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/fusion-reactor-equipment
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/distractor-capsule
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/destroyer-capsule
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/assembling-machine-3
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/rocket-fuel
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/lubricant
   1.173 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting recipe/shotgun-shell
   1.195 Script @__stdlib__/stdlib/data/data.lua:146: NOTICE: Overwriting lab/lab
   1.236 Loading mod RateCalculator 2.4.6 (data.lua)
   1.251 Loading mod LTN_Combinator_Modernized 1.0.13 (data.lua)
   1.264 Loading mod LTN_Content_Reader 1.0.3 (data.lua)
   1.278 Loading mod pyfusionenergy 2.0.2 (data.lua)
   1.292 Script @__stdlib__/stdlib/data/data.lua:42: Technology technology/xyhiphoe does not exist. [__stdlib__/stdlib/data/data.lua:494 in ???, __stdlib__/stdlib/data/technology.lua:43 in add_effect, __stdlib__/stdlib/data/recipe.lua:250 in add_unlock, @__pyfusionenergy__/prototypes/recipes/recipes.lua:107 in ???]
   
   ....
   
   4.093 Script @__stdlib__/stdlib/data/data.lua:42: Recipe recipe/bitumen-seep-mk04 does not exist. [__stdlib__/stdlib/data/data.lua:494 in get, __stdlib__/stdlib/data/recipe.lua:13 in RECIPE, @__pyalternativeenergy__/prototypes/updates/pypetroleumhandling-updates.lua:63 in ???]
   4.093 Script @__stdlib__/stdlib/data/data.lua:42: Recipe recipe/tar-seep-mk04 does not exist. [__stdlib__/stdlib/data/data.lua:494 in get, __stdlib__/stdlib/data/recipe.lua:13 in RECIPE, @__pyalternativeenergy__/prototypes/updates/pypetroleumhandling-updates.lua:65 in ???]
   4.094 Script @__stdlib__/stdlib/data/data.lua:42: Recipe recipe/guar-gum-plantation-mk01 does not exist. [__stdlib__/stdlib/data/data.lua:494 in get, __stdlib__/stdlib/data/recipe.lua:13 in RECIPE, @__pyalternativeenergy__/prototypes/updates/pypetroleumhandling-updates.lua:79 in ???]
   4.332 Loading mod pypostprocessing 0.1.2 (data-updates.lua)
   4.397 Loading mod resourcehighlighter-dark 2.0.6 (data-final-fixes.lua)
   4.436 Loading mod rso-mod 6.2.20 (data-final-fixes.lua)
   4.475 Loading mod BottleneckLite 1.2.4 (data-final-fixes.lua)
   4.520 Loading mod LogisticTrainNetwork 1.18.0 (data-final-fixes.lua)
   4.528 Script @__LogisticTrainNetwork__/data-final-fixes.lua:88: [LTN] found 3125 items, 485 fluids, 4 locomotives, 9 wagons
   4.566 Loading mod pycoalprocessing 2.0.4 (data-final-fixes.lua)
   4.610 Loading mod RateCalculator 2.4.6 (data-final-fixes.lua)
   4.647 Loading mod LTN_Combinator_Modernized 1.0.13 (data-final-fixes.lua)
   4.683 Loading mod LTN_Content_Reader 1.0.3 (data-final-fixes.lua)
   4.692 Script @__LTN_Content_Reader__/data-final-fixes.lua:22: [LTN Content Reader] setting combinator slots to 3611
   4.725 Loading mod pyfusionenergy 2.0.2 (data-final-fixes.lua)
   4.762 Loading mod pyindustry 2.0.3 (data-final-fixes.lua)
   4.859 Loading mod pyrawores 2.4.4 (data-final-fixes.lua)
   4.904 Loading mod pyhightech 2.0.4 (data-final-fixes.lua)
   4.962 Loading mod pypetroleumhandling 2.1.3 (data-final-fixes.lua)
   5.005 Loading mod pyalienlife 2.0.4 (data-final-fixes.lua)
   5.049 Loading mod pyalternativeenergy 1.1.5 (data-final-fixes.lua)
   5.560 Loading mod pypostprocessing 0.1.2 (data-final-fixes.lua)
   5.685 Script @__pypostprocessing__/data-final-fixes.lua:142: AUTOTECH START
  26.471 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:85: Mandatory recipe count: 1204
  26.471 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:86: Optional recipe count: 3257
  26.471 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:88: PROCESS TECHS START
  34.454 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:96: PROCESS TECHS END
  35.946 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:328: RESTARTING without SP links
  48.293 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:328: RESTARTING without SP links
  50.208 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:254: Target: 363285
  50.208 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:384: MAXF: 2 SPF: 0.00040725110771486 T: 479740
  50.208 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.5 SPF: 0.01206043437492 T: 395670.99221505
  50.208 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.25 SPF: 0.10326236561431 T: 374486.24112165
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.125 SPF: 0.35716066710763 T: 310685.21424727
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.1875 SPF: 0.18893329405926 T: 424923.59852227
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.15625 SPF: 0.25865281999427 T: 369022.13095769
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.140625 SPF: 0.30360607207455 T: 365166.13921184
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.1328125 SPF: 0.32920422093362 T: 360195.17167166
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.13671875 SPF: 0.31612418459004 T: 365164.13155245
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.134765625 SPF: 0.32259228896187 T: 363841.13429125
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.1337890625 SPF: 0.32588006265192 T: 363885.34671073
  50.209 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:409: F: 1.13330078125 SPF: 0.32753756668955 T: 363547.58251526
  50.212 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:281: Mandatory tech pack count: 364767
  50.212 Script @__pypostprocessing__/prototypes/functions/auto_tech.lua:282: Total tech pack count: 903690
  50.212 Script @__pypostprocessing__/data-final-fixes.lua:145: AUTOTECH END
  50.476 Checksum for core: 870127790
  50.476 Checksum of base: 4211423066
  50.476 Checksum of miniloader: 1335857783
  50.476 Checksum of blueprint_flip_and_turn: 1320428747
  50.476 Checksum of ChangeMapSettings: 3179762092
  50.476 Checksum of even-distribution: 3296431338
  50.476 Checksum of far-reach: 3717351288
  50.476 Checksum of flib: 2547089668
  50.476 Checksum of FNEI: 3619919004
  50.476 Checksum of helmod: 2709204096
  50.476 Checksum of ore-manager-updated: 3869580528
  50.476 Checksum of qol_research: 2577440212
  50.476 Checksum of resourcehighlighter-dark: 1612723207
  50.476 Checksum of rso-mod: 2466986368
  50.476 Checksum of Squeak Through: 2759453103
  50.476 Checksum of stdlib: 0
  50.476 Checksum of StoneWaterWell: 1603540812
  50.476 Checksum of Teleporters: 1607551166
  50.476 Checksum of Todo-List: 3021069362
  50.476 Checksum of BottleneckLite: 3872049350
  50.476 Checksum of factoryplanner: 821291839
  50.476 Checksum of LogisticTrainNetwork: 2361607724
  50.476 Checksum of Milestones: 3250680216
  50.476 Checksum of pycoalprocessing: 1692581921
  50.476 Checksum of RateCalculator: 1378147996
  50.476 Checksum of LTN_Combinator_Modernized: 82562784
  50.476 Checksum of LTN_Content_Reader: 1621576301
  50.476 Checksum of pycoalprocessinggraphics: 0
  50.476 Checksum of pyfusionenergy: 3370246037
  50.476 Checksum of LtnManager: 1682584081
  50.476 Checksum of pyfusionenergygraphics: 0
  50.476 Checksum of pyindustry: 1367649079
  50.476 Checksum of pyrawores: 3301555191
  50.476 Checksum of pyhightech: 82517186
  50.476 Checksum of pyraworesgraphics: 0
  50.476 Checksum of pyhightechgraphics: 0
  50.476 Checksum of pypetroleumhandling: 2501483936
  50.476 Checksum of pyalienlife: 1003355091
  50.476 Checksum of pypetroleumhandlinggraphics: 0
  50.476 Checksum of pyalienlifegraphics: 0
  50.476 Checksum of pyalienlifegraphics2: 0
  50.476 Checksum of pyalienlifegraphics3: 0
  50.476 Checksum of pyalternativeenergy: 1073681082
  50.476 Checksum of pyalternativeenergygraphics: 0
  50.476 Checksum of pypostprocessing: 1640961613
  51.035 Prototype list checksum: 1576923518
  51.447 Loading sounds...
  51.817 Info PlayerData.cpp:73: Local player-data.json unavailable
  51.817 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1670172034
  52.237 Initial atlas bitmap size is 16384
  52.305 Created atlas bitmap 16384x16380 [none]
  52.361 Created atlas bitmap 16384x16384 [none]
  52.427 Created atlas bitmap 16384x16384 [none]
  52.477 Created atlas bitmap 16384x16384 [none]
  52.523 Created atlas bitmap 16384x16376 [none]
  52.567 Created atlas bitmap 16384x16384 [none]
  52.607 Created atlas bitmap 16384x16376 [none]
  52.646 Created atlas bitmap 16384x16368 [none]
  52.685 Created atlas bitmap 16384x16380 [none]
  52.725 Created atlas bitmap 16384x16384 [none]
  52.759 Created atlas bitmap 16384x16384 [none]
  52.789 Created atlas bitmap 16384x16380 [none]
  52.824 Created atlas bitmap 16384x16364 [none]
  52.862 Created atlas bitmap 16384x16376 [none]
  52.864 Created atlas bitmap 16384x11088 [none]
  52.864 Created atlas bitmap 8192x4188 [decal]
  52.865 Created atlas bitmap 16384x7232 [low-object, linear-minification]
  52.866 Created atlas bitmap 16384x4304 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  52.867 Created atlas bitmap 16384x6256 [terrain, mipmap, linear-minification, linear-mip-level]
  52.867 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  52.867 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
  52.867 Created atlas bitmap 4096x3104 [mipmap]
  52.868 Created atlas bitmap 8192x6096 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  52.868 Created atlas bitmap 8192x1496 [alpha-mask]
  52.899 Created atlas bitmap 16384x16368 [shadow, linear-magnification, alpha-mask]
  52.943 Created atlas bitmap 16384x16380 [shadow, linear-magnification, alpha-mask]
  52.943 Created atlas bitmap 16384x1088 [shadow, linear-magnification, alpha-mask]
  52.944 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
  52.944 Created atlas bitmap 4096x880 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  52.950 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  58.260 Parallel Sprite Loader initialized (threads: 11)
  85.007 Sprites loaded
  85.033 Generated mipmaps (4) for atlas [16] of size 16384x7232   
  85.055 Generated mipmaps (3) for atlas [17] of size 16384x4304   
  85.077 Generated mipmaps (3) for atlas [18] of size 16384x6256   
  85.088 Generated mipmaps (3) for atlas [19] of size 4096x3216   
  85.099 Generated mipmaps (3) for atlas [20] of size 4096x1840   
  85.136 Generated mipmaps (3) for atlas [21] of size 4096x3104   
  85.147 Generated mipmaps (5) for atlas [22] of size 8192x6096   
  85.158 Generated mipmaps (3) for atlas [27] of size 8192x2352   
  85.161 Custom mipmaps uploaded.
  85.169 Error ControlSettings.cpp:224: teleporter-focus-search (custom-input): unknown key_sequence: Control + F
  85.172 Custom inputs active: 38
  85.366 Factorio initialised
  85.366 Discord overlay detected (DiscordHook64.dll)
  85.371 Steam Storage Quota: 3905/4768
  85.371 Loading map C:/Users/Vincent/AppData/Roaming/Factorio/saves/PYA_5working on trains.zip: 30822603 bytes.
  85.421 Loading level.dat: 103158951 bytes.
  85.425 Info Scenario.cpp:199: Map version 1.1.72-0
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-zaleiu\src\entity\militarytarget.cpp (131): MilitaryTarget::checkNearbyForcesUnRegistration
c:\tmp\factorio-build-zaleiu\src\entity\militarytarget.cpp (78): MilitaryTarget::unregisterOnChunk
c:\tmp\factorio-build-zaleiu\src\entity\entitywithowner.cpp (345): EntityWithOwner::setIsMilitaryTarget
c:\tmp\factorio-build-zaleiu\src\map\saveloadhelper.cpp (7): LoadHelper::setup
c:\tmp\factorio-build-zaleiu\src\map\map.cpp (1104): Map::setupEntities
c:\tmp\factorio-build-zaleiu\src\map\map.cpp (1187): Map::setupEntities
c:\tmp\factorio-build-zaleiu\src\scenario\scenario.cpp (338): Scenario::loadFactory
c:\tmp\factorio-build-zaleiu\src\scenario\parallelscenarioloader.cpp (161): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\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\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC746874B4)
00007FFC746874B4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC765E26A1)
00007FFC765E26A1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  89.909 Error Chunk.cpp:828: force.getIndex() - 1u < this->activeNeighbourForces.size() was not true
Logger::writeStacktrace skipped.
  89.955 Info CrashHandler.cpp:311: Executable CRC: 525802474
  89.955 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.
  96.284 Uploading log file
  96.334 Error CrashHandler.cpp:262: Heap validation: success.
  96.334 Creating crash dump.
  96.698 CrashDump success

Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

Any chance this 220h pY save be saved from this crash?

Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

Two additional things:
1) it fails to load (with the error message above) even with all mods disabled (Thx to Zicandar on pY discord for figuring that one out)
2) I am attaching the last save that loads fine (but ~30hours earlier unfortunately)
3) and it did not crash/kick me out of the game at first. It failed to reload the save (and still fails now) that I wanted to reload. So some sort of save corruption.
Attachments
test.zip
(27.81 MiB) Downloaded 49 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Rseding91 »

How can I get the mods installed? When I sync mods it fails to load pypostprocess and then none of the py mods load.
If you want to get ahold of me I'm almost always on Discord.

Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

You are asking me?? lol
I can sync the mods on my side without a problem but It fails (error message alone) when I load the save

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Rseding91 wrote:
Tue Dec 06, 2022 5:01 pm
How can I get the mods installed? When I sync mods it fails to load pypostprocess and then none of the py mods load.
Hi, I'm also a PY player, although using a different set of mods from Nasdaq. So I tried to load the save with my set of mods, as well as no mods enabled, and got the exact same crash in both cases. I'm currently working on trying to get the same mod set synced as well.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Rseding91 »

Nasdaq wrote:
Tue Dec 06, 2022 5:11 pm
You are asking me?? lol
I can sync the mods on my side without a problem but It fails (error message alone) when I load the save
When I try to sync-mods with your save file I get this error on startup:
Capture.png
Capture.png (26.09 KiB) Viewed 2784 times
If you want to get ahold of me I'm almost always on Discord.

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Rseding91 wrote:
Tue Dec 06, 2022 5:01 pm
How can I get the mods installed? When I sync mods it fails to load pypostprocess and then none of the py mods load.
I think the reason it will fail to load is a problem with the portal version of transport bots being incompatible with pypostprocessing. For me it simply got stuck there, seemingly forever.
To solve this I used this version of the mod, gotten from the PY Google Drive.
I don't know the linking rules here, so I have skipped putting the direct download link in. But can do so if you want me to?

Now that I have done that exact process, suddenly the save will load just fine.
Attachments
Transport_Drones_1.0.10.zip
(20.97 MiB) Downloaded 48 times

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Further information:
The crash seems to happen consistently if I disable the Transport drones mod. But have all the others synced on.

Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

What is crazy is that I deleted all my mods. Zicandar sent me HIS mod folder with which he can open my save. And I am getting the same failure to load (the windows message in my original post, not the dependency loop that people have been talking about)

edit:
That s the center of the issue. How can he load my save just fine with all the appropriate mods, while I am getting this force.getIndex() error loading the same save with HIS mod directory? It means that it cannot be the save or the mods no?
Last edited by Nasdaq on Tue Dec 06, 2022 6:19 pm, edited 1 time in total.

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Yet another update, while it works fine if I don't touch the mod list after having synced and replaced the transport drones mod with the one from PY's GDrive.
If I disable ANY mod, (tested with for example todo list), it will crash upon attempting to load the save file.

Nasdaq
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 04, 2022 4:36 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Nasdaq »

This is becoming wierder.

So Zicandar sent me his entire %APPDATA%/Factorio folder including his mods and his renamed version of my save. Deleted all my factorio folder to replace with his. He can load my save and I still get this force.getIndex() crash.

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

I am currently on [1.1.72] and have the save loading fine.

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Here is a link to a GDrive with my mod folder, some other stuff from the %APPDATA%/Factorio folder, and a re-saved version of the save that crashes. (Well, only crashes if I disable any mods...)
https://drive.google.com/drive/folders/ ... share_link

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Even more interesting:
It can crash even without disabling mods, if startup mod settings are changed.
So far map and player settings seem fine to change from the main menu, but if I change anything from startup settings it seems to cause a crash when loading.

Zicandar
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Dec 06, 2022 5:14 pm
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by Zicandar »

Rseding91 wrote:
Tue Dec 06, 2022 5:31 pm
Nasdaq wrote:
Tue Dec 06, 2022 5:11 pm
You are asking me?? lol
I can sync the mods on my side without a problem but It fails (error message alone) when I load the save
When I try to sync-mods with your save file I get this error on startup:

Capture.png
I have worked a bit with Nasdaq via discord to try figure stuff out, and it took a while to really limit stuff. Fortunately he can at least continue with his save for now.

Ok, I am done testing for now, my conclusions are the following:
1. The transport drone mod needs to be replaced by the one from PY's google drive, (likely unrelated?), here: https://drive.google.com/drive/folders/ ... share_link
2. The exact mods must be used, no additions or removals. Any change to the list of mods will cause it to crash when attempting to load the save.
3. Any changes to startup settings will cause it to crash when attempting to load the save.
4. New saves don't seem to resolve this issue.
5. Changes to map settings or player settings will not cause the issue. (These settings from main menu under the settings->mod settings).
6. The older save with the same mod list does not seem to have this issue.
7. (Unknown if relevant) I have the setting for syncing mod settings per save enabled, perhaps that is why it would load for me once I also synced the mods? (+manual overwriting of transport drones)

My mod folder + other stuff, including images of exact startup settings that seem to work: https://drive.google.com/drive/folders/ ... share_link

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

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by boskid »

I am trying to reproduce the crash in 1.1.76 or 1.1.78 (not yet released) and whatever i do the save file loads fine up to loading this save file with no mods enabled. Moving to pending unless you can still reproduce the crash in 1.1.76 or later.

kaaangw
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 08, 2024 4:10 am
Contact:

Re: [1.1.73] Crash loading save: "force.getIndex() - 1u < this->activeNeighbourForces.size() was not true"

Post by kaaangw »

Hello guys,

I have the same problem but reinstalling game and mods didn't help.
Here is my log file, as well as my save.

Any help would be appreciated
Attachments
EVROPA.zip
Save
(16.8 MiB) Downloaded 8 times
factorio-current.log
(111.57 KiB) Downloaded 12 times

Post Reply

Return to “Pending”