github / github/app

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

未关闭
#633 1 条评论 0 个 reaction 已指派 1 人 已被 @Davsterl 认领 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。