macOS: MallocStackLogging warning persists in v1.0.80
未关闭
还没有人认领这个 Issue。
triage
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Summary
The following diagnostic still appears in Copilot CLI TUI windows on macOS with Copilot CLI v1.0.80:
copilot(<pid>) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
I observed it twice in succession from separate Copilot subprocesses. This appears to be a regression or incomplete fix for #4375, which was reported against v1.0.77 and closed as completed.
Steps to reproduce
- Launch Copilot CLI on macOS.
- Use the TUI normally so that Copilot invokes subprocesses or tools.
- Observe the diagnostic written into the TUI output, sometimes repeatedly with different process IDs.
Expected behavior
Copilot should not call the macOS stack-logging shutdown function when malloc stack logging is not enabled, and no diagnostic should be written into the TUI.
Actual behavior
The diagnostic appears in the TUI:
MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
Environment
- Copilot CLI: 1.0.80
- macOS: 15.6.1 (24G90)
- Architecture: arm64
- Installation: Homebrew cask; Copilot self-updated runtime reports v1.0.80
MallocStackLogging: unsetMallocNanoZone: 0
Related issue
- #4375
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 macOS 上使用 Copilot CLI v1.0.80 重现该诊断,然后将当前行为与 issue #4375 中讨论的修复进行比较。跟踪生成 TUI 输出的子进程路径,并验证在未设置 MallocStackLogging 时该诊断不再出现。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, shell
- 领域
- cli, operating-systems
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100