You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: immediately exits and other processes never exit #2380
This has happened to me several times already, and I've had kill all terminals (I've been using both ghostty and iterm2 on macos) or restart my machine to solve it.
I haven't been able to pinpoint when, but sometimes opencode exits immediately after being started, and multiple other opencode processes (from other sessions) are left running and won't exit and can't be killed.
In this case I've tried opening opencode from iterm, from tmux within iterm, from ghostty, and from within Cursor, and nothing works.
Only once I completely closed all of the above, was I able to re-open iterm2/ghostty/cursor and open opencode again.
This has happened so many times I wanted to file a bug report, but I'm sorry I don't have more information about when it seems to happen.
This has been happening randomly for a couple of weeks now.
It still happened when I used opencode only from within iterm2, before I started using ghostty, tmux, and opencode within Cursor.
opencode hangs when trying to end it #1431: opencode hangs when trying to end it - specifically mentions opencode processes that won't exit and need to be killed manually
can you share anything else about your setup? What os are you and do you have any mcp servers or special configs going on? Haven't seen anyone else report this
Oo another thing, what kind of projects are you working in? Does this happen in a really large rust project? or something like that? Could have something to do with an LSP server eating too much memory
I was working on a a fullstack bun project, and a front-end only gatsby project.
It's happened several times on the fullstack bun project, and on another remix project I've been working on.
None of the projects are particularly large. The last time it happened I was only working on the gatsby project, and that one is definitely not large at all (3 typescript files with jsx components)
I uploaded logs to a private repo and gave you access :)
Just close all opencode sessions (or killall opencode) and then it worked!
** PROBLEM: **
Same here - I have two instances of opencode running from yesterday, but I can't open another - immediate killed. MacOs gave me this report. Installed via bun,
which opencode
/users/Martin/.bun/bin/opencode
opening opencode even in the smallest directory crashes it
Last logs: (unrelated to startup tries but just to be sure)
INFO 2025-09-05T14:26:32 +3600084ms service=models.dev file={} refreshing
INFO 2025-09-05T15:26:32 +3599995ms service=models.dev file={} refreshing
INFO 2025-09-05T15:53:47 +1635551ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
INFO 2025-09-05T15:53:47 +2ms service=tui offset=3469 x=135 y=39 mouse
INFO 2025-09-05T15:53:47 +0ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
INFO 2025-09-05T15:53:47 +0ms service=tui end=-1,-1 start=135,3508 mouse selection
INFO 2025-09-05T15:53:47 +52ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
INFO 2025-09-05T15:53:47 +94ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
INFO 2025-09-05T15:53:47 +293ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
INFO 2025-09-05T15:53:48 +382ms service=project directory=/Users/Martin/ProjectDir/ fromDirectory
since then no logs, even if I spin up the opencode (because it crashes instantly)
hi all, experiencing the same immediately exits and got this error on me fish: Job 1, 'opencode' terminated by signal SIGTRAP (Trace or breakpoint trap)
I am on latest macOS, with fish shell and installed through mise
Activity
github-actions commentedon Sep 2, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Sep 2, 2025
hmm weird
rekram1-node commentedon Sep 2, 2025
can you share anything else about your setup? What os are you and do you have any mcp servers or special configs going on? Haven't seen anyone else report this
david-arteaga commentedon Sep 2, 2025
I'm using macOS Sequoia Version 15.6.1 (24G90).
I don't have any MCP servers.
I'm using the claude code subscription as the provider.
I haven't configure opencode in any specific way: I really just installed it, authenticated with claude code, and have been using it just like that.
Is there anything I can run next time it happens to try to help debug?
rekram1-node commentedon Sep 2, 2025
You could send you latest log file, it would be in ~/.local/share/opencode/log/....
If the process is getting killed it may not have errors in there but it doesn't hurt
rekram1-node commentedon Sep 2, 2025
Oo another thing, what kind of projects are you working in? Does this happen in a really large rust project? or something like that? Could have something to do with an LSP server eating too much memory
david-arteaga commentedon Sep 2, 2025
I was working on a a fullstack bun project, and a front-end only gatsby project.
It's happened several times on the fullstack bun project, and on another remix project I've been working on.
None of the projects are particularly large. The last time it happened I was only working on the gatsby project, and that one is definitely not large at all (3 typescript files with jsx components)
I uploaded logs to a private repo and gave you access :)
rekram1-node commentedon Sep 2, 2025
sweet I will take a look
genesiscz commentedon Sep 5, 2025
WHAT WORKED:
Just close all opencode sessions (or
killall opencode) and then it worked!** PROBLEM: **
Same here - I have two instances of opencode running from yesterday, but I can't open another - immediate killed. MacOs gave me this report. Installed via bun,
Last logs: (unrelated to startup tries but just to be sure)
since then no logs, even if I spin up the
opencode(because it crashes instantly)lguigo22 commentedon Oct 28, 2025
I had the same behavior with Termius and I switched to WezTerm to no longer have the problem
Destreyf commentedon Dec 1, 2025
I have run into this error a couple times, however simply killing all instances hasn't fixed the issue for me.
Logs:
cat ~/.local/share/opencode/log/2025-12-01T212325.log
The only way i've been able to fix this is to manually reinstall, here's some output on the binary just to compare.
Setting
ulimit -c unlimitedand then runningopencodegives the following dump:{ "codes": "0x0000000000000001, 0x000000010494e698", "rawCodes": [ 1, 4371834520 ], "type": "EXC_BREAKPOINT", "signal": "SIGTRAP" }
{ "uptime": 710000, "procRole": "Unspecified", "version": 2, "userID": 501, "deployVersion": 210, "modelCode": "Mac16,6", "coalitionID": 129540, "osVersion": { "train": "macOS 15.6.1", "build": "24G90", "releaseType": "User" }, "captureTime": "2025-11-25 20:22:24.6247 -0700", "codeSigningMonitor": 2, "incident": "03DA589C-35ED-4A7F-BBF4-69C86FF2D9EA", "pid": 85744, "translated": false, "cpuType": "ARM-64", "roots_installed": 0, "bug_type": "309", "procLaunch": "2025-11-25 19:53:25.5755 -0700", "procStartAbsTime": 17101862919537, "procExitAbsTime": 17143599132484, "procName": "opencode", "procPath": "/Users/USER/*/opencode", "parentProc": "zsh", "parentPid": 66225, "coalitionName": "com.mitchellh.ghostty", "crashReporterKey": "2C325AEA-C3C3-EBF2-D522-E6F7D6DADCF1", "appleIntelligenceStatus": { "state": "available" }, "responsiblePid": 13421, "responsibleProc": "ghostty", "codeSigningID": "a.out", "codeSigningTeamID": "", "codeSigningFlags": 570556929, "codeSigningValidationCategory": 10, "codeSigningTrustLevel": 4294967295, "codeSigningAuxiliaryInfo": 0, "instructionByteStream": { "beforePC": "Af//VP17Qqn0T0Gp9lfDqMADX9bgAxOq/XtCqfRPQan2V8OoIu3YFw==", "atPC": "IAAg1PZXvan0TwGp/XsCqf2DAJHzAwCqCAxA+QkMQLkIEUD5Kv1F0w==" }, "bootSessionUUID": "F3144F69-3E6A-41D7-A82C-B0996717C1E3", "sip": "enabled", "exception": { "codes": "0x0000000000000001, 0x000000010494e698", "rawCodes": [ 1, 4371834520 ], "type": "EXC_BREAKPOINT", "signal": "SIGTRAP" }, "termination": { "flags": 0, "code": 5, "namespace": "SIGNAL", "indicator": "Trace/BPT trap: 5", "byProc": "exc handler", "byPid": 85744 }, "os_fault": { "process": "opencode" }, "extMods": { "caller": { "thread_create": 0, "thread_set_state": 0, "task_for_pid": 0 }, "system": { "thread_create": 0, "thread_set_state": 0, "task_for_pid": 0 }, "targeted": { "thread_create": 0, "thread_set_state": 0, "task_for_pid": 0 }, "warnings": 0 }, "faultingThread": 0, "threads": [ { "triggered": true, "id": 276596168, "threadState": { "x": [ { "value": 4580492032 }, { "value": 4580491960 }, { "value": 6128431920 }, { "value": 259 }, { "value": 5 }, { "value": 8 }, { "value": 8 }, { "value": 482294635632 }, { "value": 1 }, { "value": 2 }, { "value": 484888496754 }, { "value": 481015959285 }, { "value": 482294644736 }, { "value": 482294628352 }, { "value": 16384 }, { "value": 1024 }, { "value": 6680325104, "symbolLocation": 0, "symbol": "pthread_getspecific" }, { "value": 5100306432 }, { "value": 0 }, { "value": 482294628376 }, { "value": 4580492032 }, { "value": 4580491960 }, { "value": 4400862952 }, { "value": 4407812339080 }, { "value": 78984 }, { "value": 6128432488 }, { "value": 4407812338160 }, { "value": 4407812345128 }, { "value": 4407812339264 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4371808444 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6128431872 }, "sp": { "value": 6128431840 }, "esr": { "value": 4060086273, "description": "(Breakpoint) brk 1" }, "pc": { "value": 4371834520, "matchesCrashFrame": 1 }, "far": { "value": 0 } }, "queue": "com.apple.main-thread", "frames": [ { "imageOffset": 33515160, "imageIndex": 0 }, { "imageOffset": 33489084, "imageIndex": 0 }, { "imageOffset": 33180972, "imageIndex": 0 }, { "imageOffset": 33524844, "imageIndex": 0 }, { "imageOffset": 33292496, "imageIndex": 0 }, { "imageOffset": 33278260, "imageIndex": 0 }, { "imageOffset": 33277628, "imageIndex": 0 }, { "imageOffset": 33293172, "imageIndex": 0 }, { "imageOffset": 33293000, "imageIndex": 0 }, { "imageOffset": 18519992, "imageIndex": 0 }, { "imageOffset": 17704612, "imageIndex": 0 }, { "imageOffset": 3193692, "imageIndex": 0 }, { "imageOffset": 3172004, "imageIndex": 0 }, { "imageOffset": 2802368, "imageIndex": 0 }, { "imageOffset": 17898836, "imageIndex": 0 }, { "imageOffset": 2522724, "imageIndex": 0 }, { "imageOffset": 14508, "imageIndex": 0 }, { "imageOffset": 9424, "imageIndex": 0 }, { "imageOffset": 27544, "symbol": "start", "symbolLocation": 6076, "imageIndex": 2 } ] }, { "id": 276596210, "name": "Bun Pool 0", "threadState": { "x": [ { "value": 18446744073709551612 }, { "value": 0 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 6135653440 }, { "value": 6135653376 }, { "value": 0 }, { "value": 4401807220 }, { "value": 0 }, { "value": 36 }, { "value": 0 }, { "value": 2 }, { "value": 0 }, { "value": 4401824144 }, { "value": 1 }, { "value": 544 }, { "value": 8542526424 }, { "value": 0 }, { "value": 10000000000 }, { "value": 4401807220 }, { "value": 1 }, { "value": 1 }, { "value": 1 }, { "value": 6680383736, "symbolLocation": 0, "symbol": "_tlv_get_addr" }, { "value": 3 }, { "value": 18446744073709551613 }, { "value": 6135654120 }, { "value": 2 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4386718540 }, "cpsr": { "value": 1073741824 }, "fp": { "value": 6135653808 }, "sp": { "value": 6135653808 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680132180 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 59988, "symbol": "__ulock_wait2", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 48399180, "imageIndex": 0 }, { "imageOffset": 5343140, "imageIndex": 0 }, { "imageOffset": 8999128, "imageIndex": 0 }, { "imageOffset": 5341192, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596211, "name": "Bun Pool 1", "threadState": { "x": [ { "value": 18446744073709551612 }, { "value": 0 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 6139896896 }, { "value": 6139896832 }, { "value": 0 }, { "value": 4401807220 }, { "value": 0 }, { "value": 36 }, { "value": 0 }, { "value": 2 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 544 }, { "value": 8542526424 }, { "value": 0 }, { "value": 10000000000 }, { "value": 4401807220 }, { "value": 1 }, { "value": 1 }, { "value": 1 }, { "value": 6680383736, "symbolLocation": 0, "symbol": "_tlv_get_addr" }, { "value": 3 }, { "value": 18446744073709551613 }, { "value": 6139897576 }, { "value": 2 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4386718540 }, "cpsr": { "value": 1073741824 }, "fp": { "value": 6139897264 }, "sp": { "value": 6139897264 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680132180 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 59988, "symbol": "__ulock_wait2", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 48399180, "imageIndex": 0 }, { "imageOffset": 5343140, "imageIndex": 0 }, { "imageOffset": 8999128, "imageIndex": 0 }, { "imageOffset": 5341192, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596212, "name": "Bun Pool 2", "threadState": { "x": [ { "value": 18446744073709551612 }, { "value": 0 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 6144140352 }, { "value": 6144140288 }, { "value": 0 }, { "value": 4401807220 }, { "value": 0 }, { "value": 36 }, { "value": 0 }, { "value": 2 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 544 }, { "value": 8542526424 }, { "value": 0 }, { "value": 10000000000 }, { "value": 4401807220 }, { "value": 1 }, { "value": 1 }, { "value": 1 }, { "value": 6680383736, "symbolLocation": 0, "symbol": "_tlv_get_addr" }, { "value": 3 }, { "value": 18446744073709551613 }, { "value": 6144141032 }, { "value": 2 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4386718540 }, "cpsr": { "value": 1073741824 }, "fp": { "value": 6144140720 }, "sp": { "value": 6144140720 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680132180 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 59988, "symbol": "__ulock_wait2", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 48399180, "imageIndex": 0 }, { "imageOffset": 5343140, "imageIndex": 0 }, { "imageOffset": 8999128, "imageIndex": 0 }, { "imageOffset": 5341192, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596439, "name": "Worker", "threadState": { "x": [ { "value": 4 }, { "value": 0 }, { "value": 0 }, { "value": 17180098768 }, { "value": 1024 }, { "value": 0 }, { "value": 6157448272 }, { "value": 18446744073709551125 }, { "value": 1 }, { "value": 0 }, { "value": 6153355264 }, { "value": 1000000000 }, { "value": 18446744073709427332 }, { "value": 6153486336 }, { "value": 2025 }, { "value": 22 }, { "value": 369 }, { "value": 17179901952 }, { "value": 0 }, { "value": 17180098560 }, { "value": 17180098768 }, { "value": 6157448272 }, { "value": 17180098560 }, { "value": 4407978913856 }, { "value": 4407978963448 }, { "value": 4407978970640 }, { "value": 79240 }, { "value": 78984 }, { "value": 4407978964360 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4356024008 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6157448192 }, "sp": { "value": 6157448160 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680123740 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 51548, "symbol": "kevent64", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 17704648, "imageIndex": 0 }, { "imageOffset": 13516512, "imageIndex": 0 }, { "imageOffset": 17898836, "imageIndex": 0 }, { "imageOffset": 13510296, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596440, "name": "Bun Pool 3", "threadState": { "x": [ { "value": 18446744073709551612 }, { "value": 0 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 6161802304 }, { "value": 6161802240 }, { "value": 0 }, { "value": 4401807220 }, { "value": 0 }, { "value": 36 }, { "value": 0 }, { "value": 2 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 544 }, { "value": 8542526424 }, { "value": 0 }, { "value": 10000000000 }, { "value": 4401807220 }, { "value": 1 }, { "value": 1 }, { "value": 1 }, { "value": 6680383736, "symbolLocation": 0, "symbol": "_tlv_get_addr" }, { "value": 3 }, { "value": 18446744073709551613 }, { "value": 6161802984 }, { "value": 2 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4386718540 }, "cpsr": { "value": 1073741824 }, "fp": { "value": 6161802672 }, "sp": { "value": 6161802672 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680132180 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 59988, "symbol": "__ulock_wait2", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 48399180, "imageIndex": 0 }, { "imageOffset": 5343140, "imageIndex": 0 }, { "imageOffset": 8999128, "imageIndex": 0 }, { "imageOffset": 5341192, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596442, "frames": [ { "imageOffset": 59988, "symbol": "__ulock_wait2", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 17792, "symbol": "Thread.PosixThreadImpl.spawn__anon_5416.Instance.entryFn", "symbolLocation": 296, "imageIndex": 1 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ], "threadState": { "x": [ { "value": 18446744073709551612 }, { "value": 0 }, { "value": 10299 }, { "value": 0 }, { "value": 0 }, { "value": 12 }, { "value": 0 }, { "value": 0 }, { "value": 17330892592 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 10952754293765046272 }, { "value": 4194304000 }, { "value": 0 }, { "value": 16305384566292480000 }, { "value": 544 }, { "value": 0 }, { "value": 0 }, { "value": 4294901759 }, { "value": 4766978812 }, { "value": 10299 }, { "value": 4867 }, { "value": 4865 }, { "value": 4766973952 }, { "value": 4852 }, { "value": 4856 }, { "value": 4766974644 }, { "value": 4860 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4767499648 }, "cpsr": { "value": 1073741824 }, "fp": { "value": 17330892736 }, "sp": { "value": 17330892544 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680132180 }, "far": { "value": 0 } } }, { "id": 276596443, "name": "HTTP Client", "threadState": { "x": [ { "value": 4 }, { "value": 0 }, { "value": 0 }, { "value": 17181114576 }, { "value": 1024 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 49360 }, { "value": 6166622432 }, { "value": 8 }, { "value": 1 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 369 }, { "value": 17180917760 }, { "value": 0 }, { "value": 17181114368 }, { "value": 17181114576 }, { "value": 0 }, { "value": 4400841808 }, { "value": 24 }, { "value": 12297829382473034410 }, { "value": 2 }, { "value": 0 }, { "value": 4408046060160 }, { "value": 12 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4356024008 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6166618816 }, "sp": { "value": 6166618784 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680123740 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 51548, "symbol": "kevent64", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 17704648, "imageIndex": 0 }, { "imageOffset": 10219936, "imageIndex": 0 }, { "imageOffset": 7695616, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276596462, "frames": [ { "imageOffset": 7020, "symbol": "start_wqthread", "symbolLocation": 0, "imageIndex": 4 } ], "threadState": { "x": [ { "value": 6167195648 }, { "value": 13571 }, { "value": 6166659072 }, { "value": 0 }, { "value": 409604 }, { "value": 18446744073709551615 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 0 }, "cpsr": { "value": 0 }, "fp": { "value": 0 }, "sp": { "value": 6167195648 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680324972 }, "far": { "value": 0 } } }, { "id": 276628327, "name": "Worker", "threadState": { "x": [ { "value": 4 }, { "value": 0 }, { "value": 0 }, { "value": 17182392528 }, { "value": 1024 }, { "value": 0 }, { "value": 6151140432 }, { "value": 0 }, { "value": 4294967240 }, { "value": 6151254240 }, { "value": 780889333 }, { "value": 1000000000 }, { "value": 6 }, { "value": 0 }, { "value": 0 }, { "value": 317612384 }, { "value": 369 }, { "value": 17182457856 }, { "value": 0 }, { "value": 17182392320 }, { "value": 17182392528 }, { "value": 6151140432 }, { "value": 17182392320 }, { "value": 4408012435520 }, { "value": 4408012485112 }, { "value": 4408012492304 }, { "value": 79240 }, { "value": 78984 }, { "value": 4408012486024 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 4356024008 }, "cpsr": { "value": 2684354560 }, "fp": { "value": 6151140352 }, "sp": { "value": 6151140320 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680123740 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 51548, "symbol": "kevent64", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 17704648, "imageIndex": 0 }, { "imageOffset": 13516512, "imageIndex": 0 }, { "imageOffset": 17898836, "imageIndex": 0 }, { "imageOffset": 13510296, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276957863, "name": "JavaScriptCore libpas scavenger", "threadState": { "x": [ { "value": 260 }, { "value": 0 }, { "value": 3755776 }, { "value": 0 }, { "value": 0 }, { "value": 160 }, { "value": 0 }, { "value": 99998968 }, { "value": 6129118888 }, { "value": 0 }, { "value": 1024 }, { "value": 4398046512130 }, { "value": 4398046512130 }, { "value": 1024 }, { "value": 0 }, { "value": 4398046512128 }, { "value": 305 }, { "value": 8542524688 }, { "value": 0 }, { "value": 4435257984 }, { "value": 4435258048 }, { "value": 6129119456 }, { "value": 99998968 }, { "value": 0 }, { "value": 3755776 }, { "value": 3758081 }, { "value": 3758336 }, { "value": 4402049024 }, { "value": 4294967295 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 6680346848 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6129119008 }, "sp": { "value": 6129118864 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680089548 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 17356, "symbol": "__psynch_cvwait", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 28896, "symbol": "_pthread_cond_wait", "symbolLocation": 984, "imageIndex": 4 }, { "imageOffset": 45225000, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276957865, "name": "Heap Helper Thread", "threadState": { "x": [ { "value": 260 }, { "value": 0 }, { "value": 9357312 }, { "value": 0 }, { "value": 0 }, { "value": 160 }, { "value": 9 }, { "value": 999996592 }, { "value": 6129691912 }, { "value": 0 }, { "value": 7168 }, { "value": 30786325584898 }, { "value": 30786325584898 }, { "value": 7168 }, { "value": 0 }, { "value": 30786325584896 }, { "value": 305 }, { "value": 8542524688 }, { "value": 0 }, { "value": 4581032176 }, { "value": 4581032240 }, { "value": 6129692896 }, { "value": 999996592 }, { "value": 9 }, { "value": 9357312 }, { "value": 9357313 }, { "value": 9357568 }, { "value": 4401853872 }, { "value": 77 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 6680346848 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6129692032 }, "sp": { "value": 6129691888 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680089548 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 17356, "symbol": "__psynch_cvwait", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 28896, "symbol": "_pthread_cond_wait", "symbolLocation": 984, "imageIndex": 4 }, { "imageOffset": 23807528, "imageIndex": 0 }, { "imageOffset": 23359464, "imageIndex": 0 }, { "imageOffset": 23265604, "imageIndex": 0 }, { "imageOffset": 23499560, "imageIndex": 0 }, { "imageOffset": 23805712, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276957866, "name": "Heap Helper Thread", "threadState": { "x": [ { "value": 260 }, { "value": 0 }, { "value": 9077504 }, { "value": 0 }, { "value": 0 }, { "value": 160 }, { "value": 9 }, { "value": 999998844 }, { "value": 6130265352 }, { "value": 0 }, { "value": 4352 }, { "value": 18691697676546 }, { "value": 18691697676546 }, { "value": 4352 }, { "value": 0 }, { "value": 18691697676544 }, { "value": 305 }, { "value": 8542524688 }, { "value": 0 }, { "value": 4580884720 }, { "value": 4580884784 }, { "value": 6130266336 }, { "value": 999998844 }, { "value": 9 }, { "value": 9077504 }, { "value": 9077505 }, { "value": 9077760 }, { "value": 4401853872 }, { "value": 116 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 6680346848 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6130265472 }, "sp": { "value": 6130265328 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680089548 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 17356, "symbol": "__psynch_cvwait", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 28896, "symbol": "_pthread_cond_wait", "symbolLocation": 984, "imageIndex": 4 }, { "imageOffset": 23807528, "imageIndex": 0 }, { "imageOffset": 23359464, "imageIndex": 0 }, { "imageOffset": 23265604, "imageIndex": 0 }, { "imageOffset": 23499560, "imageIndex": 0 }, { "imageOffset": 23805712, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 276957868, "name": "Heap Helper Thread", "threadState": { "x": [ { "value": 260 }, { "value": 0 }, { "value": 9435392 }, { "value": 0 }, { "value": 0 }, { "value": 160 }, { "value": 9 }, { "value": 999996639 }, { "value": 6130838792 }, { "value": 0 }, { "value": 5888 }, { "value": 25288767444738 }, { "value": 25288767444738 }, { "value": 5888 }, { "value": 0 }, { "value": 25288767444736 }, { "value": 305 }, { "value": 8542524688 }, { "value": 0 }, { "value": 4580950256 }, { "value": 4580950320 }, { "value": 6130839776 }, { "value": 999996639 }, { "value": 9 }, { "value": 9435392 }, { "value": 9435393 }, { "value": 9435648 }, { "value": 4401853872 }, { "value": 41 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 6680346848 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6130838912 }, "sp": { "value": 6130838768 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680089548 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 17356, "symbol": "__psynch_cvwait", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 28896, "symbol": "_pthread_cond_wait", "symbolLocation": 984, "imageIndex": 4 }, { "imageOffset": 23807528, "imageIndex": 0 }, { "imageOffset": 23359464, "imageIndex": 0 }, { "imageOffset": 23265604, "imageIndex": 0 }, { "imageOffset": 23499560, "imageIndex": 0 }, { "imageOffset": 23805712, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] }, { "id": 277053386, "name": "JIT Worklist Helper Thread", "threadState": { "x": [ { "value": 260 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 160 }, { "value": 9 }, { "value": 999996928 }, { "value": 6131412232 }, { "value": 0 }, { "value": 0 }, { "value": 2 }, { "value": 2 }, { "value": 0 }, { "value": 0 }, { "value": 0 }, { "value": 305 }, { "value": 8542524688 }, { "value": 0 }, { "value": 4820457168 }, { "value": 4820457232 }, { "value": 6131413216 }, { "value": 999996928 }, { "value": 9 }, { "value": 0 }, { "value": 1 }, { "value": 256 }, { "value": 4401853872 }, { "value": 15 } ], "flavor": "ARM_THREAD_STATE64", "lr": { "value": 6680346848 }, "cpsr": { "value": 1610612736 }, "fp": { "value": 6131412352 }, "sp": { "value": 6131412208 }, "esr": { "value": 1442840704, "description": " Address size fault" }, "pc": { "value": 6680089548 }, "far": { "value": 0 } }, "frames": [ { "imageOffset": 17356, "symbol": "__psynch_cvwait", "symbolLocation": 8, "imageIndex": 5 }, { "imageOffset": 28896, "symbol": "_pthread_cond_wait", "symbolLocation": 984, "imageIndex": 4 }, { "imageOffset": 23807528, "imageIndex": 0 }, { "imageOffset": 23359464, "imageIndex": 0 }, { "imageOffset": 23265604, "imageIndex": 0 }, { "imageOffset": 23499560, "imageIndex": 0 }, { "imageOffset": 23805712, "imageIndex": 0 }, { "imageOffset": 27660, "symbol": "_pthread_start", "symbolLocation": 136, "imageIndex": 4 }, { "imageOffset": 7040, "symbol": "thread_start", "symbolLocation": 8, "imageIndex": 4 } ] } ], "usedImages": [ { "source": "P", "arch": "arm64", "base": 4338319360, "size": 57769984, "uuid": "5b3ddf8c-2582-367e-aaa3-99101ca0be45", "path": "/Users/USER/*/opencode", "name": "opencode" }, { "source": "P", "arch": "arm64", "base": 4767481856, "size": 495080, "uuid": "f9bde835-3bb2-3256-9f71-2b9819d440e1", "path": "/private/tmp/.1cfffeede7ea2e60-00000000.dylib", "name": ".1cfffeede7ea2e60-00000000.dylib" }, { "source": "P", "arch": "arm64e", "base": 6676512768, "size": 636280, "uuid": "3247e185-ced2-36ff-9e29-47a77c23e004", "path": "/usr/lib/dyld", "name": "dyld" }, { "size": 0, "source": "A", "base": 0, "uuid": "00000000-0000-0000-0000-000000000000" }, { "source": "P", "arch": "arm64e", "base": 6680317952, "size": 51784, "uuid": "d6494ba9-171e-39fc-b1aa-28ecf87975d1", "path": "/usr/lib/system/libsystem_pthread.dylib", "name": "libsystem_pthread.dylib" }, { "source": "P", "arch": "arm64e", "base": 6680072192, "size": 243284, "uuid": "6e4a96ad-04b8-3e8a-b91d-087e62306246", "path": "/usr/lib/system/libsystem_kernel.dylib", "name": "libsystem_kernel.dylib" }, { "source": "P", "arch": "arm64e", "base": 6680371200, "size": 195492, "uuid": "01bcb3f7-ab89-30bd-87ee-91b291eadae8", "path": "/usr/lib/system/libdyld.dylib", "name": "libdyld.dylib" } ], "sharedCache": { "base": 6675677184, "size": 5040898048, "uuid": "4c1223e5-cace-3982-a003-6110a7a8a25c" }, "vmSummary": "ReadOnly portion of Libraries: Total=901.9M resident=0K(0%) swapped_out_or_unallocated=901.9M(100%)\nWritable regions: Total=61.9G written=1827K(0%) resident=1827K(0%) swapped_out=0K(0%) unallocated=61.9G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nIOAccelerator 384.2M 394 \nIOAccelerator (reserved) 640.0M 1 reserved VM address space (unallocated)\nJS JIT generated code 512.0M 3 \nJS VM Gigacage 2.6G 6 \nJS VM Gigacage (reserved) 53.4G 2 reserved VM address space (unallocated)\nKernel Alloc Once 32K 1 \nMALLOC 2.0G 42 \nMALLOC guard page 96K 6 \nSTACK GUARD 240K 15 \nStack 65.4M 15 \nVM_ALLOCATE 171.7M 762 \nVM_ALLOCATE (reserved) 3.9G 1 reserved VM address space (unallocated)\nWebKit Malloc 8.5G 45 \n__AUTH 822K 161 \n__AUTH_CONST 12.8M 296 \n__BUN 29.4M 1 \n__DATA 8494K 278 \n__DATA_CONST 11.7M 298 \n__DATA_DIRTY 469K 89 \n__FONT_DATA 2352 1 \n__LINKEDIT 617.7M 3 \n__OBJC_RO 61.4M 1 \n__OBJC_RW 2396K 1 \n__TEXT 284.2M 307 \n__TPRO_CONST 128K 2 \nmapped file 32.7M 5 \npage table in kernel 1827K 1 \nshared memory 48K 2 \n=========== ======= ======= \nTOTAL 73.1G 2740 \nTOTAL, minus reserved VM space 15.3G 2740 \n", "legacyInfo": { "threadTriggered": { "queue": "com.apple.main-thread" } }, "logWritingSignature": "17e30a0c32ceacee6e75e7494406cc18ad04ffb3", "trialInfo": { "rollouts": [ { "rolloutId": "61675b89201f677a9a4cbd65", "factorPackIds": { "HEALTH_FEATURE_AVAILABILITY": "65a855f5f087695cfac03d1f" }, "deploymentId": 240000236 }, { "rolloutId": "67181b10c68c361a728c7cfa", "factorPackIds": {}, "deploymentId": 240000005 } ], "experiments": [] } }I tried running with
--print-logs --log-level DEBUGbut it does before it prints anything.If there's anything else I can dig into next let me know.
yofriadi commentedon Jan 5, 2026
hi all, experiencing the same immediately exits and got this error on me
fish: Job 1, 'opencode' terminated by signal SIGTRAP (Trace or breakpoint trap)I am on latest macOS, with fish shell and installed through mise
hurole commentedon Feb 7, 2026
same issue, i disable chrome-devtools mcp, it is ok.
ShoeBoom commentedon Mar 25, 2026
Don't know if this is relevant but I updated the cli using the opencode desktop app to install it.
started getting
zsh: killed opencode. Tried killing all opencode processes to no avail.What worked: I ran a prompt on the desktop app and the cli started working again
I can't find logs specific to the desktop app, my log files in
~/.local/share/opencode/logonly have entries from the cligithub-actions commentedon May 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.