github / github/app

Fatal Error on Windows: failed printing to stderr: The pipe is being closed. (os error 232)

Đang mở
#633 1 bình luận 0 reaction 1 người được giao Được @Davsterl nhận Xem trên GitHub
Bugs
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description
The app crashes with a "Fatal Error (Not Responding)" dialog on Windows. The error originates from the Rust standard library when writing to stderr:

```
failed printing to stderr: The pipe is being closed. (os error 232)
at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/stdio.rs:1165:9
```

### Environment
- OS: Windows (Windows_NT)
- App: GitHub Copilot app
- Latest release at time of report: v0.2.19 (exact running version unconfirmed)

### Expected behavior
The app should handle a closed stderr pipe gracefully instead of crashing with a fatal error.

### Notes
`os error 232` is the Windows `ERROR_NO_DATA` / broken-pipe condition, which suggests the downstream consumer of stderr was closed before the app finished writing. A panic while printing to stderr currently surfaces as a fatal "Not Responding" dialog.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.