mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 02:48:34 +00:00
c4cf5f2b2c
We saw stack traces in our #panic channel pop up that failed on this line:
3330614219/alacritty_terminal/src/event_loop.rs (L323-L324)
With this message:
thread 'PTY reader' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 9, kind: Uncategorized, message: "Bad file descriptor" }'
/Users/administrator/.cargo/git/checkouts/alacritty-afea874b09a502a5/3330614/alacritty_terminal/src/event_loop.rs:324
We don't know how to reproduce the error. It doesn't seem related to the number of open PTY handles,
because `openpty` itself didn't fail. We can only assume that something went wrong between
`openpty` and the setup of the polling.
Since Alacritty itself changed its polling mechanism significantly by switching
from `mio` to `polling` (https://github.com/alacritty/alacritty/pull/6846) we upgraded
with the hope that this will fix the bug.
Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Federico <code@fdionisi.me>
Co-authored-by: David <dammerung2718@icloud.com>
Co-authored-by: Bennet <bennetbo@gmx.de>
41 lines
909 B
TOML
41 lines
909 B
TOML
[package]
|
|
name = "terminal"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-only"
|
|
|
|
|
|
[lib]
|
|
path = "src/terminal.rs"
|
|
doctest = false
|
|
|
|
|
|
[dependencies]
|
|
gpui = { path = "../gpui" }
|
|
settings = { path = "../settings" }
|
|
db = { path = "../db" }
|
|
theme = { path = "../theme" }
|
|
util = { path = "../util" }
|
|
|
|
alacritty_terminal = "0.21"
|
|
procinfo = { git = "https://github.com/zed-industries/wezterm", rev = "5cd757e5f2eb039ed0c6bb6512223e69d5efc64d", default-features = false }
|
|
smallvec.workspace = true
|
|
smol.workspace = true
|
|
mio-extras = "2.0.6"
|
|
futures.workspace = true
|
|
ordered-float.workspace = true
|
|
itertools = "0.10"
|
|
dirs = "4.0.0"
|
|
shellexpand = "2.1.0"
|
|
libc = "0.2"
|
|
anyhow.workspace = true
|
|
schemars.workspace = true
|
|
thiserror.workspace = true
|
|
lazy_static.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rand.workspace = true
|