Skip to content

failed to open database: database disk image is malformed when launching kiro-cli #3621

@qb411

Description

@qb411

Checks

Operating system

macOS 26.2.0 (25C56)

Expected behaviour

When a patch or unexpected reboot hits, that the kiro-cli agent be able to not corrupt when this event occurs.

Actual behaviour

A black screen presented itself randomly and I then experienced a patch to my laptop OS back to back. This forced a restart on my kiro-cli sessions and the error mentioned int he title resulted.

The update/doctor features do not seemingly correct this state, and I cannot seemingly return functionality of the agent.

Steps to reproduce

  1. Cause a system hang/freeze and reboot
  2. Begin OS update upon initial reboot.
  3. launch the terminal and try to acccess kiro-cli

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "1.24.0"
hash = "0728b2464fed0b53e63abbb9ce12fa38a0542d69"
date = "2026-01-15T23:42:41.840104Z (11d ago)"
variant = "full"

[system-info]
os = "macOS 26.2.0 (25C56)"
chip = "Apple M4"
total-cores = 10
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/Downloads/CODE"
cli-path = "/Users/USER/Downloads/CODE"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.toolbox/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/opt/homebrew/bin:/Users/USER/.local/bin#:/Users/USER/.local/bin"
QTERM_SESSION_ID = "67971645c14341029aa2af8de5c8d7c3"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.24.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions