This object is in archive! 

New pack of Server crashes. 1.194.081

slimeradio shared this bug 4 years ago
Solved

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet`1.Enumerator.MoveNext()
at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateBeforeSimulation()
at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchBeforeSimulation()
at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

System.EntryPointNotFoundException: Entry point was not found.
   at System.Collections.Generic.IReadOnlyCollection`1.get_Count()
   at VRage.Collections.MyDistributedUpdater`2.Enumerator.MoveNext()
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation100()
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()
   at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()
   at Sandbox.Game.World.MySector.UpdateAfterSimulation()
   at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)


ParallelTasks.TaskException: An exception(s) was thrown while executing a task.
   at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)
   at ParallelTasks.Task.WaitOrExecute(Boolean blocking)

ParallelTasks.TaskException: An exception(s) was thrown while executing a task.
   at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)
   at ParallelTasks.Task.WaitOrExecute(Boolean blocking) 

at ParallelTasks.Parallel.ForEach[T](IEnumerable`1 collection, Action`1 action, WorkPriority priority, Nullable`1 options, Boolean blocking)

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.PerformParallelUpdate(Action`1 updateFunction)

at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()

at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()

at Sandbox.Game.World.MySector.UpdateAfterSimulation()

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

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

System.NullReferenceException: Object reference not set to an instance of an object.
   at Sandbox.Game.GameSystems.MyGridConveyorSystem.ItemPullAll(IMyConveyorEndpointBlock start, MyInventory destinationInventory, Boolean calcImmediately)
   at Sandbox.Game.GameSystems.MyGridConveyorSystem.PullAllRequest(IMyConveyorEndpointBlock start, MyInventory destinationInventory, Int64 playerId, Boolean all)
   at Sandbox.Game.Entities.Cube.MyShipConnector.UpdateBeforeSimulation10()
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateBeforeSimulation10()
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchBeforeSimulation()
   at Sandbox.Game.Entities.MyEntities.UpdateBeforeSimulation()
   at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
   at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
And an old one


newEntity: Sandbox.Game.Entities.MyVoxelPhysics, oldEntity: Sandbox.Game.Entities.MyVoxelPhysicsVRage.DuplicateIdException: Exception of type 'VRage.DuplicateIdException' was thrown.
   at AssertionPerformanceFix.MyEntitiyIdentifierPatch.AddEntityWithIdPatch(IMyEntity entity) in F:\SE\Space Engineers\ALE AssertionPerformanceFix\AssertionPerformanceFix\MyEntitiyIdentifierPatch.cs:line 53
   at Patched_VRage.MyEntityIdentifierAddEntityWithId_0(IMyEntity )
   at VRage.Game.Entity.MyEntity.set_EntityId(Int64 value)
   at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, MatrixD worldMatrix, Vector3I storageMin, Vector3I storageMax, MyPlanet parent)
   at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, Vector3D positionMinCorner, Vector3I storageMin, Vector3I storageMax, MyPlanet parent)
   at Sandbox.Game.Entities.MyPlanet.CreateVoxelPhysics(Vector3I& increment, Vector3I_RangeIterator& it)
   at Sandbox.Game.Entities.MyPlanet.GeneratePhysicalShapeForBox(Vector3I& increment, BoundingBoxD& shapeBox)
   at Sandbox.Game.Entities.MyPlanet.UpdatePlanetPhysics(BoundingBoxD& box)
   at Sandbox.Game.Entities.MyPlanet.UpdateFloraAndPhysics(Boolean serial)
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation10()
   at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()
   at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()
   at Sandbox.Game.World.MySector.UpdateAfterSimulation()
   at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object )
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

Replies (3)

photo
1

As before, I dont know, how to reproduce it. But this errors still crashing servers. Data collected from 8 projects. We have crashes on vanilla projects too.


Also I have found that this function was working for 350 ms. Which looks like this periodic simulation drops that all servers are effected.

photo
1

Please update the game and let us know if it works as expected.

photo
1

Hello Engineer,


Since there are no new comments in this topic, we are closing this thread.

In case anyone is encountering the same or similar bug, which is not already posted in a

different thread, please feel free to create a new thread with all relevant information.

Thank you.


Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!