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

Crash on navigation to a dependency symbol when using OmniSharp #12297

Closed
AnInternetTroll opened this issue May 25, 2024 · 0 comments · Fixed by #12615
Closed

Crash on navigation to a dependency symbol when using OmniSharp #12297

AnInternetTroll opened this issue May 25, 2024 · 0 comments · Fixed by #12615
Labels
c# C# programming language support defect [core label] editor Feedback for code editing, formatting, editor iterations, etc language An umbrella label for all programming languages syntax behaviors linux panic / crash [core label] tooling An umbrella label for language tools, linters, formatters, etc

Comments

@AnInternetTroll
Copy link

Description:

Zed crashes when trying to navigate to a dependency's symbol or just
hovering over the symbol while holding down the control key.

Reproduction:

  1. Install omnisharp-roslyn
    • (tested with version 1.39.11 and dotnet 8.0.3)
  2. Clone Celeste64
    • I assume it can be reproduced with other dotnet projects, but
      haven't verified myself
  3. Open Zed . in the repo, open Program.cs and hover over a dependency
    symbol while holding the control key. The program should crash
    quickly with the following error
Caused by:
    expected value at line 1 column 1
[2024-05-25T23:44:09+02:00 ERROR Zed::reliability] {
  "thread": "<unnamed>",
  "payload": "Could not start watcher on parent directory: Error { kind: Io(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }), paths: [\"/$metadata$/Project/Celeste64/Assembly/Foster/Framework/Symbol/Foster/Framework\"] }",
  "location_data": {
    "file": "crates/fs/src/fs.rs",
    "line": 481
  },
  "backtrace": [
    "start_thread",
    "__GI___clone3"
  ],
  "app_version": "1.0.0",
  "release_channel": "Zed",
  "os_name": "Linux",
  "os_version": "1.0.0",
  "architecture": "x86_64",
  "panicked_on": 1716673449101,
  "installation_id": "f292acd4-fde3-47f9-807d-ad2b76400861",
  "session_id": "e5050ab6-a79f-41cf-b94a-b0693f60d40a"
}
Aborted

Zed was built on voidlinux from the pull request to add it to their
official repos

@Moshyfawn Moshyfawn added language An umbrella label for all programming languages syntax behaviors admin read Pending admin review tooling An umbrella label for language tools, linters, formatters, etc c# C# programming language support defect [core label] panic / crash [core label] linux editor Feedback for code editing, formatting, editor iterations, etc labels May 27, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label May 28, 2024
This was referenced May 29, 2024
ConradIrwin added a commit that referenced this issue Jun 4, 2024
fixes #12297
fixes #11345

Release Notes:

- N/A

---------

Co-authored-by: Max <max@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# C# programming language support defect [core label] editor Feedback for code editing, formatting, editor iterations, etc language An umbrella label for all programming languages syntax behaviors linux panic / crash [core label] tooling An umbrella label for language tools, linters, formatters, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants