-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Error: thread 'screen' panicked at 'called Option::unwrap()
on a None
value': zellij-server/src/screen.rs:226
#805
Comments
Hey, sorry for the experience - first of all! The particular line of the crash is one of those "I can't imagine how this could happen" sort of things*. So I'm afraid I'm really going to need a way to reproduce this in order to find the issue. So if you can find a reliable or semi-reliable way to reproduce this that would be very helpful. Sorry I don't have a better answer. *For those interested: it's failing to get a reference to a tab from a HashMap after successfully doing so just a few lines before in a piece of totally synchronous code. |
No worries at all, I'm super grateful for zellij! |
Hey, I'm getting the same message, and I've figured out it happens if I manage to type into the terminal while my .bashrc is still sourcing; i.e., before the (My PC isn't the fastest :) ) I imagine it has something to do with zellij expecting STDIN to be empty when it launches? I'm just guessing. Here's the full trace:
P.S.: Zellij is fantastic! Thank you for making friendly software. |
I can reproduce (for example with bash):
Don't forget to remove the delay from your .bashrc again, this gets pretty annoying :D But I think this might be a distinct issue than OP experienced because the line number of the crash is very different? |
The second kind of crash with stdin / bashrc seems to be reported in a new issue: #1134 This leaves only the original crash from the first message to be discussed here. |
Both of these are now fixed in main |
Thank you for taking the time to file this issue! Please follow the instructions and fill the missing parts below the instructions, if it is meaningful. Try to be brief and concise.
Please attach the files that were created in
/tmp/zellij-1000/zellij-log/
to the extent you are comfortable with.Basic information
zellij --version
: 0.18.1tput lines
:tput cols
:uname -av
orver
(Windows): Darwin yt 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64List of programs you interact with as,
PROGRAM --version
: output cropped meaningful, for example:alacritty --version
: alacritty 0.9.0Further information
This happens upon trying to close a tab. When hitting the
x
of closing a particular tab, sometimes I just get the crashI can't reproduce reliably, this bug happens just from time to time. The logs without the debug flag contain the following
The text was updated successfully, but these errors were encountered: