[Bug]: 开发过程中,进程卡死了,但是无法点击停止 。。选择停止操作根本无效 。重启后让继续开发,还是会停止
Version line
v2 — Go rewrite (1.x), main-v2 (active development)
Exact version
1.10.0
What happened?
之前卡了两个小时左右,不往下走,我点停止一直无效。。截图是重新打开应用后,让继续的情况 。依然卡
Steps to reproduce
非每次都复现~~。开发过程中出现
OS / platform
Windows11
Relevant logs or output
出现同样的问题。将模型从pro换成flash之后就可以了
我也遇到过这个问题,我都是关闭Reasonix,然后重开,换个模型继续。
我也遇到过,然后我发现都是一些固定bash命令导致的,git bash还是有点不太兼容,我遇到过cat,find这两个卡住的
今天晚上CLI遇到了两次,都是kill进程
遇到好几次了。
确实有这个问题
+1,一直卡在显示执行一条bash命令,卡了一个多小时,点停止没有任何反应
一样的,我也遇到了,希望作者修复一下这个bug,在卡的时候电脑散热会疯狂运转
我来看看
@zskingzhaosheng @KarasjokMing @a285292107s @keeyangyy @ephywong @QiHong20 @lidong19941207 @QIUZAIYOU @Awen-g 感谢大家反馈。
这个 issue 里 v1.10.0 出现的“卡在 bash/tool call,点击停止后仍不退出或继续调度工具”的取消链路问题,已经在 1.11.1 修复。相关修复已经包含在 Reasonix CLI v1.11.1 和 Reasonix Desktop v1.11.1,建议大家先升级到 1.11.1 后再试。
如果升级后仍然复现,请继续在这个 issue 下补充这些基础信息,方便我们区分是否还有 Windows/Git Bash 子进程层面的残留问题:
- 使用端:Desktop 还是 CLI,以及精确版本号
- 系统版本,例如 Windows 11 的具体版本
- 当前 shell 设置:auto/bash/PowerShell,以及是否安装或正在使用 Git Bash
- 模型/provider,例如 deepseek-v4-pro、flash 等
- 卡住时界面显示的正在执行命令或工具卡片截图;如果能复制到 bash 命令,也请贴出命令
- 点击“停止”后的表现:是否变成“停止中”、多久未恢复、CPU 是否持续升高
- 相关日志或终端输出;请先删除 API key、token、私有路径等敏感信息
如果只是 v1.10.0 复现,升级 1.11.1 后消失,也欢迎回帖确认一下,方便我们判断这个 issue 是否可以关闭。
结果:仍然会出现无法停止的现象。 1.使用端:Desktop,1.11.1 2. 系统版本 Windows11 Windows 11 专业工作站版 22H2 22621.4317 3. 默认终端是 Powershell 4. 模型是deepseek-v4-pro 5. 命令 有点长 。
结果:仍然会出现无法停止的现象。使用端:Desktop 1.11.1;系统:Windows 11;默认终端:PowerShell;模型:deepseek-v4-pro;命令较长;点击停止后一直没变,CPU 没有持续升高。
截图已省略,避免复制临时图片链接。
我来看一下
这条先继续保持 Open。#5512 已经覆盖了几个相邻的 Stop/卡住链路:长历史首屏 hydrate 改为分页,降低 UI 主线程卡住导致 Stop 看似无响应的概率;Desktop RunShell cancel 会返回明确的 cancelled tool result;agent/controller 取消后会清理 partial assistant/tool/todo 残留并保留真实 user prompt;Windows CI 也覆盖了 bash/PowerShell 子进程树取消测试。
但 #4986 里最新复现是 Windows 11 + Desktop 1.11.1 + PowerShell,且具体长命令没有贴出。因为这可能还包含某个特定 PowerShell/Git Bash 子进程不响应 kill 的情况,#5512 这里只写 Refs #4986,不会自动关闭。等 #5512 合并进入 dev build / release 后,如果仍能复现,请继续补充具体命令、shell 设置、点击 Stop 后是否进入 stopping/cancel requested 状态,以及后台子进程是否仍存活;我会按剩余 cancellation / process-tree 路径继续单独排查。
Update: #5512 now also persists an in-flight turn marker before model/tool execution and, on resume after a crash, force quit, or kill during a turn, strips stale partial assistant/tool/todo tails while preserving the visible user prompt. This covers the stale transcript/restart path adjacent to this issue.
I am keeping this issue referenced rather than auto-closed because the latest Windows PowerShell report still does not include a concrete reproducer command or child-process trace. Please retest #5512 once CI artifacts are available; if Stop still hangs for a specific command, that remaining process-tree cancellation case should stay tracked here.
Update: #5512 now includes a deeper Windows shell-process fix in addition to the UI/cancel transcript recovery work. Foreground and background shell calls that require cleanup now start through the tracked process-tree runner, so Windows bash/PowerShell children are assigned to a Job Object and reaped on cancel, timeout, or normal shell exit. This targets the remaining Desktop Stop path reported here where a bash/tool call could leave child processes behind and keep the turn stuck.
The PR now uses Fixes #4986; once it is merged, the fix will be available in the next dev build/release that includes that merge. Current published 1.13.0-rc.1 builds do not include this PR yet.
#5512 has been merged and closed this issue.
What changed:
- Desktop
RunShellcancellation now emits an explicit cancelled tool result so the foreground turn can reconcile cleanly. - Foreground/background shell calls that require cleanup now run through the tracked process-tree runner; on Windows, bash/PowerShell children are assigned to a Job Object and reaped on cancel, timeout, or normal shell exit.
- Interrupted-turn cleanup now preserves the visible user prompt while removing partial assistant/tool/todo tails, including resume after crash/force quit via the in-flight marker.
Verification:
- #5512 passed cache-impact, desktop, lint, race, coverage, CodeQL, and ubuntu/macos/windows tests.
Availability:
- The fix is on
main-v2via #5512. It is not in the previously published 1.13.0-rc.1 build; please retest with a dev build or release that includes #5512.
If a specific PowerShell/Git Bash command still cannot be stopped after that build, please open a fresh issue with the command, shell setting, and child-process state so the remaining process-tree edge case can be tracked separately.