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
opencode(14113,0x1718ff000)malloc:**error for object 0x10438b300:pointer being freed was not allo cated opencode(14113,0x1718ff000)malloc:**set a breakpoint in malloc_error_break to debug [1] 14113 trace trap opencode
Plugins
NO
OpenCode version
1.1.56
Steps to reproduce
Enter the terminal -> opencode -> Wait for about 10 seconds and an error occurs -> The terminal starts to automatically generate the data in the image
I tested the recent releases and confirmed that v1.1.53 is the last version that works correctly.
The issue appears to have been introduced starting from v1.1.54.
I tested the recent releases and confirmed that v1.1.53 is the last version that works correctly. The issue appears to have been introduced starting from v1.1.54.
thank you your reply! I'll roll back the version to 1.1.53 and see if there's this problem.
You can try the method commented above: use brew to install OpenCode.
Remember to delete ~/.opencode/bin/opencode before installing.
HerculeLiu ***@***.***>于2026年2月12日 周四上午9:15写道:
Activity
github-actions commentedon Feb 11, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
Potential duplicates:
This memory error might be related to existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
ponecrazy commentedon Feb 11, 2026
I tested the recent releases and confirmed that v1.1.53 is the last version that works correctly.
The issue appears to have been introduced starting from v1.1.54.
zzzzes commentedon Feb 11, 2026
thank you your reply! I'll roll back the version to 1.1.53 and see if there's this problem.
zzzzes commentedon Feb 11, 2026
After installing 1.1.53, this problem will also occur when logging in with opencode auth.
github-actions commentedon Feb 11, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.
rishabhpoddar commentedon Feb 11, 2026
Seeing this as well.
zzzzes commentedon Feb 11, 2026
I solved this problem after reverting to another version
Lxj96 commentedon Feb 11, 2026
哪个版本可以?我回滚到 1.1.53也还是有这个问题
zzzzes commentedon Feb 11, 2026
我退回到了1.1.36,没有之前的问题,但是我/init后,等了一会,又出现了这个问题
ponecrazy commentedon Feb 11, 2026
需要确认一下有没有回退成功,我用 brew 管理的版本,一开始回退没成功
zzzzes commentedon Feb 11, 2026
我是先直接卸载,然后使用的npm安装的。
但是好像没有回退成功
zzzzes commentedon Feb 11, 2026
想问一下brew怎么安装指定版本呢
ponecrazy commentedon Feb 11, 2026
类似这样的操作
brew tap-new my/tap
brew extract --version=1.20 go my/tap
brew install my/tap/[email protected]
我 which 看了下本地引到了~/.opencode/bin/opencode,我把这个删了才正常引到 brew 管理的版本/opt/homebrew/bin/opencode
zzzzes commentedon Feb 11, 2026
感谢指导。我试试把这个删除掉能不能解决
zzzzes commentedon Feb 11, 2026
测试了一下,跟据您的方法已经退回到了1.1.53版本,好像是没什么问题了。再次感谢您
ziyang-gam commentedon Feb 11, 2026
1.1.53 没有问题吗?
zzzzes commentedon Feb 11, 2026
目前一切正常
ziyang-gam commentedon Feb 11, 2026
确实目前没问题 谢谢你
Lxj96 commentedon Feb 11, 2026
使用brew安装的1.1.53没有问题吗?我用npm安装的,没一会又出现了
zzzzes commentedon Feb 11, 2026
是的,你最好先把~/.opencode/bin/opencode先删除,再安装。
zzzzes commentedon Feb 11, 2026
也可能是你根本没有回退成功
Lxj96 commentedon Feb 11, 2026
我使用opencode --version看过,确实是1.1.53的,可能是我哪里没卸载干净
zzzzes commentedon Feb 11, 2026
按照上面的brew按照要求一步步执行看看
HerculeLiu commentedon Feb 12, 2026
I tried versions 1.1.53, 1.1.56, and 1.1.59, and they all had the same problem: crashing shortly after opening opencode, without any user interaction.
zzzzes commentedon Feb 12, 2026
ponecrazy commentedon Feb 13, 2026
看起来最新版本(1.1.64)已经修复了