zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.61k stars 651 forks source link

Freeze and/or crash when large file sent to stdout #2462

Open giyany opened 1 year ago

giyany commented 1 year ago

As title says: cat largefile.txt causes Zellij to freeze, halt and/or crash. This is especially common with unusually long lines and in smaller panes: For example, a 530M file with 152 lines and >555 million characters.

Zellij --debug crashed with

zellij --debug

Received empty message from server

log files are naturally too large for github, can send them privately.

zellij --version zellij 0.34.4

stty size 58 206

uname -av Linux oboe 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

alacritty --version alacritty 0.13.0-dev

EntilZha commented 1 year ago

Pretty sure I've run into this a few times, except with terminal output that is unexpectedly large (in my case, an image serialized as a 2D array of RGB pixel values, accidentally printed to console). It would be great to have a way to recover from this.