macOS: MallocStackLogging warning persists in v1.0.80
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Diagnose unter macOS mit Copilot CLI v1.0.80 zu reproduzieren, und vergleiche anschließend das aktuelle Verhalten mit dem in issue #4375 besprochenen Fix. Verfolge den Subprozesspfad, der die TUI-Ausgabe erzeugt, und überprüfe, dass die Diagnose nicht mehr erscheint, wenn MallocStackLogging nicht gesetzt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, shell
- Bereich
- cli, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100