-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
Crash when creating a new tab (WSL2 multiples days without shutdown) #2151
Comments
Hey @har7an - I think we fixed this already, right? |
@imsnif Hard to say, #2093 dealt specifically with the cache folder, although it does recreate the TMP folder when it's missing, too. I think that this is resolved by #2093, because the description sounds very much like what led me to make that PR in the first place. @Zykino Can you try running the following command: $ rm -rf /tmp/zellij-1000 && zellij action new-tab And post the output you get? Edit: Beware, if my assumption is correct, this will crash your session. |
Brand new terminal/tab (no active session)
I tried it again with a zellij session in another tab and I get the same result. $ zellij ls
No active zellij sessions found. |
@Zykino - wild guess: is there a chance you're running more than one version of Zellij? |
When in the title I said "when creating a new tab", I meant "with keyboard shortcuts: I just tried again with my setup and this cause a crash each time:
Opening a new tab with
-> The default keybinding is not protected, but calling explicitly a zellij command from inside recreate enough for the keyboard shortcut to work. And multiples Sorry if I’m not clear 😅 a bit sick and I do not have the force to edit much a text in a foreign language right now. |
Hey @Zykino - first, I hope you feel better soon! Please don't exert yourself just to help us with a bug :) Zellij relies on IPC pipes in the Zellij also does not deal well with having two versions of itself running on the same machine. This is a result of some bad design in the early days. We should be able to deal with this too, but currently don't. |
I reproduce on Pop-Os only 1 version of Zellij. zellij # Start a session
rm /tmp/zellij-1000 -fr
# "Ctrl+t, n"
# Crash zellij # Start a session
rm /tmp/zellij-1000 -fr
`zellij action new-tab`
# Ok tab 2 created
"Ctrl+t, n"
# Ok tab 3 created It feels so strange that starting another process fix the tmp folder structure while in process shortcut don’t. I though that the keybinding was exactly that: a shortuct that executed exactly the same code as the long form operation. I guess architecture is what it is 😅. |
@Zykino There's a lot of technical difference between what |
Just checked, it is indeed fixed in 0.35.1 🎉 |
It reappeared in 0.36.0 or earlier. Look #2078. Also there's bunch of issues related to this specific panic. |
I had zellij opened on 2 distinct WindowsTerminal window, connected to the same session. After around 4 days (windows goes in sleep/hibernation every nights), I tried to open a new tab and this crash log was shown instead.
Apparently
/tmp/zellij-1000
exist after the crash.It happens once so, I am not sure how much this is easy to reproduce.
The text was updated successfully, but these errors were encountered: