zellij-org / zellij

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

Zellij don't start on 1and1 co-hosting VM #3292

Open slamp opened 7 months ago

slamp commented 7 months ago
  1. Issues with the Zellij crash at startup I tried to start Zellij on 1and1 co-hosting VM (probably an old VM)

Basic information

zellij --version: ❯ ./zellij --version zellij 0.40.0

stty size: ❯ stty size 32 147

uname -av or ver(Windows): ❯ uname -av Linux infong333 4.4.400-icpu-099 #2 SMP Fri Feb 9 07:49:30 UTC 2024 x86_64 GNU/Linux

Issue description

❯ RUST_BACKTRACE=1 ./zellij

Error occurred in server:

  × Thread 'background_jobs' panicked.
  ├─▶ Originating Thread(s)
  │     1. ipc_server: NewClient
  │     2. plugin_thread: AddClient
  │     3. screen_thread: RequestStateUpdateForPlugins
  │     4. background_jobs_thread: ReadAllSessionInfosOnMachine
  │
  ├─▶ At /cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.3.1/src/init.rs:39:18
  ╰─▶ cannot spawn executor threads: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }

      Panic backtrace:
         0: <unknown>
         1: <unknown>
[...]
        18: <unknown>

Minimal reproduction

./zellij

Other relevant information

❯ cat /tmp/zellij-3887954/zellij-log/zellij.log

ERROR  |zellij::sessions         | 2024-04-23 18:34:43.731 [main      ] [src/sessions.rs:90]: Failed to read session_info cache folder: ""/kunden/homepages/44/replaced/htdocs/.cache/zellij/0.40.0/session_info"": Os { code: 2, kind: NotFound, message: "No such file or directory" }
ERROR  |zellij::sessions         | 2024-04-23 18:34:43.731 [main      ] [src/sessions.rs:90]: Failed to read session_info cache folder: ""/kunden/homepages/44/replaced/htdocs/.cache/zellij/0.40.0/session_info"": Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO   |zellij_client            | 2024-04-23 18:34:43.731 [main      ] [zellij-client/src/lib.rs:178]: Starting Zellij client!
INFO   |zellij_server            | 2024-04-23 18:34:43.742 [main      ] [zellij-server/src/lib.rs:281]: Starting Zellij server!
ERROR  |zellij_client::stdin_ansi| 2024-04-23 18:34:43.747 [stdin_handler] [zellij-client/src/stdin_ansi_parser.rs:124]: Failed to open STDIN cache file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO   |zellij_server            | 2024-04-23 18:34:43.748 [main      ] [zellij-server/src/lib.rs:1058]: Compiling plugins using Cranelift
INFO   |zellij_server::plugins   | 2024-04-23 18:34:43.749 [wasm      ] [zellij-server/src/plugins/mod.rs:200]: Wasm main thread starts
WARN   |zellij_utils::input::layo| 2024-04-23 18:34:43.754 [wasm      ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
WARN   |zellij_utils::input::layo| 2024-04-23 18:34:43.754 [wasm      ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
ERROR  |zellij_utils::errors::not| 2024-04-23 18:34:43.757 [background_jobs] [zellij-utils/src/errors.rs:652]: Panic occured:
             thread: background_jobs
             location: At /cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.3.1/src/init.rs:39:18
             message: cannot spawn executor threads: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
ERROR  |zellij_utils::errors::not| 2024-04-23 18:34:43.758 [wasm      ] [zellij-utils/src/errors.rs:652]: Panic occured:
             thread: wasm
             location: At /cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25
             message: Lazy instance has previously been poisoned
ERROR  |zellij::sessions         | 2024-04-23 18:35:47.087 [main      ] [src/sessions.rs:90]: Failed to read session_info cache folder: ""/kunden/homepages/44/replaced/htdocs/.cache/zellij/0.40.0/session_info"": Os { code: 2, kind: NotFound, message: "No such file or directory" }
ERROR  |zellij::sessions         | 2024-04-23 18:35:47.087 [main      ] [src/sessions.rs:90]: Failed to read session_info cache folder: ""/kunden/homepages/44/replaced/htdocs/.cache/zellij/0.40.0/session_info"": Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO   |zellij_client            | 2024-04-23 18:35:47.087 [main      ] [zellij-client/src/lib.rs:178]: Starting Zellij client!
INFO   |zellij_server            | 2024-04-23 18:35:47.098 [main      ] [zellij-server/src/lib.rs:281]: Starting Zellij server!
ERROR  |zellij_client::stdin_ansi| 2024-04-23 18:35:47.101 [stdin_handler] [zellij-client/src/stdin_ansi_parser.rs:124]: Failed to open STDIN cache file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO   |zellij_server            | 2024-04-23 18:35:47.102 [main      ] [zellij-server/src/lib.rs:1058]: Compiling plugins using Cranelift
INFO   |zellij_server::plugins   | 2024-04-23 18:35:47.103 [wasm      ] [zellij-server/src/plugins/mod.rs:200]: Wasm main thread starts
WARN   |zellij_utils::input::layo| 2024-04-23 18:35:47.106 [wasm      ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
WARN   |zellij_utils::input::layo| 2024-04-23 18:35:47.106 [wasm      ] [zellij-utils/src/input/layout.rs:105]: Overriding plugin alias
ERROR  |zellij_utils::errors::not| 2024-04-23 18:35:47.109 [background_jobs] [zellij-utils/src/errors.rs:652]: Panic occured:
             thread: background_jobs
             location: At /cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.3.1/src/init.rs:39:18
             message: cannot spawn executor threads: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
ERROR  |zellij_utils::errors::not| 2024-04-23 18:35:47.113 [wasm      ] [zellij-utils/src/errors.rs:652]: Panic occured:
             thread: wasm
             location: At /cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs:1313:25
             message: Lazy instance has previously been poisoned

Tell me if you need more information.

slamp commented 3 months ago

Same issue with version 0.40.1