-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Bug Description
The pre-built v2.1.0 binary from curl -fsSL https://forgecode.dev/cli | sh segfaults immediately when the model begins streaming a response. This affects both REPL and non-REPL (zsh plugin) modes. All other commands (auth, model switching, config) work fine — the crash only occurs at the moment a model response starts streaming.
Building from source (cargo build --release) on the same machine completely resolves the issue, suggesting an ABI or SDK incompatibility between the pre-built binary and macOS 26 (Tahoe).
Claude Code (v2.1.81) works perfectly on the same machine, confirming there are no network or auth issues.
Environment:
- Forge version: v2.1.0 (pre-built binary via install script)
- macOS: 26.3.1 (Tahoe), build 25D2128
- Chip: Apple Silicon arm64 (Mac16,5)
- Binary: Mach-O 64-bit executable arm64
- Works fine on: WSL and Linux with the same version
Crash details:
- Exception: EXC_BAD_ACCESS (SIGSEGV)
- Subtype: KERN_INVALID_ADDRESS at 0x0000000000000002
- Faulting thread: tokio-rt-worker
- ESR description: Data Abort — byte read Translation fault
Workaround:
Clone the repo and cargo build --release. The locally compiled binary works without issues.
Steps to Reproduce
- Install Forge via
curl -fsSL https://forgecode.dev/cli | shon macOS Tahoe 26.3.1 (arm64) - Authenticate and run
forge - Enter any prompt (e.g.,
hello) - Observe:
zsh: segmentation fault forge
Expected Behavior
The model should respond
Actual Behavior
zsh: segmentation fault forge
Error Logs
Forge Version
2.1.0
Operating System
None
OS Version
No response
AI Provider
None
Model
No response
Installation Method
Other