Skip to content

LiteDB GithubCache corruption causes freeze (~30 errors) and crash on startup #1745

Description

@SinonkaZLp1

What happened?

What happened? After updating/installing ComfyUI 0.36.0, Stability Matrix freezes on startup, floods the error log with ~30 LiteDB errors, then crashes to desktop.

System:

OS: Windows
GPU: RTX 3050 6GB + GTX 1050 Ti 4GB (dual GPU)
CPU: AMD FX-8300
RAM: 28 GB DDR3
Stability Matrix version: 2.16.4
Steps to reproduce:

Install or update ComfyUI to version 0.36.0
Restart Stability Matrix
App freezes on Package Manager load → ~30 errors → crash
Errors (Sentry IDs):

028917b4 — AggregateException: Repeated LiteDb error in GithubCache
e569e95f — LiteException: page type must be index page
9e7f7a93 — AggregateException: Repeated LiteDb error in GithubCache
de354d10 — ArgumentOutOfRangeException in PackageImportViewModel
Additional context:

Windows chkdsk found a filesystem write error (no bad sectors)
Deleting the cache .db file temporarily helps but corruption returns on next launch (likely due to GitHub API rate limit ~90-150 requests during cache rebuild)

Steps to reproduce

No response

Relevant logs

Version

2.16.3-2.16.4

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 working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions