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
I've already submitted an issue to the Bun team. I found that Opencode uses an enormous amount of Bun-specific features—there's no way around it; only the Bun team can fix this...
Yeah we need to wait till the next bun release comes out. They said they'd prioritize fixes for us so hopefully next version will be released soon, we can bump to it and then we will be more stable as a result
Seeing something similar in PowerShell too ... was running fine for some time ... then suddenly kept crashing in a project where I am producing CSVs w. python ...
Typing manually ... I can't seem to copy paste after the crash:
is the bun new release with the patch out? im having the same issue
panic(main thread): Segmentation fault at address 0x3
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
is there no way to bypass it until it gets fixed? downgrading or something like that. I was eager to switch from CC but I cant really use opencode like this lol
Activity
rekram1-node commentedon Nov 26, 2025
oof bun bug
rekram1-node commentedon Nov 26, 2025
we will send to the bun team
cheezmil commentedon Nov 28, 2025
What are the temporary solutions?
rekram1-node commentedon Nov 28, 2025
@cheestard can you provide any reproduction steps for the error? And then we can send to bun team
cheezmil commentedon Nov 28, 2025
I've already submitted an issue to the Bun team. I found that Opencode uses an enormous amount of Bun-specific features—there's no way around it; only the Bun team can fix this...
cheezmil commentedon Nov 29, 2025
@rekram1-node
oven-sh/bun#25186
They’ve made the fix; plz tell me when opencode-ai is updated~
rekram1-node commentedon Nov 29, 2025
Yeah we need to wait till the next bun release comes out. They said they'd prioritize fixes for us so hopefully next version will be released soon, we can bump to it and then we will be more stable as a result
johnem-msft commentedon Dec 7, 2025
Seeing something similar in PowerShell too ... was running fine for some time ... then suddenly kept crashing in a project where I am producing CSVs w. python ...
Typing manually ... I can't seem to copy paste after the crash:
Features: Bun.stderr(4) Bun.stdin(4) Bun.stdout(4) abort_signal(2) ferch(22) http_server jsc shell(4) spawn(4) standalone_executable workers_spawned(2)
Builtins: "bun:ffi" "bun:main" "node:assert ....
pain(main thread): Segmentation fault at address 0x3
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
checking: bun --version #I don't see anything ... so ... not sure how opencode calls on bun here.
rekram1-node commentedon Dec 7, 2025
opencode ships a single file bun executable, so you don't need bun installed the executable contains it
Microck commentedon Dec 13, 2025
is the bun new release with the patch out? im having the same issue
is there no way to bypass it until it gets fixed? downgrading or something like that. I was eager to switch from CC but I cant really use opencode like this lol
rekram1-node commentedon Dec 13, 2025
Ill update bun and ship
rekram1-node commentedon Dec 15, 2025
I shipped the bun upgrade in latest release btw