github / github/copilot-cli

macOS: MallocStackLogging warning persists in v1.0.80

Offen
#4,614 2 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

triage
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

  1. Launch Copilot CLI on macOS.
  2. Use the TUI normally so that Copilot invokes subprocesses or tools.
  3. 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: unset
  • MallocNanoZone: 0

Related issue

  • #4375

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.