server crash

Pisces shared this bug 2 years ago
Submitted

2019-03-01 11:09:14.390|Main Thread> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.GetBlockAdjacency(MyBlock block)

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.ConnectBlocks(MyBlock block1, MyBlock block2, BoundingBox& connectionBB)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.RegenerateModels(Dictionary`2 genBlocksModified, MyGridDataComponent gridData, List`1 tempBlocks)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.GenerateAdditionalBlocks(MyGridDataComponent gridData, List`1 blocks, Boolean blockAdded, MyBlock ignoreBlock)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.GridOnBlockRemoved(MyBlock myBlock, MyGridDataComponent gridData)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.UpdateBlockIntegrity(MyPlayer buildingPlayer, GridBlockTuple block, Int32 integrityChange, Dictionary`2 items)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.SecondaryAction(MyBuilderToolBehaviorDefinition builderToolBehaviorDefinition, MyPlayer player)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.Hit()

at Sandbox.Game.EntityComponents.Character.MyToolBehaviorBase.ActionHit(Int64 deltaFrames)

at VRage.Components.MyUpdateScheduler.RunTimedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Game.World.MySession.UpdateComponents()

at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at VRage.Components.MyUpdateScheduler.RunFixedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()

at VRage.Utils.FixedLoop.Run(Action tickCallback)

at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()

at VRage.Dedicated.DedicatedServer`1.RunInternal()

at VRage.Dedicated.DedicatedServer`1.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)

2019-03-01 11:09:14.390|Main Thread> =============================== FATAL EXCEPTION ================================

2019-03-01 11:09:14.391|Main Thread> Log Closed

DS exited, stopping service

Service request: Stop

Comments (5)

photo
1

No mods, vanilla install

photo
1

root cause found:

one player has build a house, in the house the furnance was half build into a wall, below the building has dug a tunnel and not reinforced with wall etc. some blocks were broken, everytime when he tried to remove blocks, the server crashed. removal via admin privledges was required.

photo
1

This is not also happening on Servers, happend to me today in Single player, same crash... I was think OBS have somthing whit this, but I just know test one more time, and make same. I was finishing the basic house and to fisnish the roof, just crash the game 5 times...And also is moded... so I hope they will fix this.....

photo
photo
1

2019-03-09 10:20:32.679|Main Thread> =============================== FATAL EXCEPTION ================================

2019-03-09 10:20:32.695|Main Thread> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.GetBlockAdjacency(MyBlock block)

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.ConnectBlocks(MyBlock block1, MyBlock block2, BoundingBox& connectionBB)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.RegenerateModels(Dictionary`2 genBlocksModified, MyGridDataComponent gridData, List`1 tempBlocks)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.GenerateAdditionalBlocks(MyGridDataComponent gridData, List`1 blocks, Boolean blockAdded, MyBlock ignoreBlock)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.GridOnBlockRemoved(MyBlock myBlock, MyGridDataComponent gridData)

at VRage.Components.Entity.CubeGrid.MyGridDataComponent.RemoveBlock(MyBlock block, Boolean syncMp)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.UpdateBlockIntegrity(MyPlayer buildingPlayer, GridBlockTuple block, Int32 integrityChange, Dictionary`2 items)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.SecondaryAction(MyBuilderToolBehaviorDefinition builderToolBehaviorDefinition, MyPlayer player)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.Hit()

at Sandbox.Game.EntityComponents.Character.MyToolBehaviorBase.ActionHit(Int64 deltaFrames)

at VRage.Components.MyUpdateScheduler.RunTimedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Game.World.MySession.UpdateComponents()

at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at VRage.Components.MyUpdateScheduler.RunFixedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()

at VRage.Utils.FixedLoop.Run(Action tickCallback)

at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()

at VRage.Dedicated.DedicatedServer`1.RunInternal()

at VRage.Dedicated.DedicatedServer`1.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)

2019-03-09 10:20:32.695|Main Thread> =============================== FATAL EXCEPTION ================================

photo
1

2019-03-10 09:17:00.761|Main Thread> =============================== FATAL EXCEPTION ================================

2019-03-10 09:17:00.777|Main Thread> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.GetBlockAdjacency(MyBlock block)

at VRage.Components.Entity.CubeGrid.MyGridConnectivityComponent.ConnectBlocks(MyBlock block1, MyBlock block2, BoundingBox& connectionBB)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.RegenerateModels(Dictionary`2 genBlocksModified, MyGridDataComponent gridData, List`1 tempBlocks)

at Medieval.Entities.Components.Grid.MyAdditionalBlocksGeneratorComponent.GenerateAdditionalBlocks(MyGridDataComponent gridData, List`1 blocks, Boolean blockAdded, MyBlock ignoreBlock)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.UpdateBlockIntegrity(MyPlayer buildingPlayer, GridBlockTuple block, Int32 integrityChange, Dictionary`2 items)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.PrimaryAction(MyBuilderToolBehaviorDefinition def, MyPlayer player)

at Medieval.GameSystems.Tools.MyBuilderToolBehavior.Hit()

at Sandbox.Game.EntityComponents.Character.MyToolBehaviorBase.ActionHit(Int64 deltaFrames)

at VRage.Components.MyUpdateScheduler.RunTimedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Game.World.MySession.UpdateComponents()

at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at VRage.Components.MyUpdateScheduler.RunFixedUpdates()

at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)

at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()

at VRage.Utils.FixedLoop.Run(Action tickCallback)

at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()

at VRage.Dedicated.DedicatedServer`1.RunInternal()

at VRage.Dedicated.DedicatedServer`1.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole)

2019-03-10 09:17:00.777|Main Thread> =============================== FATAL EXCEPTION ================================

photo
1

I have had this happen several times on a DS I host. Each time it happened I had another player who was working with Thatch roofs. We removed the thatch roofs and no other players have constructed them - error and crash has not come up again.