macOS: MallocStackLogging warning persists in v1.0.80
オープン
まだ誰も着手していません。
triage
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、macOS 上で Copilot CLI v1.0.80 を使って診断を再現し、次に現在の動作を issue #4375 で議論されている修正と比較します。TUI 出力を生成するサブプロセスの経路を追跡し、MallocStackLogging が未設定の場合に診断が表示されなくなることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, shell
- 領域
- cli, operating-systems
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100