Trace trap (SIGTRAP / EXC_BREAKPOINT) on startup — Claude Code 2.1.1 on macOS 26.3 (arm64)
Status Open
Reported on v2.1.1
Maintainer reply None cached
Activity 11 comments · opened Jan 9, 2026
Preflight Checklist
- [x] I have searched existing issues
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
Running claude exits immediately with zsh: trace trap claude. This happens even after disabling all plugins. claude --version and claude --help work; only interactive startup crashes.
Steps to Reproduce
- macOS 26.3 (arm64), zsh in Ghostty
claude- Immediate SIGTRAP/trace trap crash
Expected Behavior
Claude Code launches the interactive session.
Actual Behavior
Immediate crash: zsh: trace trap claude
Environment
- Claude Code version: 2.1.1 (native build)
- OS: macOS 26.3 (25D5087f)
- Hardware: Apple Silicon (arm64), model Mac15,6
- Terminal: Ghostty (zsh)
- Plugins: all disabled (all
enabledPluginsset tofalsein~/.claude/settings.json)
Crash Report Summary
Crash report (local): ~/Library/Logs/DiagnosticReports/2.1.1-2026-01-08-190814.ips
- Exception:
EXC_BREAKPOINT/SIGTRAP - Triggered thread:
Bun Pool 3 - ESR:
(Breakpoint) pointer authentication trap IB
Logs
- Debug log (local):
~/.claude/debug/ac380475-6f09-47bf-91f1-5a4d7451c7dd.txt
Happy to provide full crash log / debug log on request.
11 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Additional details after disabling all plugins:
claude --version→2.1.1 (Claude Code)claude --helpworksclaude→zsh: trace trap claudeCrash report summary (
~/Library/Logs/DiagnosticReports/2.1.1-2026-01-08-190814.ips):EXC_BREAKPOINT/SIGTRAPTrace/BPT trap: 512Bun Pool 3(Breakpoint) pointer authentication trap IBDebug log excerpt (
~/.claude/debug/ac380475-6f09-47bf-91f1-5a4d7451c7dd.txt):Full crash report and debug log available if needed.
Following, seems to happen more in iterm2 than terminal
For me the problem were massive session files. after removing them, issue is gone
<img width="975" height="105" alt="Image" src="https://github.com/user-attachments/assets/e949e3e9-70e4-42ab-89af-54b8b31d8c36" />
<img width="914" height="297" alt="Image" src="https://github.com/user-attachments/assets/1295cfdd-6743-4817-acbb-58960142078a" />
Hypothesis based on this page:
This is inferred from the discussion about large session files and my local ips crash report.
It worked for me to delete large session files 👍 - this should be some sort of automated process.
delete the json files also did it for me, renaming the projects folder also does the trick in you home and then .claude
Just got the same bug, deleting a massive 2.91 GB jsonL file worked. No idea how a single session got so large.
Possibly linked to https://github.com/oven-sh/bun/issues/26323
Confirmed:
Stupidly, I should have made a backup of this file first for investigation. But, I can confirm that
cd $HOME/.claude/projects/$MY_PROJECT_PATH+rm"fixed" the claude startup problem.macOS 15.0 Sequoia (24A335)
Mac Air M2 (darwin-arm64)
claude-hfi 2.1.31
Erro: malloc: pointer being freed was not allocated + trace trap