squidy5 / cargo_ships

factorio mod that adds cargo ships and other content to the game
25 stars 39 forks source link

Crash when building track near bridge #38

Closed robot256 closed 4 years ago

robot256 commented 5 years ago

Running Factorio 0.17.54 and Cargo Ships 0.0.42. Headless server crashed while building track near a bridge. I had just tried building some landfill around the bridge, which didn't get built, and I think the bridge was open.

Error while running event cargo-ships::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
        __cargo-ships__/logic/bridge_logic.lua:263: in function 'ManageBridges'
        __cargo-ships__/control.lua:355: in function <__cargo-ships__/control.lua:352>
stack traceback:
        [C]: in function '__index'
        __cargo-ships__/logic/bridge_logic.lua:263: in function 'ManageBridges'
        __cargo-ships__/control.lua:355: in function <__cargo-ships__/control.lua:352
527168.481 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Cargo Ships caused a non-recoverable error.
Please report this error to the mod author.
squidy5 commented 5 years ago

thanks for the report. i will look into it

squidy5 commented 4 years ago

the code has changed since then, i wasn't able to reproduce the issue now, i assume its fixed until further bug reports are made