zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
20.65k stars 639 forks source link

Crash: Failed to load plugin for client #2078

Open azzamsa opened 1 year ago

azzamsa commented 1 year ago

Hi.

Zellij occasionally crashes on my end with this error:

Error occurred in server:

  × Thread 'wasm' panicked.
  ├─▶ Originating Thread(s)
  │     1. stdin_handler_thread: AcceptInput
  │     2. screen_thread: NewTab
  │     3. plugin_thread: NewTab
  │   
  ├─▶ At zellij-server/src/lib.rs:726:18
  ╰─▶ Program terminates: a fatal error occured

      Caused by:
          0: failed to load plugin for client 1
          1: failed to start plugin PluginConfig {
                 path: "tab-bar",
                 run: Pane(
                     None,
                 ),
                 _allow_exec_host_cmd: false,
                 location: Zellij(
                     PluginTag(
                         "tab-bar",
                     ),
                 ),
             } for client 1
          2: wasi filesystem creation error: `Could not get metadata for file "/tmp/zellij-1000": entity not found`
  help: If you are seeing this message, it means that something went wrong.
        Please report this error to the github issue.
        (https://github.com/zellij-org/zellij/issues)

        Also, if you want to see the backtrace, you can set the `RUST_BACKTRACE` environment variable to `1`.

However, I can't pinpoint the step to reproduce this error. It happens occasionally when creating a new tab.

Basic information

zellij --version: zellij 0.34.4 stty size: 27 124 uname -av or ver(Windows): Linux 6.0.16-300.fc37.x86_64

List of programs you interact with as, PROGRAM --version: GNOME Terminal Version 3.45.90 for GNOME 43

Further information

  1. Open zellij in GNOME Terminal
  2. Do some work
  3. Create a new tab
  4. Crash
non-descriptive commented 1 year ago

Got same error

- Plugin version: 0.35.2
 - Zellij version: 0.36.0

uname: Linux 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux stty size:43 173

zellij.log Issue is absent on zellij v0.35.1