[boskid][2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

This subforum contains all the issues which we already resolved.
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

[boskid][2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

Without warning the game started to crash after running it for a few minutes, even when staying idle ( just waiting for it to crash ) :( :(

Is it possible to identify the offending tile so I can evict it ?

Code: Select all

   0.000 2024-11-27 18:37:33; Factorio 2.0.21 (build 80595, win64, steam, space-age)
   0.000 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "49564" 
   0.000 Config path: C:/Users/darth/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/darth/AppData/Roaming/Factorio [459058/950798MB]
   0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.006 System info: [CPU: AMD Ryzen 9 7945HX with Radeon Graphics, 32 cores, RAM: 11620/31962 MB, page: 14646/34010 MB, virtual: 4353/134217727 MB, extended virtual: 0 MB]
   0.017 Memory info:
   0.017  [0]: Samsung M425R2GA3BB0-CQKOL 16384 MB 4800 MHz 1.1 v
   0.017  [1]: Samsung M425R2GA3BB0-CQKOL 16384 MB 4800 MHz 1.1 v
   0.079 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 1] [Special: lmw] [Lang: en]
   0.381 Video driver: windows
   0.381 Available displays: 2
   0.381  [0]: \\.\DISPLAY1 - AMD Radeon(TM) 610M {0x80005, [0,0], 2560x1440, 32bit, 240Hz}
   0.381  [5]: \\.\DISPLAY6 - NVIDIA GeForce RTX 4070 Laptop GPU {0x01, [2560,0], 2560x1440, 32bit, 144Hz}
   0.422 [Direct3D11] Display: 1, Output: 1, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.608 Initialised Direct3D[0]: NVIDIA GeForce RTX 4070 Laptop GPU; id: 10de-2860; driver: nvldumdx.dll 32.0.15.6614
   0.608   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.608   [Local Video Memory] Budget: 7180MB, CurrentUsage: 14MB, Reservation: 0/3718MB
   0.608   [Non-Local Vid.Mem.] Budget: 15213MB, CurrentUsage: 1MB, Reservation: 0/7734MB
   0.608   Tiled resources: Tier 2
   0.608   Unified Memory Architecture: No
   0.608   BGR 565 Supported: Yes
   0.608   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.608 Graphics settings preset: very-high
   0.608   Dedicated video memory size 7948 MB
   0.631 Desktop composition is active.
   0.631 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.631                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.727 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.831 Razer Chroma Controller initialized.
   0.854 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.854 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.854 Info ModManager.cpp:434: FeatureFlag quality = true
   0.854 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.854 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.854 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.854 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.856 Loading mod settings rocket-capacity 1.0.0 (settings.lua)
   0.856 Loading mod settings better-train-system 2.0.1 (settings.lua)
   0.856 Loading mod settings bigger-artillery 0.7.3 (settings.lua)
   0.856 Loading mod settings equipment-gantry 0.2.3 (settings.lua)
   0.856 Loading mod settings jetpack 0.4.6 (settings.lua)
   0.856 Loading mod settings large-storage-tank 1.2.1 (settings.lua)
   0.857 Loading mod settings mining-patch-planner 1.6.27 (settings.lua)
   0.857 Loading mod settings PlutoniumEnergy 1.7.4 (settings.lua)
   0.857 Loading mod settings cybersyn 2.0.12 (settings.lua)
   0.857 Loading mod settings RateCalculator 3.3.2 (settings.lua)
   0.857 Loading mod settings aai-containers 0.3.1 (settings.lua)
   0.857 Loading mod settings aai-loaders 0.2.5 (settings.lua)
   0.857 Loading mod settings cybersyn-combinator 2.3.0 (settings.lua)
   0.858 Loading mod settings FactorySearch 1.12.3 (settings.lua)
   0.859 Loading mod core 0.0.0 (data.lua)
   0.873 Loading mod base 2.0.21 (data.lua)
   1.021 Loading mod aai-vehicles-hauler 0.7.3 (data.lua)
   1.029 Loading mod better-train-system 2.0.1 (data.lua)
   1.037 Loading mod bigger-artillery 0.7.3 (data.lua)
   1.045 Loading mod elevated-rails 2.0.21 (data.lua)
   1.067 Loading mod equipment-gantry 0.2.3 (data.lua)
   1.069 Script @__equipment-gantry__/data.lua:1: Log mods once: {
  FactorySearch = "1.12.3",
  PlutoniumEnergy = "1.7.4",
  RateCalculator = "3.3.2",
  Teleporters = "2.0.0",
  ["aai-containers"] = "0.3.1",
  ["aai-loaders"] = "0.2.5",
  ["aai-vehicles-hauler"] = "0.7.3",
  base = "2.0.21",
  ["better-train-system"] = "2.0.1",
  ["bigger-artillery"] = "0.7.3",
  cybersyn = "2.0.12",
  ["cybersyn-combinator"] = "2.3.0",
  ["elevated-rails"] = "2.0.21",
  ["equipment-gantry"] = "0.2.3",
  factoryplanner = "2.0.16",
  flib = "0.15.0",
  jetpack = "0.4.6",
  ["lane-balancers"] = "1.1.2",
  ["large-storage-tank"] = "1.2.1",
  ["mining-patch-planner"] = "1.6.27",
  oil_burner = "0.0.5",
  quality = "2.0.21",
  ["rocket-capacity"] = "1.0.0",
  ["space-age"] = "2.0.21",
  ["spawn-belt"] = "1.0.18",
  textplates = "0.7.1"
}
   1.075 Loading mod flib 0.15.0 (data.lua)
   1.081 Loading mod jetpack 0.4.6 (data.lua)
   1.088 Loading mod large-storage-tank 1.2.1 (data.lua)
   1.095 Loading mod mining-patch-planner 1.6.27 (data.lua)
   1.101 Loading mod oil_burner 0.0.5 (data.lua)
   1.107 Loading mod PlutoniumEnergy 1.7.4 (data.lua)
   1.122 Loading mod quality 2.0.21 (data.lua)
   1.132 Loading mod spawn-belt 1.0.18 (data.lua)
   1.138 Loading mod Teleporters 2.0.0 (data.lua)
   1.145 Loading mod textplates 0.7.1 (data.lua)
   1.160 Loading mod cybersyn 2.0.12 (data.lua)
   1.170 Loading mod factoryplanner 2.0.16 (data.lua)
   1.178 Loading mod RateCalculator 3.3.2 (data.lua)
   1.187 Loading mod space-age 2.0.21 (data.lua)
   1.437 Loading mod aai-containers 0.3.1 (data.lua)
   1.454 Loading mod aai-loaders 0.2.5 (data.lua)
   1.471 Loading mod cybersyn-combinator 2.3.0 (data.lua)
   1.484 Loading mod FactorySearch 1.12.3 (data.lua)
   1.497 Loading mod lane-balancers 1.1.2 (data.lua)
   1.510 Loading mod base 2.0.21 (data-updates.lua)
   1.524 Loading mod rocket-capacity 1.0.0 (data-updates.lua)
   1.536 Loading mod aai-vehicles-hauler 0.7.3 (data-updates.lua)
   1.547 Loading mod better-train-system 2.0.1 (data-updates.lua)
   1.558 Loading mod bigger-artillery 0.7.3 (data-updates.lua)
   1.570 Loading mod PlutoniumEnergy 1.7.4 (data-updates.lua)
   1.571 Script @__PlutoniumEnergy__/compat/nuclear-artillery.lua:1: Nuclear artillery tweaks
   1.571 Script @__PlutoniumEnergy__/compat/nuclear-artillery.lua:49: Error: atomic bomb has no correct ammo type, not critical
   1.582 Loading mod quality 2.0.21 (data-updates.lua)
   1.614 Loading mod textplates 0.7.1 (data-updates.lua)
   1.630 Loading mod space-age 2.0.21 (data-updates.lua)
   1.644 Loading mod aai-loaders 0.2.5 (data-updates.lua)
   1.658 Loading mod cybersyn-combinator 2.3.0 (data-updates.lua)
   1.671 Loading mod FactorySearch 1.12.3 (data-updates.lua)
   1.685 Loading mod lane-balancers 1.1.2 (data-updates.lua)
   1.700 Loading mod jetpack 0.4.6 (data-final-fixes.lua)
   1.714 Loading mod PlutoniumEnergy 1.7.4 (data-final-fixes.lua)
   1.715 Script @__PlutoniumEnergy__/compat/productivity.lua:1: Tweaking productivity restrictions
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:1: Tweaking item and recipe subgroups
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:18: Adding subgroup `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:18: Adding subgroup `nuclear-plutonium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:18: Adding subgroup `nuclear-breeding`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of item named `uranium-fuel-cell` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `uranium-fuel-cell` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `nuclear-fuel-reprocessing` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `plutonium-fuel` with `uranium-processing`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `advanced-nuclear-fuel-reprocessing` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `advanced-nuclear-fuel-reprocessing-with-barrelling` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of recipe named `uranium-fuel-cell-waste-solution-centrifuging` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of item named `plutonium-fuel` with `uranium-processing`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of item named `depleted-uranium-fuel-cell` with `nuclear-uranium`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of item named `plutonium-239` with `uranium-processing`
   1.715 Script @__PlutoniumEnergy__/compat/prototype-subgroup.lua:84: Replacing subgroup of item named `plutonium-238` with `uranium-processing`
   1.729 Loading mod cybersyn 2.0.12 (data-final-fixes.lua)
   1.743 Loading mod aai-containers 0.3.1 (data-final-fixes.lua)
   1.757 Loading mod aai-loaders 0.2.5 (data-final-fixes.lua)
   1.771 Loading mod cybersyn-combinator 2.3.0 (data-final-fixes.lua)
   1.878 Checksum for core: 3166350550
   1.878 Checksum of base: 2157547950
   1.878 Checksum of rocket-capacity: 1663347064
   1.878 Checksum of aai-vehicles-hauler: 3120059850
   1.878 Checksum of better-train-system: 2907285546
   1.878 Checksum of bigger-artillery: 2263015238
   1.878 Checksum of elevated-rails: 2929976872
   1.878 Checksum of equipment-gantry: 1577319214
   1.878 Checksum of flib: 2235140407
   1.878 Checksum of jetpack: 271344630
   1.878 Checksum of large-storage-tank: 3100263009
   1.878 Checksum of mining-patch-planner: 4059229973
   1.878 Checksum of oil_burner: 3019462506
   1.878 Checksum of PlutoniumEnergy: 3517488986
   1.878 Checksum of quality: 3484764141
   1.878 Checksum of spawn-belt: 461440545
   1.878 Checksum of Teleporters: 3058323444
   1.878 Checksum of textplates: 1586580192
   1.878 Checksum of cybersyn: 2642575852
   1.878 Checksum of factoryplanner: 1350146402
   1.878 Checksum of RateCalculator: 2191928673
   1.878 Checksum of space-age: 3284882429
   1.878 Checksum of aai-containers: 191454033
   1.878 Checksum of aai-loaders: 1710609727
   1.878 Checksum of cybersyn-combinator: 1490685070
   1.878 Checksum of FactorySearch: 4045460007
   1.878 Checksum of lane-balancers: 3266028401
   2.168 Prototype list checksum: 2608299666
   2.244 Loading sounds...
   2.502 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.502 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732725453
   2.504 Post-data load graphics options: [Light occlusion: YES]
   2.752 Initial atlas bitmap size is 16384
   2.761 Created an atlas bitmap (size 16384x16376) [none]
   2.772 Created an atlas bitmap (size 16384x16368) [none]
   2.788 Created an atlas bitmap (size 16384x16380) [none]
   2.789 Created an atlas bitmap (size 16384x16384) [none]
   2.790 Created an atlas bitmap (size 16384x8392) [decal]
   2.794 Created an atlas bitmap (size 16384x16384) [low-object]
   2.794 Created an atlas bitmap (size 4096x2112) [low-object]
   2.794 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   2.794 Created an atlas bitmap (size 16384x5596) [none]
   2.795 Created an atlas bitmap (size 1676x79) [not-compressed]
   2.795 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.799 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   2.799 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   2.800 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.800 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   2.800 Created an atlas bitmap (size 8192x2576) [mipmap]
   2.800 Created an atlas bitmap (size 2048x1520) [mipmap]
   2.800 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.800 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.801 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.801 Created an atlas bitmap (size 8192x6288) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.802 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   2.816 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
   2.820 Created an atlas bitmap (size 16384x16360) [shadow, linear-magnification, alpha-mask]
   2.821 Created an atlas bitmap (size 16384x8808) [shadow, linear-magnification, alpha-mask]
   2.822 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.822 Created an atlas bitmap (size 2048x904) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.822 Loading 3D bitmaps.
   2.832 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.845 Parallel sprite loader initialized (threads: 29, bitmaps: 9385)
   3.460 Warning! Sprite at {0,0; 64x64} from __mining-patch-planner__/graphics/no-entity-zero.png is defined with 3 mipmap levels, but level 2 is expected to be at {96,0; 16x16} which is out of bounds of the source image.
  14.680 Sprites loaded
  14.702 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  14.713 Generated mipmaps (4) for atlas [6] of size 4096x2112   
  14.724 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  14.737 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  14.748 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  14.760 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  14.771 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  14.803 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  14.814 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  14.825 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  14.847 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  14.859 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  14.870 Generated mipmaps (5) for atlas [20] of size 8192x6288   
  14.881 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  14.903 Custom mipmaps uploaded (3419)
  14.925 Video memory usage: 3694.52 MB (Atlases: 3564.21 MB, Textures: 130.30 MB)
  14.925 Error ControlSettings.cpp:1009: teleporter-focus-search (custom-input): unknown key_sequence: Control + F
  14.928 Custom inputs active: 24
  15.008 Factorio initialised
  15.011 Steam Storage Quota: 22372/23841
  22.691 Info HttpSharedState.cpp:55: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=2.0.21&lang=en&is_space_age=true
  23.227 Info HttpSharedState.cpp:55: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=2.0.21&lang=en&is_space_age=true
  27.198 Info IDWithQuality.cpp:304: fixing missing qualityID for id textplate-small-uranium
  27.198 Info Surface.cpp:1225: when loading surface 0: ""
  27.198 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  27.198 Info IDWithQuality.cpp:304: fixing missing qualityID for id textplate-small-uranium
  27.198 Info Surface.cpp:1225: when loading surface 0: ""
  27.198 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  27.198 Info IDWithQuality.cpp:304: fixing missing qualityID for id textplate-small-uranium
  27.198 Info Surface.cpp:1225: when loading surface 0: ""
  27.198 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  27.198 Info IDWithQuality.cpp:304: fixing missing qualityID for id textplate-small-uranium
  27.198 Info Surface.cpp:1225: when loading surface 0: ""
  27.198 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  27.226 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail
  27.226 Info Blueprint.cpp:52: when loading blueprint ""
  27.226 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  27.226 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail-ramp
  27.226 Info Blueprint.cpp:52: when loading blueprint ""
  27.226 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-oil-refinery.zip
  47.398 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-blue
  47.398 Info Blueprint.cpp:52: when loading blueprint "ALL"
  47.398 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  47.398 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-F
  47.398 Info Blueprint.cpp:52: when loading blueprint "Factorio"
  47.398 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  47.399 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-W
  47.399 Info Blueprint.cpp:52: when loading blueprint "Wube"
  47.399 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  47.399 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail
  47.399 Info Blueprint.cpp:52: when loading blueprint ""
  47.399 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  47.399 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail-ramp
  47.399 Info Blueprint.cpp:52: when loading blueprint ""
  47.399 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  74.045 Error ModInfoPane.cpp:486: Failed to parse changelog for mod FARL-fixed-se: invalid changelog file, error on line 8, duplicate Date: line or duplicate Version: line.
 113.133 Loading map C:\Users\darth\AppData\Roaming\Factorio\saves\_autosave3.zip: 84415737 bytes.
 113.164 Loading level.dat: 214167169 bytes.
 113.167 Info Scenario.cpp:178: Map version 2.0.21-5
 117.633 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
 117.633 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
 117.633 Loading blueprint storage: Local timestamp 1719066893, Cloud timestamp -1
 121.314 Loading script.dat: 5403879 bytes.
 121.316 Checksum for script __level__/control.lua: 1487321736
 121.317 Checksum for script __better-train-system__/control.lua: 1538265947
 121.318 Checksum for script __bigger-artillery__/control.lua: 78915678
 121.319 Checksum for script __equipment-gantry__/control.lua: 3347912984
 121.321 Checksum for script __jetpack__/control.lua: 3843532548
 121.330 Checksum for script __mining-patch-planner__/control.lua: 2006164455
 121.331 Checksum for script __PlutoniumEnergy__/control.lua: 825090695
 121.332 Checksum for script __spawn-belt__/control.lua: 806147061
 121.333 Checksum for script __Teleporters__/control.lua: 4219600676
 121.334 Checksum for script __textplates__/control.lua: 3995574987
 121.341 Checksum for script __cybersyn__/control.lua: 4041778551
 121.357 Checksum for script __factoryplanner__/control.lua: 3026688016
 121.361 Checksum for script __RateCalculator__/control.lua: 534449012
 121.362 Checksum for script __aai-loaders__/control.lua: 2358277664
 121.366 Checksum for script __cybersyn-combinator__/control.lua: 159965875
 121.369 Checksum for script __FactorySearch__/control.lua: 1464071324
 121.492 Script @__bigger-artillery__/control/bertha.lua:71: Recreating power interfaces
 426.836 Info AppManager.cpp:310: Saving to _autosave1 (blocking).
 427.898 Info AppManagerStates.cpp:2095: Saving finished
 728.869 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
 729.949 Info AppManagerStates.cpp:2095: Saving finished
1029.987 Info AppManager.cpp:310: Saving to _autosave3 (blocking).
1031.054 Info AppManagerStates.cpp:2095: Saving finished
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Belt\TransportLine.cpp(1628): TransportLine::getOwningEntity
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Belt\TransportLine.cpp(1605): TransportLine::getOwnerLocationFromPostTransferNotifable
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Item\ItemStack.cpp(773): ItemStack::spoil
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Item\Item.cpp(65): Item::spoil
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Item\ItemSpoilQueue.cpp(105): ItemSpoilQueue::updateBuckets
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Map\Map.cpp(1326): Map::updateEntities
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Game.cpp(175): Game::update
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Scenario\Scenario.cpp(1160): Scenario::updateStep
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(1400): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(1209): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\functional(823): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\WorkerThread.cpp(71): WorkerThread::loop
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 MapGenerationHelper::*)(void),MapGenerationHelper *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD9F2A259D)
00007FFD9F2A259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD9FE0AF38)
00007FFD9FE0AF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
1185.535 Error TransportLine.cpp:1628: Bad logic.
1185.535 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
1185.535 Error CrashHandler.cpp:190: Map tick at moment of crash: 77337211
1185.576 Info CrashHandler.cpp:318: Executable CRC: 2002594676
1185.576 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.
1192.570 Uploading log file
1192.635 Error CrashHandler.cpp:270: Heap validation: success.
1192.636 Creating crash dump.
1192.807 CrashDump success
Loewchen
Global Moderator
Global Moderator
Posts: 9339
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by Loewchen »

Post a save that lets you reproduce the crash with please, see 3638.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3078
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by boskid »

Without a save file there is not much that can be done, however it already feels like the save file will be inconsistent with items on a transport line having inconsistent positions outside of the range. Log says: one of the items is spoiling into a trigger result (probably a biter egg) which needs to know at what position to spawn entities, however item position does not belong to any of the belts this line goes over.
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

Loewchen wrote: Wed Nov 27, 2024 5:31 pm Post a save that lets you reproduce the crash with please, see 3638.
https://drive.google.com/file/d/1ovboMf ... drive_link

As requested.
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

boskid wrote: Wed Nov 27, 2024 5:32 pm Without a save file there is not much that can be done, however it already feels like the save file will be inconsistent with items on a transport line having inconsistent positions outside of the range. Log says: one of the items is spoiling into a trigger result (probably a biter egg) which needs to know at what position to spawn entities, however item position does not belong to any of the belts this line goes over.
Savefile uploaded
Loewchen
Global Moderator
Global Moderator
Posts: 9339
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by Loewchen »

ReisingerS wrote: Wed Nov 27, 2024 5:36 pm https://drive.google.com/file/d/1ovboMf ... drive_link

As requested.
To be sure, this crashes for you by just loading and waiting?
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

Loewchen wrote: Wed Nov 27, 2024 5:38 pm
ReisingerS wrote: Wed Nov 27, 2024 5:36 pm https://drive.google.com/file/d/1ovboMf ... drive_link

As requested.
To be sure, this crashes for you by just loading and waiting?
YesSir !
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3078
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by boskid »

Ok i managed to reproduce the crash, the most suspicious part is that the save file when loaded is consistent however after about a minute it becomes inconsistent which is quite serious indicator of a bug.

-- edit:

It looks like the crash is caused by the "spawn-belt" at [gps=-10.5,-37.5,gleba] where the items are inserted into transport lines at the far back of the transport line which is exactly 1 item position outside of the allowed items range.
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

Re: [2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

boskid wrote: Wed Nov 27, 2024 6:04 pm Ok i managed to reproduce the crash, the most suspicious part is that the save file when loaded is consistent however after about a minute it becomes inconsistent which is quite serious indicator of a bug.

-- edit:

It looks like the crash is caused by the "spawn-belt" at [gps=-10.5,-37.5,gleba] where the items are inserted into transport lines at the far back of the transport line which is exactly 1 item position outside of the allowed items range.
Gonna nuke it and report back.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3078
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.23.

Core of the issue was that when script tried to insert items at the back of a stopped transport belt, the items would be inserted at the incorrect position causing a consistency issue. Crash itself was a follow up to this consistency issue: since item was at the incorrect position, line was unable to decide on which entity this item was on for the purpose of spoiling and spawning an entity. In 2.0.23 items inserted at back will be inserted at a correct position. I am not doing a migration for this as it would require repositioning items on transport lines which is... slightly annoying operation to do.
ReisingerS
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 27, 2024 5:14 pm
Contact:

Re: [boskid][2.0.21] Crash "TransportLine.cpp:1628: Bad logic." (TransportLine::getOwningEntity)

Post by ReisingerS »

Happy to hear !

Also, removing the spawner ... game has not crashed !
Post Reply

Return to “Resolved Problems and Bugs”