Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on inference, checkpoint manager and model browser #1142

Open
lukytux opened this issue Feb 4, 2025 · 3 comments
Open

Crash on inference, checkpoint manager and model browser #1142

lukytux opened this issue Feb 4, 2025 · 3 comments
Labels
bug Something isn't working crash Bugs involving the app crashing to desktop

Comments

@lukytux
Copy link

lukytux commented Feb 4, 2025

What happened?

  1. Open stability matrix
  2. Go to inference --> did not respond anymore
  3. restart
  4. Go to checkpoint --> crash with message and log. LiteD encounter an error. Details in the inner exception.
  5. restart
  6. Go to model browser --> crash with message and log. LiteD encounter an error. Details in the inner exception.

Exception Details

Exception

LiteAsyncException: LiteDB encounter an error. Details in the inner exception.
LiteException: page type must be collection page

Sentry ID

fcd24a21

Stack Trace

at StabilityMatrix.Core.Database.LiteDbContext.TryQueryWithClearOnExceptionAsync[T,TResult](ILiteCollectionAsync`1 collection, Task`1 task) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Database/LiteDbContext.cs:line 293 at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.SearchModels(Boolean isInfiniteScroll) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/CivitAiBrowserViewModel.cs:line 592 at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CivitAiBrowserViewModel.OnInitialLoadedAsync() in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/ViewModels/CheckpointBrowser/CivitAiBrowserViewModel.cs:line 272 at AsyncAwaitBestPractices.SafeFireAndForgetExtensions.HandleSafeFireAndForget[TException](Task task, Boolean continueOnCapturedContext, Action`1 onException) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore() at Avalonia.Threading.DispatcherOperation.Execute() at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job) at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback) at Avalonia.Threading.Dispatcher.Signaled() at Avalonia.Native.Interop.Impl.__MicroComIAvnPlatformThreadingInterfaceEventsVTable.Signaled(Void* this) --- End of stack trace from previous location --- at Avalonia.Native.DispatcherImpl.RunLoop(CancellationToken token) at Avalonia.Native.DispatcherImpl.RunLoop(CancellationToken token) at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl) at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args) at StabilityMatrix.Avalonia.Program.Main(String[] args) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/Program.cs:line 132

   at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
   at LiteDB.SharedEngine.DeleteMany(String collection, BsonExpression predicate)
   at LiteDB.Async.LiteDatabaseAsync.<>c__DisplayClass37_0`1.<EnqueueAsync>g__Function|0()```

### Version

v2.13.3

### What Operating System are you using?

macOS
@lukytux lukytux added bug Something isn't working crash Bugs involving the app crashing to desktop labels Feb 4, 2025
@lukytux
Copy link
Author

lukytux commented Feb 5, 2025

I have try to remove the application and reinstall it but without success.
I have try to remove /Users/runner/work/StabilityMatrix directory, no success
I have try to delete StabilityMatrix.db but this doesnt change anything...

Stability Matrix crash every time i go to inference, checkpoint manager and model browser...
The application is not usable anymore...

What can i try now?

@lukytux
Copy link
Author

lukytux commented Feb 5, 2025

After removing the .downloads folder and StabilityMatrix.db and StabilityMatrix-log.db the application doesn't crash anymore on inference and model browser but continue to crash on when i go to checkpoint.

@lukytux
Copy link
Author

lukytux commented Feb 7, 2025

I really love this software it can really help a lot. Big thank's on the the dev!
But for now this app is unusable.
Anyone to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Bugs involving the app crashing to desktop
Projects
None yet
Development

No branches or pull requests

1 participant