#4619·zellij

zellij server crashes every few days

Author: betapriorCreated Jan 21, 2026Updated Sep 29, 2026

Roughly every 2-4 days zellij server crashes, killing all the running processes inside. The parent terminal displays a message Received empty message from server.

Unfortunately this seems to happen randomly which makes it difficult to find a good repro. However, it happens with enough regularity that it makes zellij unusable for me. Attaching debug log in case it sheds some light on the problem.

zellij --version
zellij 0.43.1
<3000 similar lines omitted>
WARN   |zellij_server::panes::gri| 2026-01-20 19:38:13.101 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/panes/grid.rs:3423]: Unhandled esc_dispatch: 92->[]
WARN   |zellij_server::panes::gri| 2026-01-20 19:38:13.108 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/panes/grid.rs:3423]: Unhandled esc_dispatch: 92->[]
WARN   |zellij_server::panes::gri| 2026-01-20 19:38:13.108 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/panes/grid.rs:3423]: Unhandled esc_dispatch: 92->[]
WARN   |zellij_server::panes::gri| 2026-01-20 19:38:13.109 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/panes/grid.rs:3423]: Unhandled esc_dispatch: 92->[]
WARN   |zellij_server::panes::gri| 2026-01-20 19:38:13.109 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/panes/grid.rs:3423]: Unhandled esc_dispatch: 92->[]
ERROR  |zellij_utils::errors::not| 2026-01-20 19:38:13.892 [server_router] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-utils-0.43.1/src/errors.rs:719]: Panic occured:
             thread: server_router
             location: At /home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/lib.rs:646:38
             message: Program terminates: a fatal error occured

Caused by:
    0: failed to handle instruction for client 1
    1: failed to determine minimal client terminal size
ERROR  |zellij_server::os_input_o| 2026-01-20 19:38:13.897 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/os_input_output.rs:934]: Failed to cache resizes: failed to send message to pty writer
ERROR  |zellij_server::os_input_o| 2026-01-20 19:38:13.897 [screen    ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/os_input_output.rs:945]: Failed to apply cached resizes: failed to send message to pty writer
INFO   |zellij_server::plugins   | 2026-01-20 19:38:13.897 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/mod.rs:969]: wasm main thread exits
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.897 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 2
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.905 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 0
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.907 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 4
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.911 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 5
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.912 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 1
INFO   |zellij_server::plugins::w| 2026-01-20 19:38:13.915 [wasm      ] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/plugins/wasm_bridge.rs:321]: Bye from plugin 3
ERROR  |zellij_server::terminal_b| 2026-01-20 19:38:13.917 [async-std/runti] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/terminal_bytes.rs:61]: Input/output error (os error 5)
ERROR  |zellij_server::terminal_b| 2026-01-20 19:38:13.917 [async-std/runti] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/terminal_bytes.rs:61]: Input/output error (os error 5)
ERROR  |zellij_server::terminal_b| 2026-01-20 19:38:13.919 [async-std/runti] [/home/leoa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zellij-server-0.43.1/src/terminal_bytes.rs:61]: Input/output error (os error 5)