有时候工作中会突然报已杀死,然后一堆乱码 #7045

Closed
opened 2026-02-16 18:05:59 -05:00 by yindo · 8 comments
Owner

Originally created by @hikaruczl on GitHub (Jan 21, 2026).

Originally assigned to: @kommander on GitHub.

Description

有时候工作中会突然报已杀死,然后一堆乱码。不知道是不是跟项目内容有关。

Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @hikaruczl on GitHub (Jan 21, 2026). Originally assigned to: @kommander on GitHub. ### Description 有时候工作中会突然报已杀死,然后一堆乱码。不知道是不是跟项目内容有关。 <img width="347" height="191" alt="Image" src="https://github.com/user-attachments/assets/b214c587-1a7a-459d-afce-bf4ad276c629" /> ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:05:59 -05:00
yindo closed this issue 2026-02-16 18:05:59 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8381: zsh: killed opencode -version - Similar process killed errors
  • #9743: Memory Leak: OpenCode Process Killed by OOM Killer - Related to process being killed
  • #5181: Input sometimes starts to only show ASCII escape codes - Similar garbled text/escape codes issue
  • #7891: OpenCode TUI Chinese Text Display Issue - Chinese character display problems (related to garbled text)
  • #6057: Nothing is displayed - Display and rendering issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #8381: zsh: killed opencode -version - Similar process killed errors - #9743: Memory Leak: OpenCode Process Killed by OOM Killer - Related to process being killed - #5181: Input sometimes starts to only show ASCII escape codes - Similar garbled text/escape codes issue - #7891: OpenCode TUI Chinese Text Display Issue - Chinese character display problems (related to garbled text) - #6057: Nothing is displayed - Display and rendering issues Feel free to ignore if none of these address your specific case.
Author
Owner

@hzxcaq commented on GitHub (Jan 21, 2026):

+1,好几次了根本用不了,鼠标选中终端拖动了一下,就突然退出加乱码了

@hzxcaq commented on GitHub (Jan 21, 2026): +1,好几次了根本用不了,鼠标选中终端拖动了一下,就突然退出加乱码了
Author
Owner

@Ruszero01 commented on GitHub (Jan 21, 2026):

有内存溢出问题,bun进程内存会一直膨胀直到把内存吃满,触发系统的清理机制,然后触发了opencode退出后的bug

@Ruszero01 commented on GitHub (Jan 21, 2026): 有内存溢出问题,bun进程内存会一直膨胀直到把内存吃满,触发系统的清理机制,然后触发了opencode退出后的bug
Author
Owner

@hikaruczl commented on GitHub (Jan 21, 2026):

有内存溢出问题,bun进程内存会一直膨胀直到把内存吃满,触发系统的清理机制,然后触发了opencode退出后的bug

但是我内存应该还有的

@hikaruczl commented on GitHub (Jan 21, 2026): > 有内存溢出问题,bun进程内存会一直膨胀直到把内存吃满,触发系统的清理机制,然后触发了opencode退出后的bug 但是我内存应该还有的
Author
Owner

@Ruszero01 commented on GitHub (Jan 21, 2026):

@hikaruczl
我自己用着是经常内存爆掉,bun进程经常就10 - 20G的吃,用系统PWS会直接报bun崩溃错误,用gitbash不会报错但是内存依然会吃满然后直到电脑死机

@Ruszero01 commented on GitHub (Jan 21, 2026): @hikaruczl 我自己用着是经常内存爆掉,bun进程经常就10 - 20G的吃,用系统PWS会直接报bun崩溃错误,用gitbash不会报错但是内存依然会吃满然后直到电脑死机
Author
Owner

@LeoNardo-LB commented on GitHub (Jan 21, 2026):

能否单独加一个分支升级bun版本试试?1.3.6中修复了一些内存泄漏的问题(目前版本是1.3.5),不知道有没有效果?
有老哥单独拉下来修改版本后构建试试的吗?

@LeoNardo-LB commented on GitHub (Jan 21, 2026): 能否单独加一个分支升级bun版本试试?1.3.6中修复了一些内存泄漏的问题(目前版本是1.3.5),不知道有没有效果? 有老哥单独拉下来修改版本后构建试试的吗?
Author
Owner

@learningpro commented on GitHub (Jan 28, 2026):

我发现经常是在使用kill/pkill 命令的时候出现这个状况,鼠标移动都会变成一堆乱码在终端里显示出来

@learningpro commented on GitHub (Jan 28, 2026): 我发现经常是在使用kill/pkill 命令的时候出现这个状况,鼠标移动都会变成一堆乱码在终端里显示出来
Author
Owner

@Hona commented on GitHub (Feb 12, 2026):

ctrl+c handling is now in as of 1.1.60

@Hona commented on GitHub (Feb 12, 2026): ctrl+c handling is now in as of 1.1.60
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7045