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 crashes on attempt to add key binding #18355

Closed
1 task done
worm2fed opened this issue Sep 25, 2024 · 2 comments
Closed
1 task done

Zed crashes on attempt to add key binding #18355

worm2fed opened this issue Sep 25, 2024 · 2 comments
Labels
duplicate Additional reports of an existing issue

Comments

@worm2fed
Copy link

worm2fed commented Sep 25, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Open keymaps, try to add " in the list of keymaps.
Here is screen recording: https://drive.google.com/file/d/1VimFSfaO_u-M_M-A-7n4jz426BLz5VFg/view?usp=sharing

Environment

Zed: v0.154.1 (Zed)
OS: macOS 15.0.0
Memory: 64 GiB
Architecture: aarch64

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Zed.log
2024-09-25T20:08:42.367919+01:00 [INFO] ========== starting zed ==========
2024-09-25T20:08:42.368716+01:00 [INFO] Opening main db
2024-09-25T20:08:42.370379+01:00 [INFO] Opening main db
2024-09-25T20:08:42.411654+01:00 [INFO] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git")
2024-09-25T20:08:42.536391+01:00 [INFO] initializing context server client
2024-09-25T20:08:42.536577+01:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-25T20:08:42.536853+01:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-25T20:08:42.537048+01:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-25T20:08:42.537377+01:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-25T20:08:42.537561+01:00 [INFO] No prompt template overrides directory found at /Users/worm2fed/.config/zed/prompt_overrides. Using built-in prompts.
2024-09-25T20:08:42.537807+01:00 [INFO] extensions updated. loading 15, reloading 0, unloading 0
2024-09-25T20:08:42.572562+01:00 [INFO] Opening main db
2024-09-25T20:08:42.572914+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573306+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573403+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573513+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573583+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573658+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573805+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.573887+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.575571+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.575784+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.579568+01:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-25T20:08:42.580938+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.58105+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.604717+01:00 [INFO] Opening main db
2024-09-25T20:08:42.605036+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.607512+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.60882+01:00 [INFO] Opening main db
2024-09-25T20:08:42.622128+01:00 [INFO] set status on client 0: Authenticating
2024-09-25T20:08:42.62231+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.624525+01:00 [INFO] set status on client 242426: Connecting
2024-09-25T20:08:42.625599+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.648004+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.676412+01:00 [INFO] attempting to start language server "rust-analyzer", path: "/Users/worm2fed/workspace/learning/microbit-tutorial", id: 1
2024-09-25T20:08:42.67654+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:42.67681+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:42.677007+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:42.683791+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:42.684626+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.687217+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:42.898932+01:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-25T20:08:42.969919+01:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-25T20:08:43.133925+01:00 [INFO] set environment variables from shell:/bin/zsh, path:/Users/worm2fed/.cargo/bin:/opt/homebrew/opt/llvm/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Library/Java/JavaVirtualMachines/graalvm-21.0.2/Contents/Home/bin:/Users/worm2fed/workspace/flutter/bin:/Users/worm2fed/workspace/scripts:/Users/worm2fed/go/bin:/Users/worm2fed/.local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/usr/local/go/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Applications/Postgres.app/Contents/Versions/latest/lib:/Users/worm2fed/.cabal/bin:/Users/worm2fed/.ghcup/bin
2024-09-25T20:08:43.352334+01:00 [INFO] found rust-analyzer in PATH. trying to run `rust-analyzer --help`
2024-09-25T20:08:43.477419+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:43.477492+01:00 [INFO] attempting to start language server "cargo-tom", path: "/Users/worm2fed/workspace/learning/microbit-tutorial", id: 2
2024-09-25T20:08:43.477549+01:00 [INFO] attempting to start language server "typos", path: "/Users/worm2fed/workspace/learning/microbit-tutorial", id: 3
2024-09-25T20:08:43.478315+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:43.478404+01:00 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-09-25T20:08:43.665511+01:00 [INFO] add connection to peer
2024-09-25T20:08:43.665576+01:00 [INFO] add_connection;
2024-09-25T20:08:43.66562+01:00 [INFO] waiting for server hello
2024-09-25T20:08:43.687535+01:00 [INFO] got server hello
2024-09-25T20:08:43.687603+01:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 544, id: 1021166 })
2024-09-25T20:08:43.687673+01:00 [INFO] set status on client 242426: Connected { peer_id: PeerId { owner_id: 544, id: 1021166 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-25T20:08:43.848366+01:00 [ERROR] failed to run rust-analyzer after detecting it in PATH: binary: "/Users/worm2fed/.cargo/bin/rust-analyzer": exit status: 1, stdout: "", stderr: "error: Unknown binary 'rust-analyzer' in official toolchain 'stable-aarch64-apple-darwin'.\n"
2024-09-25T20:08:43.848469+01:00 [INFO] fetching latest version of language server "rust-analyzer"
2024-09-25T20:08:43.916665+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:43.921121+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:43.932012+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:43.933183+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:43.947625+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:43.948896+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:44.081582+01:00 [INFO] starting language server process. binary path: "/Users/worm2fed/Library/Application Support/Zed/extensions/work/cargo-tom/cargotom-0.13.0/cargotom", working directory: "/Users/worm2fed/workspace/learning/microbit-tutorial", args: ["--storage", "/Users/worm2fed/Library/Application Support/Zed/extensions/work/cargo-tom"]
2024-09-25T20:08:44.137603+01:00 [ERROR] failed to fetch cached embeddings via cloud model

Caused by:
RPC request GetCachedEmbeddings failed: permission denied
2024-09-25T20:08:44.262717+01:00 [INFO] starting language server process. binary path: "/Users/worm2fed/Library/Application Support/Zed/extensions/work/typos/typos-lsp-v0.1.26/typos-lsp", working directory: "/Users/worm2fed/workspace/learning/microbit-tutorial", args: []
2024-09-25T20:08:44.312491+01:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Initializing", status: Complete, percent_complete: None })
2024-09-25T20:08:44.312585+01:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: None })
2024-09-25T20:08:44.679576+01:00 [INFO] open paths ["/Users/worm2fed/.config/zed/keymap.json"]
2024-09-25T20:08:44.693813+01:00 [INFO] attempting to start language server "json-language-server", path: "/Users/worm2fed/.config/zed/keymap.json", id: 4
2024-09-25T20:08:44.693902+01:00 [INFO] attempting to start language server "typos", path: "/Users/worm2fed/.config/zed/keymap.json", id: 5
2024-09-25T20:08:44.693967+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:44.69416+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:44.694215+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:08:44.700616+01:00 [INFO] fetching latest version of language server "json-language-server"
2024-09-25T20:08:44.700688+01:00 [INFO] Node runtime install_if_needed
2024-09-25T20:08:44.773219+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:08:44.776848+01:00 [INFO] starting language server process. binary path: "/Users/worm2fed/Library/Application Support/Zed/extensions/work/typos/typos-lsp-v0.1.26/typos-lsp", working directory: "/Users/worm2fed/.config/zed", args: []
2024-09-25T20:08:44.778534+01:00 [INFO] downloading language server "rust-analyzer"
2024-09-25T20:08:44.778639+01:00 [INFO] using project environment for language server "rust-analyzer", id: 1
2024-09-25T20:08:44.778699+01:00 [INFO] starting language server process. binary path: "/Users/worm2fed/Library/Application Support/Zed/languages/rust-analyzer/rust-analyzer-2024-09-16", working directory: "/Users/worm2fed/workspace/learning/microbit-tutorial", args: []
2024-09-25T20:08:44.821406+01:00 [INFO] Node runtime install_if_needed
2024-09-25T20:08:45.398422+01:00 [INFO] downloading language server "json-language-server"
2024-09-25T20:08:45.398719+01:00 [INFO] Node runtime install_if_needed
2024-09-25T20:08:45.505365+01:00 [INFO] using project environment for language server "json-language-server", id: 4
2024-09-25T20:08:45.505452+01:00 [INFO] starting language server process. binary path: "/Users/worm2fed/Library/Application Support/Zed/node/node-v22.5.1-darwin-arm64/bin/node", working directory: "/Users/worm2fed/.config/zed", args: ["/Users/worm2fed/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2024-09-25T20:08:45.591424+01:00 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Initializing", status: Complete, percent_complete: None })
2024-09-25T20:08:45.591527+01:00 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: None })
2024-09-25T20:08:46.121475+01:00 [INFO] Summarizing updated entries took 5.208µs
2024-09-25T20:08:46.123262+01:00 [INFO] Summarizing updated entries took 4µs
2024-09-25T20:08:46.129606+01:00 [INFO] Summarizing updated entries took 4.208µs
2024-09-25T20:08:46.137858+01:00 [INFO] Summarizing updated entries took 3.583µs
2024-09-25T20:08:46.140684+01:00 [INFO] Summarizing updated entries took 2.917µs
2024-09-25T20:08:46.146087+01:00 [INFO] Summarizing updated entries took 3.125µs
2024-09-25T20:08:46.379599+01:00 [INFO] Summarizing updated entries took 4.417µs
2024-09-25T20:08:46.537582+01:00 [ERROR] failed to fetch cached embeddings via cloud model

Caused by:
RPC request GetCachedEmbeddings failed: permission denied
2024-09-25T20:08:46.537782+01:00 [INFO] Summarizing updated entries took 3.291µs
2024-09-25T20:08:46.690062+01:00 [ERROR] failed to fetch cached embeddings via cloud model

Caused by:
RPC request GetCachedEmbeddings failed: permission denied
2024-09-25T20:08:46.690266+01:00 [INFO] Summarizing updated entries took 3.458µs
2024-09-25T20:08:46.763174+01:00 [ERROR] {
"thread": "main",
"payload": "byte index 12 is not a char boundary; it is inside '§' (bytes 11..13) of ctrl-shift-§\": \"file_finder::ToggleReplace\",",
"location_data": {
"file": "crates/supermaven/src/supermaven_completion_provider.rs",
"line": 78
},
"backtrace": [
"backtrace::capture::Backtrace::create",
"backtrace::capture::Backtrace::new",
"zed::reliability::init_panic_hook::{closure#0}",
"std::panicking::rust_panic_with_hook",
"std::panicking::begin_panic_handler::{{closure}}",
"std::sys::backtrace::__rust_end_short_backtrace",
"rust_begin_unwind",
"core::panicking::panic_fmt",
"core::str::slice_error_fail_rt",
"core::str::slice_error_fail",
"<supermaven::supermaven_completion_provider::SupermavenCompletionProvider as editor::inline_completion_provider::InlineCompletionProvider>::active_completion_text",
"editor::Editor::update_visible_inline_completion",
"editor::Editor::show_completions::{closure#1}::{closure#0}",
"<util::LogErrorFuture<editor::Editor::show_completions::{closure#1}::{closure#0}> as core::future::future::Future>::poll",
"<async_task::raw::RawTask<<async_task::runnable::Builder<
>>::spawn_local::Checked<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::option::Option<()>>>>>, core::option::Option<()>, gpui::executor::ForegroundExecutor::spawn::inner<core::option::Option<()>>::{closure#0}, ()>>::run",
"gpui::platform::mac::dispatcher::trampoline",
"<gpui::platform::mac::platform::MacPlatform as gpui::platform::Platform>::run",
"gpui::app::App::run::zed::main::{closure#5}",
"zed::main",
"std::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>",
"std::rt::lang_start::<()>::{closure#0}",
"std::rt::lang_start_internal",
"_main"
],
"app_version": "0.154.1",
"release_channel": "Zed",
"os_name": "macOS",
"os_version": "15.0.0",
"architecture": "aarch64",
"panicked_on": 1727291326763,
"system_id": "aa641a4e-6ca6-49db-93f3-f22fe0cdc24c",
"installation_id": "6b928280-3230-4a49-a4a8-bf1c34e022ac",
"session_id": "0d40663c-210d-4157-998e-7e1a9ff9b227"
}
2024-09-25T20:09:16.122371+01:00 [INFO] ========== starting zed ==========
2024-09-25T20:09:16.123279+01:00 [INFO] Opening main db
2024-09-25T20:09:16.124453+01:00 [INFO] Opening main db
2024-09-25T20:09:16.167887+01:00 [INFO] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git")
2024-09-25T20:09:16.280622+01:00 [INFO] initializing context server client
2024-09-25T20:09:16.28076+01:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-25T20:09:16.281057+01:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-25T20:09:16.281265+01:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-25T20:09:16.281606+01:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-25T20:09:16.281807+01:00 [INFO] No prompt template overrides directory found at /Users/worm2fed/.config/zed/prompt_overrides. Using built-in prompts.
2024-09-25T20:09:16.282089+01:00 [INFO] extensions updated. loading 15, reloading 0, unloading 0
2024-09-25T20:09:16.316547+01:00 [INFO] Opening main db
2024-09-25T20:09:16.316905+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.317004+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.31712+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.317487+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.317819+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.317966+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.318064+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.318239+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.31927+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.319555+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.319647+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.321039+01:00 [INFO] building git repository, .git path in the worktree: ".git"
2024-09-25T20:09:16.32336+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.351053+01:00 [INFO] Opening main db
2024-09-25T20:09:16.351197+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.352488+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.353475+01:00 [INFO] Opening main db
2024-09-25T20:09:16.373434+01:00 [INFO] set status on client 0: Authenticating
2024-09-25T20:09:16.37497+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.375066+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.37513+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.376401+01:00 [INFO] set status on client 242426: Connecting
2024-09-25T20:09:16.377284+01:00 [ERROR] No worktree for path: "/Users/worm2fed/.config/zed/keymap.json"
2024-09-25T20:09:16.401583+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.429058+01:00 [INFO] attempting to start language server "rust-analyzer", path: "/Users/worm2fed/workspace/learning/microbit-tutorial", id: 1
2024-09-25T20:09:16.429163+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:09:16.42941+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:09:16.429592+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:09:16.432626+01:00 [INFO] Initializing default prettier with plugins {}
2024-09-25T20:09:16.438799+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.438904+01:00 [WARN] request completed with error: failed to connect to the server
2024-09-25T20:09:16.634124+01:00 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-09-25T20:09:16.737551+01:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-25T20:09:16.913238+01:00 [INFO] set environment variables from shell:/bin/zsh, path:/Users/worm2fed/.cargo/bin:/opt/homebrew/opt/llvm/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Library/Java/JavaVirtualMachines/graalvm-21.0.2/Contents/Home/bin:/Users/worm2fed/workspace/flutter/bin:/Users/worm2fed/workspace/scripts:/Users/worm2fed/go/bin:/Users/worm2fed/.local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/usr/local/go/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Applications/Postgres.app/Contents/Versions/latest/lib:/Users/worm2fed/.cabal/bin:/Users/worm2fed/.ghcup/bin
2024-09-25T20:09:17.027669+01:00 [ERROR] {
"thread": "",
"payload": "request header value is not valid UTF-8!: ToStrError { _priv: () }",
"location_data": {
"file": "/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/parsing.rs",
"line": 62
},
"backtrace": [
"backtrace::capture::Backtrace::create",
"backtrace::capture::Backtrace::new",
"zed::reliability::init_panic_hook::{closure#0}",
"std::panicking::rust_panic_with_hook",
"std::panicking::begin_panic_handler::{{closure}}",
"std::sys::backtrace::__rust_end_short_backtrace",
"_rust_begin_unwind",
"core::panicking::panic_fmt",
"core::result::unwrap_failed",
"isahc::client::HttpClient::create_easy_handle",
"<&isahc::client::HttpClient as isahc::interceptor::context::Invoke>::invoke::{closure#0}",
"isahc::interceptor::context::Context::send::{closure#0}",
"<isahc::default_headers::DefaultHeadersInterceptor as isahc::interceptor::Interceptor>::intercept::{closure#0}",
"<isahc::default_headers::DefaultHeadersInterceptor as isahc::interceptor::obj::DynInterceptor>::dyn_intercept::{closure#0}",
"isahc::interceptor::context::Context::send::{closure#0}",
"<isahc::redirect::RedirectInterceptor as isahc::interceptor::Interceptor>::intercept::{closure#0}",
"<isahc::redirect::RedirectInterceptor as isahc::interceptor::obj::DynInterceptor>::dyn_intercept::{closure#0}",
"<tracing_futures::Instrumented<isahc::client::HttpClient::send_async_inner::{closure#0}> as core::future::future::Future>::poll",
"<isahc_http_client::IsahcHttpClient as http_client::HttpClient>::send_with_redirect_policy::{closure#0}",
"zed::reliability::upload_panics_and_crashes::{closure#0}",
"<async_task::raw::RawTask<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::option::Option<()>> + core::marker::Send>>, core::option::Option<()>, gpui::executor::BackgroundExecutor::spawn_internal<core::option::Option<()>>::{closure#0}, ()>>::run",
"gpui::platform::mac::dispatcher::trampoline",
"_pthread_mach_thread_np"
],
"app_version": "0.154.1",
"release_channel": "Zed",
"os_name": "macOS",
"os_version": "15.0.0",
"architecture": "aarch64",
"panicked_on": 1727291357027,
"system_id": "aa641a4e-6ca6-49db-93f3-f22fe0cdc24c",
"installation_id": "6b928280-3230-4a49-a4a8-bf1c34e022ac",
"session_id": "a19a0ef0-f425-4dd7-9936-324036956bd3"
}

Also OS X log:

zed-2024-09-25-200917.ips.zip

Abort trap: 6 (rust panic) on thread 19058101 ( com.apple.root.user-initiated-qos)
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/slice/index.rs:36:	core::slice::index::slice_start_index_len_fail::heeb7c73b0ee7f95b
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1059:	<core::result::Result<&str, http::header::value::ToStrError>>::expect
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/parsing.rs:60:	isahc::parsing::header_to_curl_string
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/client.rs:1151:	<isahc::client::HttpClient>::create_easy_handle
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:852:	<core::result::Result<(curl::easy::handler::Easy2<isahc::handler::RequestHandler>, <isahc::handler::RequestHandler>::new::{closure#0}), curl::error::Error>>::map_err::<isahc::error::Error, <isahc::error::Error>::from_any<curl::error::Error>>
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/client.rs:1188:	<&isahc::client::HttpClient as isahc::interceptor::context::Invoke>::invoke::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/interceptor/context.rs:24:	<isahc::interceptor::context::Context>::send::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/default_headers.rs:42:	<isahc::default_headers::DefaultHeadersInterceptor as isahc::interceptor::Interceptor>::intercept::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/interceptor/obj.rs:42:	<isahc::default_headers::DefaultHeadersInterceptor as isahc::interceptor::obj::DynInterceptor>::dyn_intercept::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/interceptor/context.rs:22:	<isahc::interceptor::context::Context>::send::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/redirect.rs:48:	<isahc::redirect::RedirectInterceptor as isahc::interceptor::Interceptor>::intercept::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/interceptor/obj.rs:42:	<isahc::redirect::RedirectInterceptor as isahc::interceptor::obj::DynInterceptor>::dyn_intercept::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/interceptor/context.rs:22:	<isahc::interceptor::context::Context>::send::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/isahc-1.7.2/src/client.rs:1036:	<isahc::client::HttpClient>::send_async_inner::{closure#0}
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-futures-0.2.5/src/lib.rs:283:	<tracing_futures::Instrumented<<isahc::client::HttpClient>::send_async_inner::{closure#0}> as core::future::future::Future>::poll
crates/isahc_http_client/src/isahc_http_client.rs:82:	<isahc_http_client::IsahcHttpClient as http_client::HttpClient>::send_with_redirect_policy::{closure#0}
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/task/poll.rs:51:	<core::task::poll::Poll<core::option::Option<()>>>::map::<core::result::Result<core::option::Option<()>, alloc::boxed::Box<dyn core::any::Any + core::marker::Send>>, core::result::Result<core::option::Option<()>, alloc::boxed::Box<dyn core::any::Any + core::marker::Send>>::Ok>
/Users/administrator/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.1/src/raw.rs:557:	<async_task::raw::RawTask<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::option::Option<()>> + core::marker::Send>>, core::option::Option<()>, <gpui::executor::BackgroundExecutor>::spawn_internal<core::option::Option<()>>::{closure#0}, ()>>::run
crates/gpui/src/platform/mac/dispatcher.rs:107:	gpui::platform::mac::dispatcher::trampoline
libdispatch.dylib	_dispatch_client_callout
libdispatch.dylib	_dispatch_root_queue_drain
libdispatch.dylib	_dispatch_worker_thread2
libsystem_pthread.dylib	_pthread_wqthread
libsystem_pthread.dylib	start_wqthread
@worm2fed worm2fed added admin read Pending admin review defect [core label] panic / crash [core label] triage Maintainer needs to classify the issue labels Sep 25, 2024
@notpeter
Copy link
Member

I believe this is caused by Supervmaven completions, likely this issue:

I am cutting a hotfix release for Zed Stable (v0.154.2) which includes this fix.

@worm2fed
Copy link
Author

@notpeter Thank you! Upgrading solved the problem

@notpeter notpeter added duplicate Additional reports of an existing issue and removed defect [core label] triage Maintainer needs to classify the issue panic / crash [core label] admin read Pending admin review labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Additional reports of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants