[2.0.11] Crash with modded spidertron with selected_minimap_representation=nil with spidertron remote

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 393
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

[2.0.11] Crash with modded spidertron with selected_minimap_representation=nil with spidertron remote

Post by Stringweasel »

When setting the optional selected_minimap_representation of a SpiderVehicle to nil it will cause a crash when selecting the spider using the spidertron remote.

Reproduction:

Code: Select all

data.raw["spider-vehicle"]["spidertron"].selected_minimap_representation = nil
Place spidertron, and select with Spidertron remote.

This is currently a problem when using https://mods.factorio.com/mod/radar-equipment

Code: Select all

   0.002 2024-10-27 11:25:15; Factorio 2.0.11 (build 79682, win64, steam, space-age)
   0.002 Operating system: Windows 10 (build 19045) 
   0.000 Initializing Steam API.
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Config path: C:/Users/heinw/AppData/Roaming/Factorio/config/config.ini
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/heinw/AppData/Roaming/Factorio [35655/473774MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.051 System info: [CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 8 cores, RAM: 12822/16235 MB, page: 17578/27965 MB, virtual: 4346/134217727 MB, extended virtual: 0 MB]
   0.109 Memory info:
   0.109  [0]: Kingston KMKYF9-MIB 8192 MB 2400 MHz 1.2 v
   0.109  [1]: Kingston KMKYF9-MIB 8192 MB 2400 MHz 1.2 v
   0.129 Display options: [FullScreen: false] [VSync: true] [UIScale: manual-pixels (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.674 Video driver: windows
   0.675 Available displays: 2
   0.675  [1]: \\.\DISPLAY2 - Intel(R) HD Graphics 630 {0x05, [0,0], 1920x1080, 32bit, 59Hz}
   0.675  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 630 {0x01, [-3840,226], 3840x2160, 32bit, 60Hz}
   0.930 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   2.173 Initialised Direct3D[0]: NVIDIA GeForce GTX 1050; id: 10de-1c8d; driver: nvldumdx.dll 31.0.15.2879
   2.173   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   2.173   [Local Video Memory] Budget: 3417MB, CurrentUsage: 4MB, Reservation: 0/1809MB
   2.173   [Non-Local Vid.Mem.] Budget: 7455MB, CurrentUsage: 1MB, Reservation: 0/3855MB
   2.173   Tiled resources: Tier 2
   2.173   Unified Memory Architecture: No
   2.173   BGR 565 Supported: Yes
   2.173   MaximumFrameLatency: 3, GPUThreadPriority: 0
   2.173 Graphics settings preset: very-high
   2.173   Dedicated video memory size 4020 MB
   2.353 Desktop composition is active.
   2.353 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   2.353                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: low] [Other: STDCWT] [B:0,C:0,S:100]
   2.507 [Audio] Driver:wasapi, Device:Default device, Depth:16, Channels:2, Frequency:44100
   2.950 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   2.950 Info ModManager.cpp:434: FeatureFlag freezing = true
   2.950 Info ModManager.cpp:434: FeatureFlag quality = true
   2.950 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   2.950 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   2.950 Info ModManager.cpp:434: FeatureFlag space-travel = true
   2.950 Info ModManager.cpp:434: FeatureFlag spoiling = true
   2.959 Loading mod settings better-victory-screen 0.4.2 (settings.lua)
   2.969 Loading mod settings Milestones 1.4.1 (settings.lua)
   2.971 Loading mod settings RateCalculator 3.3.1 (settings.lua)
   3.017 Loading mod core 0.0.0 (data.lua)
   3.196 Loading mod base 2.0.11 (data.lua)
   5.713 Loading mod better-victory-screen 0.4.2 (data.lua)
   5.756 Loading mod elevated-rails 2.0.11 (data.lua)
   5.974 Loading mod flib 0.15.0 (data.lua)
   6.010 Loading mod larger-display-panels 0.2.0 (data.lua)
   6.056 Loading mod quality 2.0.11 (data.lua)
   6.139 Loading mod radar-equipment 0.1.0 (data.lua)
   6.162 Loading mod factoryplanner 2.0.2 (data.lua)
   6.183 Loading mod Milestones 1.4.1 (data.lua)
   6.209 Loading mod RateCalculator 3.3.1 (data.lua)
   6.238 Loading mod space-age 2.0.11 (data.lua)
   8.018 Loading mod base 2.0.11 (data-updates.lua)
   8.053 Loading mod quality 2.0.11 (data-updates.lua)
   8.130 Loading mod space-age 2.0.11 (data-updates.lua)
   8.464 Checksum for core: 1043092351
   8.465 Checksum of base: 1103473476
   8.465 Checksum of better-victory-screen: 2548794490
   8.465 Checksum of elevated-rails: 1891730324
   8.465 Checksum of flib: 2235140407
   8.465 Checksum of larger-display-panels: 3569107563
   8.465 Checksum of quality: 4264147466
   8.465 Checksum of radar-equipment: 3638967012
   8.465 Checksum of factoryplanner: 2719536303
   8.465 Checksum of Milestones: 4077187412
   8.465 Checksum of RateCalculator: 2191928673
   8.465 Checksum of space-age: 4032004066
   9.332 Prototype list checksum: 3855770641
   9.479 Loading sounds...
  12.309 Info PlayerData.cpp:68: Local player-data.json unavailable
  12.309 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1730024688
  13.045 Initial atlas bitmap size is 16384
  13.091 Created an atlas bitmap (size 16384x16352) [none]
  13.149 Created an atlas bitmap (size 16384x16384) [none]
  13.244 Created an atlas bitmap (size 16384x16384) [none]
  13.248 Created an atlas bitmap (size 16384x12252) [none]
  13.250 Created an atlas bitmap (size 16384x8392) [decal]
  13.267 Created an atlas bitmap (size 16384x16384) [low-object]
  13.269 Created an atlas bitmap (size 4096x1472) [low-object]
  13.271 Created an atlas bitmap (size 16384x13440) [corpse-decay]
  13.272 Created an atlas bitmap (size 16384x5596) [none]
  13.273 Created an atlas bitmap (size 1676x79) [not-compressed]
  13.275 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
  13.308 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
  13.310 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
  13.312 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  13.313 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
  13.313 Created an atlas bitmap (size 8192x2576) [mipmap]
  13.314 Created an atlas bitmap (size 2048x1520) [mipmap]
  13.314 Created an atlas bitmap (size 4096x3152) [mipmap]
  13.314 Created an atlas bitmap (size 4096x3152) [mipmap]
  13.315 Created an atlas bitmap (size 4096x3152) [mipmap]
  13.316 Created an atlas bitmap (size 8192x4080) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  13.320 Created an atlas bitmap (size 16384x6120) [alpha-mask]
  13.387 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
  13.399 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
  13.400 Created an atlas bitmap (size 16384x5972) [shadow, linear-magnification, alpha-mask]
  13.401 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
  13.401 Created an atlas bitmap (size 2048x520) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  13.401 Loading 3D bitmaps.
  13.455 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  13.466 Parallel sprite loader initialized (threads: 7, bitmaps: 8291)
  63.251 Sprites loaded
  63.308 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  63.320 Generated mipmaps (4) for atlas [6] of size 4096x1472   
  63.332 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  63.365 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  63.378 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  63.390 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  63.402 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  63.464 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  63.476 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  63.488 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  63.528 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  63.539 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  63.551 Generated mipmaps (5) for atlas [20] of size 8192x4080   
  63.563 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  63.595 Custom mipmaps uploaded (3221)
  63.640 Custom inputs active: 17
  63.910 Factorio initialised
  63.910 Discord overlay detected (DiscordHook64.dll)
  63.916 Steam Storage Quota: 23379/23841
  66.097 Loading map C:\Users\heinw\AppData\Roaming\Factorio\saves\test.zip: 986599 bytes.
  66.204 Loading level.dat: 377729 bytes.
  66.205 Info Scenario.cpp:178: Map version 2.0.11-3
  66.231 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
  66.231 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
  66.232 Loading blueprint storage: Local timestamp 1721076041, Cloud timestamp -1
  66.241 Loading script.dat: 1222679 bytes.
  66.261 Checksum for script __level__/control.lua: 2463946943
  66.275 Checksum for script __better-victory-screen__/control.lua: 2864776823
  66.277 Checksum for script __radar-equipment__/control.lua: 2500378751
  66.325 Checksum for script __factoryplanner__/control.lua: 3861966814
  66.341 Checksum for script __Milestones__/control.lua: 3827947592
  66.354 Checksum for script __RateCalculator__/control.lua: 1977779929
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Graphics\SpriteDrawOrder.cpp(111): SpriteDrawOrder::setup
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Graphics\DrawQueue.cpp(1042): DrawQueue::drawInfoIcon
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Input\SpidertronRemoteSelection.cpp(131): SpidertronRemoteSelection::drawInChart
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Graphics\ChartRenderer.cpp(422): ChartRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Gui\MinimapBase.cpp(103): MinimapBase::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Gui\MinimapBase.cpp(64): MinimapBase::paint
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Gui\MinimapGui.cpp(173): MinimapGui::paintComponent
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Frame.cpp(132): agui::Frame::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Layout.cpp(84): agui::Layout::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Frame.cpp(141): agui::Frame::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Layout.cpp(84): agui::Layout::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Frame.cpp(141): agui::Frame::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1771): agui::Widget::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1749): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1771): agui::Widget::recursivePaintChildrenInternal
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Widget\Widget.cpp(1745): agui::Widget::recursivePaintChildren
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\libraries\Agui\Gui.cpp(911): agui::Gui::render
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Graphics\GuiRenderer.cpp(71): GuiRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\MainLoop.cpp(1140): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\MainLoop.cpp(707): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Main.cpp(1325): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Main.cpp(1347): wmain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE8AA67374)
00007FFE8AA67374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE8B3FCC91)
00007FFE8B3FCC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  73.550 Error SpriteDrawOrder.cpp:113: Invalid sprite reference. Sprite: <EMPTY> {x = 0, y = 0, w = 0, h = 0}, 0x000001ce8f116d28
  73.550 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
  73.550 Error CrashHandler.cpp:190: Map tick at moment of crash: 230898
  73.648 Info CrashHandler.cpp:318: Executable CRC: 1736951873
  73.648 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.
  76.816 Uploading log file
  76.840 Error CrashHandler.cpp:270: Heap validation: success.
  76.844 Creating crash dump.
  77.491 CrashDump success
Attachments
factorio-current.log
(13.65 KiB) Downloaded 4 times
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby
Official Contributor to Space Exploration

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

Re: [2.0.11] Crash with modded spidertron with selected_minimap_representation=nil with spidertron remote

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”