github / github/copilot-cli

Crash: uv__io_poll assertion failure on Termux/PRoot environment

未關閉
#1,002 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area:platform-linux
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

## Description
Copilot CLI crashes repeatedly with libuv assertion failure during normal interactive usage.

## Error
```
../deps/uv/src/unix/linux.c:1474: uv__io_poll: Assertion 'errno == EINTR' failed.
[Process completed (signal 9)]
```

## Environment
| Component | Version |
|-----------|---------|
| **Copilot CLI** | 0.0.384 (commit 0b21260) |
| **Node.js** | v22.21.1 |
| **libuv** | 1.51.0 |
| **NPM** | 10.9.4 |
| **Kernel** | 6.17.0-PRoot-Distro aarch64 |
| **Platform** | Termux (proot-distro) on Android |

## System Resources
- **Memory:** 10Gi total, 4Gi available
- **Open files limit:** 32768
- **Pending signals:** 38975

## Reproduction
- Crash occurs repeatedly during normal CLI usage
- Happens during interactive sessions
- Process terminated with signal SIGKILL (9)

## Likely Cause
Known libuv issue with `epoll_wait` returning unexpected errno in PRoot/Android environments where signal handling differs from standard Linux. The assertion at `linux.c:1474` expects `EINTR` but receives a different errno value.

## Additional Context
Running in Termux proot-distro (Debian-based) on Android device with aarch64 architecture.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。