heinwessels / factorio-spidertron-dock

A Factorio mod that adds a dock that spidertron-like vehicles can dock to. Intended to be used with Space Exploration spaceships.
https://mods.factorio.com/mod/spidertron-dock
1 stars 1 forks source link

Crash on interaction with dock #2

Open agmlego opened 2 months ago

agmlego commented 2 months ago

I can reliably crash Factorio 1.1.110 when interacting with some docks; whether by the circuit interface, direct toggle, or mining. These docks are on a spaceship that has done numerous flights. Other docks seem to work fine.

Error MainLoop.cpp:1404: Exception at tick 138025532: The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::ss-spidertron-dock-toggle (ID 275)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:373: in function 'dock_from_serialised_to_active'
__spidertron-dock__/control.lua:887: in function 'dock_switch_to_mode'
__spidertron-dock__/control.lua:934: in function <__spidertron-dock__/control.lua:920>
Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::ss-spidertron-dock-toggle (ID 275)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:373: in function 'dock_from_serialised_to_active'
__spidertron-dock__/control.lua:887: in function 'dock_switch_to_mode'
__spidertron-dock__/control.lua:934: in function <__spidertron-dock__/control.lua:920>"
Info ServerMultiplayerManager.cpp:814: updateTick(138025532) changing state from(InGame) to(Failed)

Modlist:

7seg = "1.0.1"
AdvancedAssemblyMachineStandalone = "0.9.6"
AlertScanner = "0.1.11"
AutoDeconstruct = "0.4.4"
AutoTrash = "5.3.13"
Automatic_Train_Painter = "1.2.0"
BlueprintSignals_continued = "0.4.3"
CircuitConditionScreen = "0.3.3"
DistributionRequestPlanner = "0.0.2"
DragonIndustries = "1.152.1"
Flow Control = "3.1.4"
FluidWagonColorMask = "1.1.0"
Geothermal = "1.152.1"
GhostWarnings = "1.2.2"
Inventory Sensor = "1.10.7"
LogisticTrainNetwork = "1.18.6"
MiniRoboports = "1.1.1"
ModuleInserter = "5.2.4"
PipeVisualizer = "2.2.1"
SE_liquid_reactor = "1.0.2"
SpidertronEnhancements = "1.9.2"
Todo-List = "19.3.0"
Waterfill_v17 = "1.1.0"
WireShortcuts = "1.1.13"
aai-containers = "0.2.11"
aai-industry = "0.5.22"
aai-programmable-structures = "0.7.4"
aai-programmable-vehicles = "0.7.25"
aai-pv-crafting-group = "0.0.1"
aai-signal-transmission = "0.4.9"
aai-signals = "0.6.1"
aai-vehicles-chaingunner = "0.6.1"
aai-vehicles-flame-tank = "0.5.1"
aai-vehicles-flame-tumbler = "0.6.1"
aai-vehicles-hauler = "0.6.1"
aai-vehicles-ironclad = "0.6.8"
aai-vehicles-laser-tank = "0.6.4"
aai-vehicles-miner = "0.6.6"
aai-vehicles-warden = "0.5.3"
aai-zones = "0.6.4"
advanced-centrifuge = "1.0.3"
advanced-chemical-plant = "1.3.2"
alien-biomes = "0.6.8"
base = "1.1.110"
bullet-trails = "0.6.2"
combat-mechanics-overhaul = "0.6.24"
combinator-stack-button = "0.0.1"
easy-roboport-placement = "0.0.2"
fCPU-SEFix-FixMem = "0.5.0"
flib = "0.14.2"
grappling-gun = "0.3.3"
helmod = "1.0.14"
informatron = "0.3.4"
inventory-repair = "19.1.1"
jetpack = "0.3.14"
k2-air-purifier = "1.0.3"
kry-inserters = "4.1.13"
logistic-signals = "0.9.0"
ltn-cleanup = "1.0.17"
miniloader = "1.15.7"
osha_container_signals = "0.0.5"
piocu-pause-instead-of-catching-up = "1.0.0"
pushbutton = "1.1.2"
resourceMarker = "0.7.31"
robot_attrition = "0.5.15"
rocket-log = "1.1.13"
rusty-locale = "1.0.16"
se-cme-combinator = "1.0.0"
se-ltn-glue = "0.6.0"
shield-projector = "0.1.6"
silent-filter-combinator = "1.1.0"
simhelper = "1.1.6"
space-exploration = "0.6.138"
space-exploration-graphics = "0.6.18"
space-exploration-graphics-2 = "0.6.1"
space-exploration-graphics-3 = "0.6.2"
space-exploration-graphics-4 = "0.6.3"
space-exploration-graphics-5 = "0.6.1"
space-exploration-hr-graphics = "0.5.1"
space-exploration-menu-simulations = "0.6.9"
space-exploration-postprocess = "0.6.30"
space-exploration-rocket-fuel-flamethrower-turret = "1.0.0"
space-spidertron = "1.3.4"
spidertron-dock = "1.0.4"
spidertron-extended = "0.3.16"
spidertron-extended-se = "0.3.9"
stack-combinator = "1.6.2"
stdlib = "1.4.8"
textplates = "0.6.10"
underground-storage-tank = "2.0.1"
heinwessels commented 2 months ago

Hello! Thanks for the report. This looks like another mod is destroying the spider during the undocking procedure, and aai-programmable-vehicles looks suspicious. That mod has functionality that is known to do this. Could you verify this? You could do this by:

See if the crash goes away

agmlego commented 2 months ago

Changing Deadzone construction denial range to 0 did not seem to change anything; see trace below.

Error MainLoop.cpp:1404: Exception at tick 138115547: The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::on_nth_tick(10)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:334: in function 'dock_from_serialised_to_spider'
__spidertron-dock__/control.lua:471: in function 'undock_spider'
__spidertron-dock__/control.lua:558: in function 'attempt_undock'
__spidertron-dock__/control.lua:1114: in function 'callback'
__spidertron-dock__/lib/lib.lua:72: in function 'for_n_of'
__spidertron-dock__/control.lua:1141: in function <__spidertron-dock__/control.lua:1136>
Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::on_nth_tick(10)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:334: in function 'dock_from_serialised_to_spider'
__spidertron-dock__/control.lua:471: in function 'undock_spider'
__spidertron-dock__/control.lua:558: in function 'attempt_undock'
__spidertron-dock__/control.lua:1114: in function 'callback'
__spidertron-dock__/lib/lib.lua:72: in function 'for_n_of'
__spidertron-dock__/control.lua:1141: in function <__spidertron-dock__/control.lua:1136>"
Info ServerMultiplayerManager.cpp:814: updateTick(138115547) changing state from(InGame) to(Failed)

Removing aai-programmable-vehicles also did not seem to fix it, yielding the following:

Error MainLoop.cpp:1404: Exception at tick 138117242: The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::on_nth_tick(10)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:334: in function 'dock_from_serialised_to_spider'
__spidertron-dock__/control.lua:471: in function 'undock_spider'
__spidertron-dock__/control.lua:558: in function 'attempt_undock'
__spidertron-dock__/control.lua:1114: in function 'callback'
__spidertron-dock__/lib/lib.lua:72: in function 'for_n_of'
__spidertron-dock__/control.lua:1141: in function <__spidertron-dock__/control.lua:1136>
Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Spidertron Dock (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event spidertron-dock::on_nth_tick(10)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function '__newindex'
__spidertron-dock__/lib/spidertron_lib.lua:232: in function 'deserialise_spidertron'
__spidertron-dock__/control.lua:334: in function 'dock_from_serialised_to_spider'
__spidertron-dock__/control.lua:471: in function 'undock_spider'
__spidertron-dock__/control.lua:558: in function 'attempt_undock'
__spidertron-dock__/control.lua:1114: in function 'callback'
__spidertron-dock__/lib/lib.lua:72: in function 'for_n_of'
__spidertron-dock__/control.lua:1141: in function <__spidertron-dock__/control.lua:1136>"
Info ServerMultiplayerManager.cpp:814: updateTick(138117242) changing state from(InGame) to(Failed)
heinwessels commented 1 month ago

Could you provide your save file?

agmlego commented 1 month ago

Certainly, see https://agmlego.com/hosting/agmlego_factorio.zip

The ship in question (Kestrel) is in Melione Orbit at (557.0, -139.3).