zellij icon indicating copy to clipboard operation
zellij copied to clipboard

Panic when switching to a session

Open bsodmike opened this issue 1 year ago • 1 comments

  1. Issues with the Zellij UI / behavior / crash

Basic default layout used.

Issue description

Attempted to switch to an older session:

Error occurred in server:

  × Thread 'wasm' panicked.
  ├─▶ Originating Thread(s)
  │   	1. main_thread: SwitchSession
  │   	2. ipc_server: AttachClient
  │   	3. plugin_thread: AddClient
  │
  ├─▶ At zellij-server/src/lib.rs:855:18
  ╰─▶ Program terminates: a fatal error occured

      Caused by:
          0: Failed to create instance, plugin env and subscriptions for plugin 0
          1: wasi filesystem creation error: `Could not get metadata for file "/Users/mdesilva/fetch/code2019_mbp/Arduino/stm32h747xi-uart-troubleshoot": entity not found`
  help: If you are seeing this message, it means that something went wrong.

        -> To get additional information, check the log at: /var/folders/vk/cb344xdx2jg29k9z7gw_2l240000gn/T/zellij-501/zellij-log/zellij.log
        -> To see a backtrace next time, reproduce the error with: RUST_BACKTRACE=1 zellij [...]
        -> To help us fix this, please open an issue: https://github.com/zellij-org/zellij/issues

Minimal reproduction

Other relevant information

  • zellij 0.39.2
  • OS: MacOS 13.5.2

bsodmike avatar May 02 '24 04:05 bsodmike

This error can happen when the Zellij cache folder was deleted or somehow corrupted before switching to the session. We don't have a lot of control over this. If you provide a minimal reproduction, I might be able to say more.

imsnif avatar May 02 '24 06:05 imsnif