StrangeLoopGames / EcoIssues

131 stars 21 forks source link

stockpile made the server crash (i think ) #23401

Closed Arend90 closed 2 years ago

Arend90 commented 2 years ago

[18:06:43.075] [38] [Error] [Eco] System.AggregateException: One or more errors occurred. (LiteDB ENSURE: empty page must be defined as empty type)

System.Exception: LiteDB ENSURE: empty page must be defined as empty type at LiteDB.Constants.ENSURE(Boolean conditional, String message) at LiteDB.Engine.Snapshot.NewPage[T]() at LiteDB.Engine.Snapshot.GetFreeDataPage(Int32 bytesLength) at LiteDB.Engine.DataService.<>cDisplayClass3_0.<gsource|0>d.MoveNext() at LiteDB.Engine.BufferWriter..ctor(IEnumerable`1 source) at LiteDB.Engine.DataService.Insert(BsonDocument doc) at LiteDB.Engine.LiteEngine.InsertDocument(Snapshot snapshot, BsonDocument doc, BsonAutoId autoId, IndexService indexer, DataService data) at LiteDB.Engine.LiteEngine.<>cDisplayClass7_0.b0(TransactionService transaction) at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func2 fn) at LiteDB.Engine.LiteEngine.Insert(String collection, IEnumerable1 docs, BsonAutoId autoId) at LiteDB.LiteCollection1.InsertBulk(IEnumerable1 entities, Int32 batchSize) at Eco.Stats.Stats.<>cDisplayClass31_0.b1(IGrouping2 group) at Eco.Shared.Utils.EnumerableExtensions.ForEach[T](IEnumerable1 enumeration, Action1 action) at Eco.Stats.Stats.RecordBulk(IEnumerable1 objs) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, PackFlags flags, List1 actions, IEnumerable1 preTests, IEnumerable`1 postEffects) at Eco.Gameplay.GameActions.GameActionManager.TryPerformActions(User user, GameActionPack actionPack, Boolean notify) at Eco.Gameplay.GameActions.GameActionManager.TryPerform(GameAction action, Boolean notify) at Eco.Gameplay.Items.WorkOrder.TryFinishIteration() at Eco.Gameplay.Items.WorkOrder.CheckTime(Boolean canBeActive) at Eco.Gameplay.Components.CraftingComponent.ProcessWorkOrders() at Eco.Gameplay.Components.CraftingComponent.Tick(Single deltaTime) at Eco.Gameplay.Components.CraftingComponent.Tick() at Eco.Gameplay.Objects.WorldObject.<>c.b246_0(WorldObjectComponent x) at Eco.Shared.Utils.ListExtensions.ForEach[T](IList1 list, Action1 action) at Eco.Gameplay.Objects.WorldObject.TickComponents() at Eco.Gameplay.Objects.WorldObject.Tick() at Eco.Gameplay.Objects.WorldObjectManager.TickObject(WorldObject worldObject) at Eco.Shared.Utils.EnumerableExtensions.ForEach[T](IEnumerable1 enumeration, Action1 action) at Eco.Gameplay.Objects.WorldObjectManager.TickAll() at Eco.Core.Utils.Threading.EventDrivenWorker.<>cDisplayClass8_0.<.ctor>b__0(CancellationToken token) at Eco.Core.Utils.Threading.EventDrivenWorker.DoRepeatableWork(CancellationToken token) at Eco.Core.Utils.Threading.RepeatableWorkerBase.DoWork(CancellationToken token)

image

D3nnis3n commented 2 years ago

That's an issue in LiteDB itself that is reported for over a year and they have unfortunately not found a fix yet: https://github.com/mbdavid/LiteDB/issues/1940

There is not really anything we can do.