github / github/copilot-cli

macOS: MallocStackLogging warning persists in v1.0.80

Đang mở
#4,614 2 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Trước tiên, hãy tái hiện chẩn đoán trên macOS với Copilot CLI v1.0.80, sau đó so sánh hành vi hiện tại với bản sửa lỗi được thảo luận trong issue #4375. Theo dõi đường dẫn subprocess tạo ra đầu ra TUI và xác minh rằng chẩn đoán không còn xuất hiện khi MallocStackLogging chưa được thiết lập.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos, shell
Lĩnh vực
cli, operating-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.