Skip to content

Crash on startup using icloud vault  #683

Closed

Description

@libravault-xyz

TestFlight feedback: tried to set my vault to an icloud folder and now it crashes on startup immediately :(

Activity

  1. added
    bug
    TestFlight
    status:triage
    on Aug 27, 2026
  2. added
    status:ready-for-dev
    status:in-progress
    and removed
    status:triage
    on Aug 27, 2026
  3. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor

    Opened #684 with a fix. Root cause: AppState.loadLibrary() (which re-scans every added folder on every launch) called the filesystem walk synchronously on the main actor. For an iCloud Drive folder that walk can require the OS to fetch remote metadata for every not-yet-downloaded placeholder, which is slow enough to trip iOS's main-thread hang watchdog — perceived by the user as a crash on every startup once a slow folder is configured.

    Note: the report had no crash log, device, or iOS version attached, so I couldn't directly confirm this is the exact mechanism — I ruled out force-unwraps/uncaught throws anywhere in the folder-add/bookmark-resolve/scan path first (all of it already degrades gracefully), and this watchdog-timeout path was the only concrete way I found for "iCloud folder" + "crashes every time on startup" to fit together. If QA/CI can't confirm this resolves it, a crash log from the reporter (via TestFlight's own crash report, or Settings → Privacy → Analytics & Improvements → Analytics Data on their device) would help narrow it down further.

  4. removed
    status:ready-for-dev
    status:in-progress
    on Aug 27, 2026
  5. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor

    Closed automatically: PR #685, which resolves this issue, was merged.

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

    TestFlightbugios

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions