macOS: MallocStackLogging warning persists in v1.0.80
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the diagnostic on macOS with Copilot CLI v1.0.80, then compare the current behavior with the fix discussed in issue #4375. Trace the subprocess path that produces the TUI output and verify that the diagnostic no longer appears when MallocStackLogging is unset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100