#66273
Serial output in terminal displayed incorrectly
Reproduction steps
- install rust & cargo
- Arch linux, WSL, everything installed on there
- install cargo-image-runner
- install qemu-x86_64
- Set up UART serial output with uart-16550 crate on kernel
- output a few lines with content and no content, all appended with /r/n
- run uefi kernel on qemu through cargo run (runner set to cargo-image-runner)
- observe output in zeds terminal
- resize zeds terminal
- observe new output
Current vs. Expected behavior
Current behaviour:
Before resize:
After resize:
expected behaviour (run on normal powershell WSL terminal):
Zed version and system specs
Zed: Zed 1.26.2 c4273271092b0287f7d181f616bd5171e0a2f70c OS: Arch linux 6.18.54.1-1, WSL 3.0.3.0, running on windows 11 pro Memory: 16GB GDDR5 SODIMM Architecture: Host: x86_64, qemu machine: x86_64
Attach Zed log file
Zed.log
undefinedRelevant Zed settings
settings.json
undefinedRelevant Keymap
keymap.json
# Trimmed Zed log, 2026-10-29 (UTC+11:00)
# Zed 1.26.2 stable on Windows, project opened over the WSL remote connection (archlinux distro).
# Kept: start-up, WSL connection, terminal (conpty) lines, terminal hang, window/remote errors around quit.
# Omitted: thousands of repeated LSP "completion out of expected range", "skipping diagnostics update",
# "failed to load git changed file sets", memory/worktree reliability lines, PATH dumps, auto-update/telemetry DNS failures.
# Omitted sections are marked [...]
[... 08:38 - 08:49 session: LSP completion noise only, then quit ...]
2026-10-29T08:49:33+11:00 ERROR [crates/gpui/src/window.rs:2029] window not found
2026-10-29T08:49:33+11:00 INFO [remote::remote_client] shutting down remote processes
2026-10-29T08:49:33+11:00 INFO [remote_server] (remote server) app quitting. sending signal to server main loop
2026-10-29T08:49:33+11:00 ERROR [remote_server] (remote proxy) encountered error while forwarding messages: stdout_task failed: failed to read message from stdout: unexpected end of file
2026-10-29T08:49:33+11:00 ERROR [gpui::app] timed out waiting on app_will_quit
=== Session 2: 10:03 ===
2026-10-29T10:03:48+11:00 INFO [zed] ========== starting zed version 1.26.2+stable.384.c4273271092b0287f7d181f616bd5171e0a2f70c, sha c427327 ==========
2026-10-29T10:03:48+11:00 INFO [gpui_windows::direct_write] Use Segoe UI as UI font.
2026-10-29T10:03:48+11:00 INFO [gpui_windows::directx_devices] Using GPU: Intel(R) UHD Graphics
2026-10-29T10:03:48+11:00 INFO [gpui_windows::directx_devices] Created device with Direct3D 11.1 feature level.
2026-10-29T10:03:48+11:00 INFO [workspace] Rendered first frame
2026-10-29T10:03:48+11:00 INFO [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics", driver_name: "Intel Corporation", driver_info: "32.0.101.7026" }
2026-10-29T10:03:48+11:00 INFO [remote::transport::wsl] Connecting to WSL distro archlinux with user Some("nniro")
2026-10-29T10:03:59+11:00 INFO [remote::transport::wsl] Remote shell discovered: /bin/bash
2026-10-29T10:03:59+11:00 INFO [remote::transport::wsl] Remote has wsl interop enabled
2026-10-29T10:03:59+11:00 INFO [remote::transport::wsl] Remote platform discovered: RemotePlatform { os: Linux, arch: X86_64 }
2026-10-29T10:03:59+11:00 INFO [remote::transport::wsl] Remote OS version discovered: Some("arch")
2026-10-29T10:03:59+11:00 INFO [remote::transport::wsl] Remote home directory discovered: Some("/home/nniro")
2026-10-29T10:04:00+11:00 INFO [remote_server] (remote server) gpui app started, initializing server
2026-10-29T10:04:00+11:00 INFO [remote_server] (remote server) accepting new connections
2026-10-29T10:04:00+11:00 INFO [remote_server] (remote server) accepted new connections
2026-10-29T10:04:00+11:00 INFO [alacritty_terminal::tty::windows::conpty] Using conpty.dll for pseudoconsole
2026-10-29T10:04:02+11:00 INFO [lsp] (remote server) starting language server process. binary path: "/home/nniro/.local/share/zed/languages/rust-analyzer/rust-analyzer-2026-10-26", working directory: "/home/nniro/Development/foody/foody_client", args: []
[... editing session, LSP noise ...]
2026-10-29T10:08:26+11:00 ERROR [remote::remote_client] (remote server) server:error handling message. type:LspQuery, error:unknown buffer id 12884902229
2026-10-29T10:08:26+11:00 ERROR [crates/editor/src/editor.rs:3796] RPC request GetDocumentHighlights failed: unknown buffer id 12884902229
[... editing session, LSP noise ...]
2026-10-29T10:34:54+11:00 ERROR [crates/gpui/src/window.rs:2050] window not found
2026-10-29T10:34:54+11:00 ERROR [crates/gpui_windows/src/platform.rs:489] Invalid window handle. (0x80070578)
2026-10-29T10:34:54+11:00 ERROR [crates/gpui/src/window.rs:2029] window not found
2026-10-29T10:34:54+11:00 INFO [remote::remote_client] shutting down remote processes
2026-10-29T10:34:54+11:00 INFO [remote_server] (remote server) app quitting. sending signal to server main loop
2026-10-29T10:34:54+11:00 INFO [remote_server] (remote server) gpui app is shut down. quitting.
2026-10-29T10:34:54+11:00 ERROR [remote_server] (remote proxy) encountered error while forwarding messages: stdout_task failed: failed to read message from stdout: unexpected end of file
2026-10-29T10:34:54+11:00 ERROR [remote_server] (remote proxy) server exited unexpectedly
2026-10-29T10:34:54+11:00 ERROR [gpui::app] timed out waiting on app_will_quit
2026-10-29T10:34:54+11:00 INFO [zed::reliability::hang_detection::logging] Background hang detected on Unknown:
Tasks(s) that ran too long
286.4379ms - crates\terminal\src\terminal.rs:3167:14
2026-10-29T10:34:54+11:00 INFO [zed::reliability::hang_detection] Task trace has been saved to: C:\Users\Aiden\AppData\Local\Zed\hang_traces\hang-2026-10-29_10-34-54.miniprof.json
=== Session 3: 10:40 ===
2026-10-29T10:40:45+11:00 INFO [zed] ========== starting zed version 1.26.2+stable.384.c4273271092b0287f7d181f616bd5171e0a2f70c, sha c427327 ==========
2026-10-29T10:40:46+11:00 INFO [gpui_windows::directx_devices] Using GPU: Intel(R) UHD Graphics
2026-10-29T10:40:46+11:00 INFO [workspace] Rendered first frame
2026-10-29T10:40:46+11:00 INFO [remote::transport::wsl] Connecting to WSL distro archlinux with user Some("nniro")
2026-10-29T10:40:52+11:00 INFO [remote::transport::wsl] Remote shell discovered: /bin/bash
2026-10-29T10:40:53+11:00 INFO [remote::transport::wsl] Remote has wsl interop enabled
2026-10-29T10:40:55+11:00 INFO [remote_server] (remote server) accepted new connections
2026-10-29T10:40:55+11:00 INFO [alacritty_terminal::tty::windows::conpty] Using conpty.dll for pseudoconsole
2026-10-29T10:41:00+11:00 INFO [lsp] (remote server) starting language server process. binary path: "/home/nniro/.local/share/zed/languages/rust-analyzer/rust-analyzer-2026-10-26", working directory: "/home/nniro/Development/foody/foody_client", args: []
2026-10-29T10:45:47+11:00 INFO [zed::reliability::hang_detection::logging] Background hang detected on Unknown:
Tasks(s) that ran too long
806.74ms - crates\session\src\session.rs:90:30
2026-10-29T10:45:52+11:00 INFO [zed::reliability::hang_detection::logging] Background hang detected on Unknown:
Tasks(s) that ran too long
446.3118ms - crates\editor\src\blink_manager.rs:74:46
2026-10-29T10:50:39+11:00 ERROR [crates/gpui_windows/src/platform.rs:489] Invalid window handle. (0x80070578)
2026-10-29T10:50:39+11:00 ERROR [crates/gpui/src/window.rs:2029] window not found
2026-10-29T10:50:39+11:00 INFO [remote::remote_client] shutting down remote processes
2026-10-29T10:50:39+11:00 INFO [remote_server] (remote server) app quitting. sending signal to server main loop
2026-10-29T10:50:39+11:00 ERROR [remote_server] (remote proxy) encountered error while forwarding messages: stdout_task failed: failed to read message from stdout: unexpected end of file
2026-10-29T10:50:39+11:00 ERROR [gpui::app] timed out waiting on app_will_quit
=== Session 4: 12:44 ===
2026-10-29T12:44:44+11:00 INFO [zed] ========== starting zed version 1.26.2+stable.384.c4273271092b0287f7d181f616bd5171e0a2f70c, sha c427327 ==========
2026-10-29T12:44:45+11:00 INFO [remote::transport::wsl] Connecting to WSL distro archlinux with user Some("nniro")
2026-10-29T12:44:50+11:00 INFO [remote::transport::wsl] Remote shell discovered: /bin/bash
2026-10-29T12:44:50+11:00 INFO [remote::transport::wsl] Remote has wsl interop enabled
2026-10-29T12:44:51+11:00 INFO [remote_server] (remote server) accepted new connections
2026-10-29T12:44:52+11:00 INFO [alacritty_terminal::tty::windows::conpty] Using conpty.dll for pseudoconsole
[... editing session, LSP noise ...]
2026-10-29T13:13:48+11:00 ERROR [crates/gpui/src/window.rs:2029] window not found
2026-10-29T13:13:48+11:00 ERROR [crates/gpui_windows/src/platform.rs:489] Invalid window handle. (0x80070578)
2026-10-29T13:13:48+11:00 INFO [remote::remote_client] shutting down remote processes
2026-10-29T13:13:48+11:00 INFO [remote_server] (remote server) app quitting. sending signal to server main loop
2026-10-29T13:13:48+11:00 INFO [remote_server] (remote server) gpui app is shut down. quitting.
2026-10-29T13:13:48+11:00 ERROR [remote_server] (remote proxy) encountered error while forwarding messages: stdout_task failed: failed to read message from stdout: unexpected end of file
2026-10-29T13:13:48+11:00 ERROR [remote_server] (remote proxy) server exited unexpectedly
2026-10-29T13:13:48+11:00 ERROR [gpui::app] timed out waiting on app_will_quit
=== Session 5: 14:20 (connection failed) ===
2026-10-29T14:20:20+11:00 INFO [zed] ========== starting zed version 1.26.2+stable.384.c4273271092b0287f7d181f616bd5171e0a2f70c, sha c427327 ==========
2026-10-29T14:20:21+11:00 INFO [remote::transport::wsl] Connecting to WSL distro archlinux with user Some("nniro")
2026-10-29T14:20:22+11:00 INFO [zed::reliability::hang_detection::logging] New foreground hang detected:
Tasks(s) that ran too long
166.3372ms - crates\zed\src\main.rs:944:24
2026-10-29T14:20:30+11:00 INFO [remote::transport::wsl] Remote shell discovered: /bin/bash
2026-10-29T14:20:30+11:00 INFO [remote::transport::wsl] Remote has wsl interop enabled
2026-10-29T14:20:30+11:00 INFO [remote::transport::wsl] Remote OS version discovered: Some("arch")
2026-10-29T14:21:31+11:00 ERROR [remote::remote_client] failed to establish connection: Client exited with exit_code 9
2026-10-29T14:21:31+11:00 ERROR [recent_projects::remote_connections] Failed to open project: Client exited with exit_code 9
2026-10-29T14:21:33+11:00 ERROR [crates/gpui/src/window.rs:2050] window not found
2026-10-29T14:21:33+11:00 ERROR [crates/gpui/src/window.rs:2029] window not found
2026-10-29T14:21:33+11:00 ERROR [gpui::app] timed out waiting on app_will_quit
=== Session 6: 14:23 (current) ===
2026-10-29T14:23:04+11:00 INFO [zed] ========== starting zed version 1.26.2+stable.384.c4273271092b0287f7d181f616bd5171e0a2f70c, sha c427327 ==========
2026-10-29T14:23:05+11:00 INFO [remote::transport::wsl] Connecting to WSL distro archlinux with user Some("nniro")
2026-10-29T14:23:05+11:00 INFO [remote::transport::wsl] Remote has wsl interop enabled
2026-10-29T14:23:07+11:00 INFO [remote_server] (remote server) accepted new connections
2026-10-29T14:23:08+11:00 INFO [alacritty_terminal::tty::windows::conpty] Using conpty.dll for pseudoconsole
2026-10-29T14:23:12+11:00 INFO [lsp] (remote server) starting language server process. binary path: "/home/nniro/.local/share/zed/languages/rust-analyzer/rust-analyzer-2026-10-26", working directory: "/home/nniro/Development/foody/foody_client", args: []
2026-10-29T14:34:06+11:00 INFO [zed::reliability::hang_detection::logging] Background hang detected on Unknown:
Tasks(s) that ran too long
233.8739ms - crates\fs\src\fs_watcher.rs:185:34(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
Arch Linux
Additional recent context for triagers
Possibly related open issues:
This is an automated analysis and might be incorrect.