-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
Scrolling (too quickly) causes zellij session to be detached and it must be killed to continue. #2063
Comments
As mentioned on Discord, sorry for the experience and thanks for looking into this! Did you get some sort of error message when it happened? Did you see something in the logs (by default they're in /tmp/zellij-/zellij-log/zellij.log)? |
Thanks for the super-quick response. I did not get any message when this happened, I was just booted back to the terminal from which I launched |
Ok, it happened again! I am attaching the tail of the log below. |
Hum... nothing useful in the log, I'm afraid. Is there a way you can consistently reproduce this? Even semi-consistently? If so I can try to give you a version with some extra logging or some such. Also, when you got booted to your terminal, did you see any message? Even just the "Bye from Zellij" prompt? |
Hi @imsnif, So yes, I can reproduce this reliably. I start a zellij session, navigate to a directory with many files / subdirectories and I do get a message when zellij drops me back to the terminal where I started it:
In the most recent re-creation of this, the tail of my log looks like so:
As you can see, zellij was only open briefly, since I started this session just to repro this bug. So, this is the entirety of the log for this session. |
Just got this same thing in iterm2 in MacOS. Happy to help however I can! Version 0.34.4 btw. |
Same issue with steps here: #2041 (comment) |
Im also having this same behaviour - MacOS with kitty term. I will add that additionally I am seeing before this occurs that attempting to scroll can be difficult full stop with focus repeatedly drawn to my prompt as I attempt to scroll upwards - making it impossible to scroll up, and then the crash occurs. Once this occurs I can't seem to get zellij working from any terminal without a system restart btw. |
You can use something like htop or the Activity Monitor to find and kill the hung zellij server that's in the background. |
I was just working on opening an issue for this exact same thing, when I thought I should check if others are experiencing it. Pasting what I had already written in case it's helpful, but basically same behavior (large scroll buffer, fast scrolling, unrecoverable crash). I tend to use zellij for long-running processes on a remote server, and this has lost me a lot of work in the past couple of weeks :-( (mostly I blame my MX master mouse because it allows me to scroll so fast 😅, and my own idiocy because I keep forgetting) Logs and description
Basic information
☝️ that's for the server where the crash occurred, my local system is OpenSUSE Tumbleweed
Further information
I let that run for about 10 sec, then ctrl C. Then scroll up rapidly, zellij crashes with:
And I can't reconnect or even start a new session unless I kill the zellij process. |
Hey @kescobo - I'm really sorry for this experience. Losing work sucks and please do not blame yourself! This is a Zellij bug. That being said, this should be very much mitigated (hopefully to the level of non-existence) in version 0.35.1 and above. There's also some pretty nice features added that will hopefully delight you as well. Maybe give it a try? |
Oh man, I see I'm several versions behind on the server 🤦. I have not been good about updating then. Thanks for the fix! I'll try to test it next week. |
Actually tested just now using the same procedure above - no crash 🎉 |
Installed 0.35.2 on both local and remote, and I can no longer reproduce this bug #2041 (comment). Thank you so much!! |
Same! Thank you! |
Seems to have been fixed by #2068, feel free to reopen this issue if the problems occur again. |
First, thank you for
zellij
; it's great!The problem I am having is that when I have a terminal with a long history (i.e. a lot of text), and I scroll up too quickly, I get booted out of my zellij session. After this, I am unable to reattach it, and I can't even start a new session until I kill the existing sessions. I can see the session out of which I have been booted, and it shows up in
ps
with the statusSl
. I tried e.g. sending it aCONT
signal, but to no avail.In the cases where this has happened to me (it's occurred several times), I was scrolling up using the mouse, and each time I was scrolling quickly. It doesn't seem to happen when I scroll slowly, or when I scroll back using the keyboard bindings.
Also, perhaps strangely, processes attached to the unconnectable session are still going (I had a jupyter notebook in one tab, and I was still able to interact with the kernel, even though I couldn't reattach the zellij session from which it was launched).
Basic information
zellij --version
: zellij 0.34.3stty size
: 72 258uname -av
orver
(Windows): Linux newton 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: