Skip to content

v0.19 regression: WASM crash now consistent on macOS 25.3 / Bun 1.3.12 (was intermittent in v0.18) #391

@papiofficial

Description

@papiofficial

Bug Report

Summary

After upgrading from v0.18.2 to v0.19.0, the PGLite WASM crash (originally reported in #223) went from intermittent to consistently reproducible on macOS 25.3 arm64 with Bun 1.3.12. Every gbrain command that touches PGLite now fails immediately.

Regression

  • v0.18.2: WASM crash was intermittent — some commands (e.g. gbrain embed --all) initialized successfully and ran to completion
  • v0.19.0: WASM crash is 100% consistent — no PGLite commands work at all

Error

PGLite failed to initialize its WASM runtime.
  This is most commonly the macOS 26.3 WASM bug: https://github.com/garrytan/gbrain/issues/223
  Run `gbrain doctor` for a full diagnosis.
  Original error: Aborted(). Build with -sASSERTIONS for more info.

Steps to Reproduce

  1. macOS 25.3 (Darwin 25.3.0, arm64) + Bun 1.3.12
  2. Upgrade gbrain from v0.18.2 → v0.19.0 via git pull && bun install
  3. Run any gbrain command: gbrain embed --all, gbrain config show, gbrain stats
  4. All fail with WASM crash

Environment

  • OS: macOS Darwin 25.3.0 arm64
  • Bun: 1.3.12
  • gbrain: v0.19.0 (commit 78ba0b5)
  • PGLite: 0.4.3

Related

Refs #223

Filed by

Peter Abilla (papiofficial) via OpenClaw agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions