Open erik-balfe opened 2 days ago
this should be an bug in pin_tab feature, hit here
let unpinned_tabs = tab_items.split_off(self.pinned_tab_count);
you can open recent project, then delete the project which cause crashed. then open the project should normally.
That helped, thanks @CharlesChen0823. If the bug is still not fixed, I can provide a few more details: I had several pinned tabs in the project, including the terminal pane along with the usual editor tabs.
I'm also facing this bug or something similar?
[2024-10-23T09:32:59-04:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] } [2024-10-23T09:32:59-04:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE [2024-10-23T09:32:59-04:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE [2024-10-23T09:32:59-04:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE [2024-10-23T09:32:59-04:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] } [2024-10-23T09:32:59-04:00 ERROR auto_update] auto-update failed: error:failed to fetch release: "invalid os and arch parameters" [2024-10-23T09:32:59-04:00 ERROR] Error { code: HRESULT(0x80070057), message: "The parameter is incorrect." } [2024-10-23T09:32:59-04:00 ERROR] Error { code: HRESULT(0x80070057), message: "The parameter is incorrect." } [2024-10-23T09:32:59-04:00 ERROR] no worktrees when constructing LocalLspAdapterDelegate
This is on Windows.
this is not crash report, could you enable RUST_LOG=debug
, then paste the log
Check for Existing Issues
Bug Description
Zed IDE crashes when opening certain projects or when launching it with the last opened project. This results in a recurring crash on startup since the last project is automatically loaded. To circumvent this issue, I must start Zed in a different directory that is not associated with the problematic project, e.g.,
zed /some/another/path
.Environment
Zed: v0.157.5 (Zed) OS: Linux Wayland bluefin 40 Memory: 31 GiB Architecture: x86_64 GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 24.1.6
Log File
The relevant error that likely leads to the crash is as follows:
Error that i suppose crashes the program
``` 2024-10-20T18:28:20.58325496+04:00 [ERROR] { "thread": "main", "payload": "`at` split index (is 4) should be <= len (is 1)", "location_data": { "file": "/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/vec/mod.rs", "line": 2319 }, "backtrace": [ "core::panicking::panic_fmt", "alloc::vec::VecComplete log including the error: Zed.log