Skip to content

Crash when trying to download from CivitAI with browser extension #1309

@CamilleHbp

Description

@CamilleHbp

What happened?

  1. Open Stability Matrix
  2. Install the Chrome extension
  3. Try to download a model from CivitAI with the extension
  4. Stability Matrix freezes and I get this exception in the logs.

Running on MacBook Pro M1 Max, macOS Sequoia 15.5 (24F74). I could never get the search to properly work with CivitAI even without a VPN and with my account connected.

Exception Details

Exception

2025-07-01 11:15:40.7514|INFO|StabilityMatrix.Avalonia.App|Activated with Protocol OpenUri: stabilitymatrix://downloadcivitmodel/?modelid=630820&type=Model&format=SafeTensor&size=full&fp=fp16
2025-07-01 11:15:40.7524|DEBUG|StabilityMatrix.Avalonia.Services.ModelDownloadLinkHandler|ModelDownloadLinkHandler Received URI: /?modelid=630820&type=Model&format=SafeTensor&size=full&fp=fp16
2025-07-01 11:16:35.8179|DEBUG|StabilityMatrix.Avalonia.App|OnExit: Disposing App Services
2025-07-01 11:16:35.8219|FATAL|StabilityMatrix.Avalonia.Program|Unhandled "InvalidOperationException": "'StabilityMatrix.Core.Helper.SharedFolders' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container."|System.InvalidOperationException: 'StabilityMatrix.Core.Helper.SharedFolders' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
   at StabilityMatrix.Avalonia.App.OnExit(Object sender, EventArgs _) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/App.axaml.cs:line 927

Version

v2.14.2

What Operating System are you using?

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrashBugs involving the app crashing to desktop

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions