Skip to content

Crash after v2.15.0 update #1372

Description

@skelsan

app.log

What happened?

  1. Open Stability Matrix.
  2. Go to anywhere (Settings, Inference, Checkpoint Manager, etc).
  3. See the crash.

Exception Details

Exception

LiteAsyncException: LiteDB encounter an error. Details in the inner exception.
LiteException: Detected loop in FindAll({0})

Sentry ID

00000000

Stack Trace

   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
   at System.Lazy`1.CreateValue()
   at StabilityMatrix.Core.Database.LiteDbContext.get_CivitModels()
   at StabilityMatrix.Core.Services.ModelIndexService.RefreshIndexParallelCore()
   at StabilityMatrix.Core.Services.ModelIndexService.<BackgroundRefreshIndex>b__29_0()
   at AsyncAwaitBestPractices.SafeFireAndForgetExtensions.HandleSafeFireAndForget[TException](Task task, Boolean continueOnCapturedContext, Action`1 onException)```
```   at LiteDB.Constants.ENSURE(Boolean conditional, String format, Object[] args)
   at LiteDB.Engine.IndexService.FindAll(CollectionIndex index, Int32 order)+MoveNext()
   at LiteDB.LinqExtensions.<>c__DisplayClass2_0`2.<<DistinctBy>g___|0>d.MoveNext()
   at LiteDB.Engine.LiteEngine.<>c__DisplayClass5_0.<EnsureIndex>b__0(TransactionService transaction)
   at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
   at LiteDB.Engine.LiteEngine.RebuildContent(IFileReader reader)
   at LiteDB.Engine.RebuildService.Rebuild(RebuildOptions options)
   at LiteDB.Engine.LiteEngine.Rebuild(RebuildOptions options)
   at LiteDB.SharedEngine.Rebuild(RebuildOptions options)
   at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass37_0`1.<EnqueueAsync>g__Function|0()```


### Version

v2.15.0

### What Operating System are you using?

Windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrashBugs involving the app crashing to desktop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions