Check Electrical Constraints loop crashing server
Been since latest update spoke with Torch guys and pointed me to drop a report here.
a CheckElectricalConstraints check happens and crashes server on loop.
13:45:15.3571 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
13:44:27.5625 [ERROR] Keen: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at WeaponCore.Session.ServerClientAiExists(PacketObj data)
at WeaponCore.Session.ProccessServerPacket(Byte[] rawData)
at Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.HandleMessage(UInt16 id, Byte[] message)
at Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.ModMessageServerReliable<>System_UInt16#System_Byte<#>#System_UInt64.Invoke(IMyEventOwner& <static>, UInt16& id, Byte[]& message, UInt64& recipient, DBNull& arg4, DBNull& arg5, DBNull& arg6)
at VRage.Network.CallSite`7.Invoke(BitStream stream, Object obj, Boolean validate)
at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate)
at Patched_VRage.Network.MyReplicationServerOnEvent_0(Object site, MyPacketDataBitStreamBase obj, CallSite sendAs, Object position, IMyNetObject source, Nullable`1 , EndpointId )
at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable`1 position)
at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender)
at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet)
at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p)
at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p)
at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at WeaponCore.Session.ServerClientAiExists(PacketObj data)
at WeaponCore.Session.ProccessServerPacket(Byte[] rawData)
at Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.HandleMessage(UInt16 id, Byte[] message)
at Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.ModMessageServerReliable<>System_UInt16#System_Byte<#>#System_UInt64.Invoke(IMyEventOwner& <static>, UInt16& id, Byte[]& message, UInt64& recipient, DBNull& arg4, DBNull& arg5, DBNull& arg6)
at VRage.Network.CallSite`7.Invoke(BitStream stream, Object obj, Boolean validate)
at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate)
at Patched_VRage.Network.MyReplicationServerOnEvent_0(Object site, MyPacketDataBitStreamBase obj, CallSite sendAs, Object position, IMyNetObject source, Nullable`1 , EndpointId )
at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable`1 position)
at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender)
at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet)
at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p)
at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p)
at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)
13:44:27.5625 [DEBUG] Keen: Packet processing error, disconnecting VRage.Network.Endpoint
13:44:27.5625 [INFO] Keen: User left Oscar
13:44:33.7224 [DEBUG] Keen: GC Memory: 5068.03 / 5068.03 MB
13:44:40.4537 [DEBUG] Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemoryUsed,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime,LowSimQuality,FrameTimeLimit,FrameTimeCPU,FrameTimeGPU,CPULoadLimit,TrackedMemory,GCMemoryAllocated,PersistedEncounters,EncounterEntities
13:44:40.4537 [DEBUG] Keen: STATISTICS,120.0333334,0.01691055,2.01933,0.02395248,3.045319,0.7562294,72.21194,39.87838,9.564191,4,0,5082.069,9684.719,917037,99100071,256,0,0,0.3506635,26272,0,0,16.66667,0,0,100,3766336966,5082.069,0,0
13:44:40.4537 [DEBUG] Keen: MEMORY LEGEND,Srv,Uav,Read,Debug,Index,Audio,SrvUav,Vertex,Buffers,Physics,Planets,Systems,Textures,Indirect,Constant,RwTextures,Dx11Render,MeshBuffers,FileTextures,DepthStencil,TileTextures,Voxels-Native,CustomTextures,HeightmapFaces,Mesh GPU Buffers,BitStreamBuffers,GeneratedTextures,FileArrayTextures,NativeDictionaries,CubemapDataBuffers,HeightDetailTexture,MyDeviceWriteBuffers,ShadowCascadesStatsBuffers,AI_PathFinding,EpicOnlineServices,EpicOnlineServicesWrapper
13:44:40.4537 [DEBUG] Keen: MEMORY VALUES,0,0,0,0,0,0,0,0,0,475,1548,3591,0,0,0,0,0,0,0,0,0,0,0,676,0,304,0,0,1263,859,12,0,0,0,0,0
13:44:46.4251 [INFO] Keen: ANTIGRIEF: Safe Zone Removed - Faction: 'Acquisition & Recovery'
13:44:46.4251 [INFO] Keen: ANTIGRIEF: Safe Zone Removed - Faction: 'Acquisition & Recovery'
13:44:52.9932 [INFO] Keen: Peer2Peer_ConnectionFailed [007...675], Timeout
13:44:53.0230 [INFO] Keen: User left [007...675]
13:45:03.7233 [DEBUG] Keen: GC Memory: 4122.288 / 4122.288 MB
13:45:05.0213 [INFO] Keen: ANTIGRIEF: Safe Zone Removed - Faction: 'Gbbg'
13:45:18.1461 [INFO] Keen: Peer2Peer_SessionRequest [007...675]
Hello, Stargate Dimensions!
Thank you for reporting this and sorry you are experiencing this issue. This is something we are currently aware of internally but will use this thread as the main thread for any further updates :)
Kind Regards
Laura, QA Department
Hello, Stargate Dimensions!
Thank you for reporting this and sorry you are experiencing this issue. This is something we are currently aware of internally but will use this thread as the main thread for any further updates :)
Kind Regards
Laura, QA Department
same bug when a player disconnect a ship from his station
16:32:15.5912 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
16:32:15.5912 [INFO] Initializer: Generating minidump at C:\serveur_se\TorchNexus2\Instance\Minidump.dmp
16:32:15.5912 [ERROR] Initializer: Keen broke the minidump, sorry.
same bug when a player disconnect a ship from his station
16:32:15.5912 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.MyShipConnector.CheckElectricalConstraints()
at Sandbox.Game.Entities.Cube.MyShipConnector.OnConnectionStateChanged()
at System.Action`1.Invoke(T obj)
at VRage.Sync.SyncBase.RaiseValueChanged(Boolean notify)
at VRage.Sync.Sync`2.SetValue(T& newValue, Boolean validate, Boolean ignoreSyncDirection, Boolean received)
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateConnectionState()
at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateOnceBeforeFrame()
at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorDispatchOnceBeforeFrame_0(Object )
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan )
at Sandbox.MySandboxGame.Update()
at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object )
at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object )
at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object )
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at Torch.VRageGame.DoStart() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 316
at Torch.VRageGame.Run() in C:\build\workspace\Torch_Torch_master\Torch\VRageGame.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
16:32:15.5912 [INFO] Initializer: Generating minidump at C:\serveur_se\TorchNexus2\Instance\Minidump.dmp
16:32:15.5912 [ERROR] Initializer: Keen broke the minidump, sorry.
Hello, Engineers!
A quick update for you :) The fix for this should be part of the upcoming hotfix release next week at the earliest.
Apologies again for the issues you are facing.
Kind Regards
Laura, QA Department
Hello, Engineers!
A quick update for you :) The fix for this should be part of the upcoming hotfix release next week at the earliest.
Apologies again for the issues you are facing.
Kind Regards
Laura, QA Department
Hello!
We anticipate release of a hotfix to resolve this issue in the coming week. Thank you for understanding.
Kind Regards
Keen Software House: QA Department
Hello!
We anticipate release of a hotfix to resolve this issue in the coming week. Thank you for understanding.
Kind Regards
Keen Software House: QA Department
Replies have been locked on this page!