Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwrap in link_handler.rs #1354

Closed
totikom opened this issue Apr 27, 2022 · 1 comment · Fixed by #1356
Closed

Unwrap in link_handler.rs #1354

totikom opened this issue Apr 27, 2022 · 1 comment · Fixed by #1356
Labels
stability Issues in relation to stability suspected bug

Comments

@totikom
Copy link

totikom commented Apr 27, 2022

Behavior:

After a long period of normal working (up to several days) zellij randomly crashes with this message:


  × Thread 'screen' panicked.
  ├─▶ Originating Thread(s)
  │   	1. screen_thread: Render
  │   
  ├─▶ At zellij-server/src/panes/link_handler.rs:55:51
  ╰─▶ called `Option::unwrap()` on a `None` value
  help: If you are seeing this message, it means that something went wrong.
        Please report this error to the github issue.
        (https://github.com/zellij-org/zellij/issues)
        
        Also, if you want to see the backtrace, you can set the `RUST_BACKTRACE` environment variable to `1`.
        
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })', /build/zellij/src/zellij-0.27.0/zellij-utils/src/ipc.rs:170:55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The last time it happen on paru -S, so it can be caused by its output.

Basic information

zellij --version: 0.27.0
tput lines: 106
tput cols: 118
uname -av or ver(Windows): Linux Main-pc 5.10.105-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:33 UTC 2022 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version:
alacritty --version: 0.10.1 (2844606d)
guake --version: 3.8.6.dev0

Further information
Reproduction steps, noticeable behavior, related issues, etc

@a-kenji a-kenji added the stability Issues in relation to stability label Apr 27, 2022
@tlinford
Copy link
Contributor

Thanks for the report, and sorry for the crash - will try to get a fix out asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stability Issues in relation to stability suspected bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants