macOS segfault: copilot crashes with EXC_BAD_ACCESS (SIGSEGV)
- 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
`copilot` crashes with a segmentation fault on macOS when invoked from terminal.
## Repro
1. Launch terminal (cmux in my case).
2. Run `copilot`.
3. Process exits with segmentation fault (`[1] 94078 segmentation fault copilot`).
## Expected
CLI starts normally.
## Actual
CLI crashes immediately with SIGSEGV.
## Crash report
- File: `~/Library/Logs/DiagnosticReports/copilot-2026-04-23-153812.ips`
- Incident ID: `7CE3EF49-27EA-4633-A900-D701E388DE69`
- Exception: `EXC_BAD_ACCESS` / `SIGSEGV`
- Subtype: `KERN_INVALID_ADDRESS at 0x000000000000000b`
- Faulting thread: `V8Worker`
- Parent PID recorded in crash report: `94078`
## Environment
- macOS: 26.4.1 (25E253)
- Hardware: Apple Silicon (`Mac15,3` from crash report)
- Terminal host process in report: `cmux`
## copilot version
```
GitHub Copilot CLI 1.0.35-6.
Run 'copilot update' to check for updates.
```
## Additional notes
- Crash report includes symbols pointing into V8 worker/concurrent marking paths.
- I can attach the full `.ips` report if needed.
## Environment snapshot
```
ProductName: macOS
ProductVersion: 26.4.1
BuildVersion: 25E253
Darwin Kevins-MacBook-Pro.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:32:59 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T8122 arm64
Captured at: 2026-04-23 15:42:58 -0700
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện `copilot` từ một terminal trên Apple Silicon macOS 26.4.1 và xem xét dữ liệu crash `.ips` được báo cáo, tập trung vào các frame V8Worker và concurrent-marking. Vấn đề được giải quyết khi CLI khởi động bình thường mà không có EXC_BAD_ACCESS hoặc SIGSEGV trong môi trường đã báo cáo.
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100