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

Sessions are not persisted #3663

Open
tesaarni opened this issue Oct 11, 2024 · 0 comments
Open

Sessions are not persisted #3663

tesaarni opened this issue Oct 11, 2024 · 0 comments

Comments

@tesaarni
Copy link

tesaarni commented Oct 11, 2024

Issue description

I have been using zellij for a couple of months now (with default settings, no plugins etc.) and noticed recently that changes to sessions are not persisted. I have version 0.40.1 installed and for testing purposes I compiled zellij from main branch. The same issue occurred with the version compiled from repository head.

For testing purposes I removed ~/.cache/zellij folder and did a clean installation of zellij. When closing zellij using this setup, all changes are lost and running zellij ls returns "No active zellij sessions found."

Attached log is run using clean zellij installation (cargo install zellij --locked)
zellij.log

Minimal reproduction

  1. Run zellij --debug attach --create foo
  2. Rename current tab, add new tab and rename it
  3. Exit zellij with ctrl + q
  4. Run zellij ls -> No active zellij sessions found.
ERROR  |zellij_utils::errors::not| 2024-10-11 13:35:59.526 [screen    ] [/home/tero/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zellij-utils-0.40.1/src/errors.rs:655]: Panic occured:
             thread: screen
             location: At /home/tero/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zellij-server-0.40.1/src/lib.rs:956:18
             message: Program terminates: a fatal error occured

Caused by:
    0: Failed to log and report session state
    1: failed to send message to background jobs
    2: Originating Thread(s)
       	�[0;0m1. stdin_handler_thread: AcceptInput
       	�[0;0m2. ipc_server: ClientExit
       	�[0;0m3. screen_thread: RemoveClient
       
    3: failed to send message to channel: ReportSessionInfo

Other relevant information

zellij version:
zellij 0.40.1

uname -av:
Linux PRLAP-LEN16-463 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

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

No branches or pull requests

1 participant