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

Zed quitting after opening a new project and closing old window // Linux #22432

Open
1 task done
cottonable opened this issue Dec 26, 2024 · 0 comments
Open
1 task done
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@cottonable
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Zed quits after opening a new project (Ctrl + O), which opens a new window, and closing a window with the old project

How to reproduce:

  1. Ctrl + O
  2. Choose any folder you want
  3. Close old window

Zed Version and System Specs

Zed: v0.166.1 (Zed) OS: Linux Wayland endeavouros unknown Memory: 15.5 GiB Architecture: x86_64 GPU: NVIDIA GeForce GTX 1050 || NVIDIA || 565.57.01

If applicable, add screenshots or screencasts of the incorrect state / behavior

2024-12-26.19-09-58.mp4

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-12-26T19:17:50.912512419+01:00 [ERROR] buffer has no file
2024-12-26T19:18:06.974662744+01:00 [INFO] new;
2024-12-26T19:18:06.975175026+01:00 [INFO] keep_updated;
2024-12-26T19:18:06.975206288+01:00 [INFO] new;
2024-12-26T19:18:14.719213459+01:00 [INFO] new;
2024-12-26T19:18:14.719737417+01:00 [INFO] keep_updated;
2024-12-26T19:18:14.719766321+01:00 [INFO] new;
2024-12-26T19:18:24.10293487+01:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-12-26T19:18:24.103354346+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:24.114337012+01:00 [INFO] Enabling Vulkan Portability
2024-12-26T19:18:24.114377453+01:00 [INFO] Enabling color space support
2024-12-26T19:18:24.12207762+01:00 [INFO] Adapter: "NVIDIA GeForce GTX 1050"
2024-12-26T19:18:24.122129097+01:00 [INFO] No ray tracing extensions are supported
2024-12-26T19:18:24.146831714+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:24.146862776+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:24.147934571+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:24.147951278+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:24.147963771+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-12-26T19:18:24.154728578+01:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "NVIDIA GeForce GTX 1050", driver_name: "NVIDIA", driver_info: "565.57.01" }
2024-12-26T19:18:24.157765377+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:24.157790214+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:24.159314312+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-12-26T19:18:24.166436347+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:24.166490781+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:24.168462317+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-12-26T19:18:24.179362635+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:24.179420725+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:24.256006116+01:00 [ERROR] No path or contents found for buffer
2024-12-26T19:18:24.340707455+01:00 [ERROR] ignoring event "/home/cotton/.zcompdump-field-5.9.lock" outside of root path "/home/cotton/rustlings"
2024-12-26T19:18:24.340770278+01:00 [ERROR] ignoring event "/home/cotton/.zsh_history.LOCK" outside of root path "/home/cotton/rustlings"
2024-12-26T19:18:24.34125399+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:24.356579766+01:00 [INFO] attempting to start language server "rust-analyzer", path: "/home/cotton/rustlings", id: 1
2024-12-26T19:18:24.358860869+01:00 [INFO] using project environment variables shell launched in "/home/cotton/rustlings". PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/home/cotton/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/usr/lib/rustup/bin"
2024-12-26T19:18:24.358975206+01:00 [INFO] found rust-analyzer in PATH. trying to run `rust-analyzer --help`
2024-12-26T19:18:25.021921572+01:00 [ERROR] failed to run rust-analyzer after detecting it in PATH: binary: "/usr/lib/rustup/bin/rust-analyzer": exit status: 1, stdout: "", stderr: "error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.\n"
2024-12-26T19:18:25.021969751+01:00 [INFO] fetching latest version of language server "rust-analyzer"
2024-12-26T19:18:25.397178778+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:26.311146682+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:26.311181669+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:26.642665128+01:00 [INFO] downloading language server "rust-analyzer"
2024-12-26T19:18:26.64296998+01:00 [INFO] starting language server process. binary path: "/home/cotton/.var/app/dev.zed.Zed/data/zed/languages/rust-analyzer/rust-analyzer-2024-12-23", working directory: "/home/cotton/rustlings", args: []
2024-12-26T19:18:30.352030129+01:00 [INFO] ========== starting zed ==========
2024-12-26T19:18:30.398593805+01:00 [INFO] perform;
2024-12-26T19:18:30.398638911+01:00 [INFO] authenticate;
2024-12-26T19:18:30.398689679+01:00 [INFO] read_command;
2024-12-26T19:18:30.398736184+01:00 [INFO] send_secondary_commands;
2024-12-26T19:18:30.398767681+01:00 [INFO] Opening main db
2024-12-26T19:18:30.399112125+01:00 [INFO] new;
2024-12-26T19:18:30.399144319+01:00 [INFO] socket reader;
2024-12-26T19:18:30.39953088+01:00 [INFO] Opening main db
2024-12-26T19:18:30.399622722+01:00 [INFO] keep_updated;
2024-12-26T19:18:30.40142621+01:00 [INFO] Using git binary path: None
2024-12-26T19:18:30.464068398+01:00 [INFO] No prompt template overrides directory found at /home/cotton/.var/app/dev.zed.Zed/data/zed/prompt_overrides. Using built-in prompts.
2024-12-26T19:18:30.464581526+01:00 [INFO] extensions updated. loading 5, reloading 0, unloading 0
2024-12-26T19:18:30.466739341+01:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-12-26T19:18:30.468318708+01:00 [INFO] Opening main db
2024-12-26T19:18:30.470037004+01:00 [INFO] perform;
2024-12-26T19:18:30.470070812+01:00 [INFO] authenticate;
2024-12-26T19:18:30.470110566+01:00 [INFO] read_command;
2024-12-26T19:18:30.472393114+01:00 [WARN] Theme "Aura Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-12-26T19:18:30.473131845+01:00 [INFO] socket reader;
2024-12-26T19:18:30.477504913+01:00 [WARN] Theme "Aura Soft Dark (Soft Text)" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-12-26T19:18:30.478553562+01:00 [INFO] new;
2024-12-26T19:18:30.479712433+01:00 [INFO] keep_updated;
2024-12-26T19:18:30.482725008+01:00 [WARN] Theme "Aura Soft Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-12-26T19:18:30.487255196+01:00 [WARN] Theme "Aura Dark (Soft Text)" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-12-26T19:18:30.489382778+01:00 [INFO] set environment variables from shell:/usr/bin/zsh, path:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/cotton/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/usr/lib/rustup/bin
2024-12-26T19:18:30.500295317+01:00 [INFO] set status on client 0: Authenticating
2024-12-26T19:18:30.500561547+01:00 [INFO] perform;
2024-12-26T19:18:30.500637794+01:00 [INFO] authenticate;
2024-12-26T19:18:30.500728191+01:00 [INFO] read_command;
2024-12-26T19:18:30.501260858+01:00 [INFO] socket reader;
2024-12-26T19:18:30.505371743+01:00 [INFO] new;
2024-12-26T19:18:30.505935717+01:00 [INFO] keep_updated;
2024-12-26T19:18:30.510118582+01:00 [INFO] set status on client 253979: Connecting
2024-12-26T19:18:30.511519526+01:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-12-26T19:18:30.511945216+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:30.547576129+01:00 [INFO] Enabling Vulkan Portability
2024-12-26T19:18:30.547597015+01:00 [INFO] Enabling color space support
2024-12-26T19:18:30.553628732+01:00 [INFO] Adapter: "NVIDIA GeForce GTX 1050"
2024-12-26T19:18:30.553693279+01:00 [INFO] No ray tracing extensions are supported
2024-12-26T19:18:30.574662915+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:30.574702155+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:30.576616025+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:30.576649934+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:30.576668446+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-12-26T19:18:30.588785409+01:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "NVIDIA GeForce GTX 1050", driver_name: "NVIDIA", driver_info: "565.57.01" }
2024-12-26T19:18:30.590092149+01:00 [INFO] Opening main db
2024-12-26T19:18:30.596530534+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:30.596566884+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:30.598275854+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-12-26T19:18:30.606379237+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:30.606411707+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:30.609086844+01:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-12-26T19:18:30.628642468+01:00 [INFO] Opening main db
2024-12-26T19:18:30.635699029+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:30.635730649+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:30.639552111+01:00 [ERROR] missing field `name` at line 26 column 1
2024-12-26T19:18:30.793078323+01:00 [ERROR] ignoring event "/home/cotton/.zcompdump-field-5.9.lock" outside of root path "/home/cotton/rustlings"
2024-12-26T19:18:30.793215344+01:00 [ERROR] ignoring event "/home/cotton/.zsh_history.LOCK" outside of root path "/home/cotton/rustlings"
2024-12-26T19:18:30.793440248+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:30.800836611+01:00 [INFO] using project environment variables from CLI. PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/home/cotton/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin"
2024-12-26T19:18:30.867825442+01:00 [INFO] attempting to start language server "rust-analyzer", path: "/home/cotton/rustlings", id: 1
2024-12-26T19:18:30.872637232+01:00 [INFO] fetching latest version of language server "rust-analyzer"
2024-12-26T19:18:30.949021462+01:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-12-26T19:18:30.958505765+01:00 [INFO] starting language server process. binary path: "/usr/bin/node", working directory: "/", args: ["/home/cotton/.var/app/dev.zed.Zed/data/zed/copilot/copilot-v0.7.0/dist/language-server.js", "--stdio"]
2024-12-26T19:18:31.52666645+01:00 [INFO] add_connection;
2024-12-26T19:18:31.543975647+01:00 [INFO] set status on client 253979: Connected { peer_id: PeerId { owner_id: 629, id: 6708783 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-12-26T19:18:31.627722119+01:00 [INFO] downloading language server "rust-analyzer"
2024-12-26T19:18:31.627940567+01:00 [INFO] starting language server process. binary path: "/home/cotton/.var/app/dev.zed.Zed/data/zed/languages/rust-analyzer/rust-analyzer-2024-12-23", working directory: "/home/cotton/rustlings", args: []
2024-12-26T19:18:31.869231785+01:00 [ERROR] Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
2024-12-26T19:18:31.93308209+01:00 [INFO] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[lsp] GitHub Copilot Language Server 1.236.0 initialized"
}
2024-12-26T19:18:31.933277246+01:00 [INFO] Language server with id 0 sent unhandled notification workspace/configuration:
{
  "items": [
    {
      "section": "github.copilot"
    },
    {
      "section": "github-enterprise"
    },
    {
      "section": "http"
    },
    {
      "section": "telemetry"
    }
  ]
}
2024-12-26T19:18:33.215189779+01:00 [INFO] Using surface present mode MAILBOX
2024-12-26T19:18:33.215217332+01:00 [WARN] Unable to forbid exclusive full screen
2024-12-26T19:18:33.633231164+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:33.659799196+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs"
2024-12-26T19:18:33.660052696+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:33.668215876+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs"
2024-12-26T19:18:33.776304671+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/macros.rs"
2024-12-26T19:18:33.959025445+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:33.960230985+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs"
2024-12-26T19:18:33.961727274+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:33.997911456+01:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-12-26T19:18:34.04388202+01:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-12-26T19:18:34.051950174+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/macros.rs"
2024-12-26T19:18:34.086076864+01:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-12-26T19:18:34.265014589+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/macros.rs"
2024-12-26T19:18:34.265148214+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.380121162+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.405943874+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.783736302+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs"
2024-12-26T19:18:34.936366917+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/macros.rs"
2024-12-26T19:18:34.937619774+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.93833672+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.938515283+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"
2024-12-26T19:18:34.941146862+01:00 [WARN] skipping diagnostics update, no worktree found for path "/home/cotton/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/macros/mod.rs"

@cottonable cottonable added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant