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

Merlin jump crashes #1862

Open
voodoos opened this issue Oct 31, 2024 · 0 comments · May be fixed by #1863
Open

Merlin jump crashes #1862

voodoos opened this issue Oct 31, 2024 · 0 comments · May be fixed by #1863

Comments

@voodoos
Copy link
Collaborator

voodoos commented Oct 31, 2024

Here is a backtrace from the lsp server:

[Trace - 14:47:44] Received response 'textDocument/codeAction - (50)' in 33ms. Request failed: uncaught exception (-32603).
Error data: {
    "exn": "File \"src/analysis/jump.ml\", line 64, characters 6-12: Assertion failed",
    "backtrace": "Raised at Merlin_analysis__Jump.fun_pred.normalize_fun in file \"src/analysis/jump.ml\", line 64, characters 6-36
Called from Merlin_analysis__Jump.fun_pred in file \"src/analysis/jump.ml\", line 76, characters 44-63
Called from Merlin_analysis__Jump.find_map in file \"src/analysis/jump.ml\", line 98, characters 10-16
Called from Merlin_analysis__Jump.find_node in file \"src/analysis/jump.ml\", line 112, characters 10-52
Called from Merlin_analysis__Jump.get in file \"src/analysis/jump.ml\", line 181, characters 17-38
Called from Merlin_utils__Std.let_ref in file \"src/utils/std.ml\", line 727, characters 8-12
Re-raised at Merlin_utils__Std.let_ref in file \"src/utils/std.ml\", line 733, characters 4-13
Called from Merlin_utils__Misc.try_finally in file \"src/utils/misc.ml\", line 45, characters 8-15
Re-raised at Merlin_utils__Misc.try_finally in file \"src/utils/misc.ml\", line 62, characters 10-24
Called from Stdlib__Fun.protect in file \"fun.ml\", line 34, characters 8-15
Re-raised at Stdlib__Fun.protect in file \"fun.ml\", line 39, characters 6-52
Called from Merlin_kernel__Mocaml.with_state in file \"src/kernel/mocaml.ml\", line 18, characters 8-38
Re-raised at Merlin_kernel__Mocaml.with_state in file \"src/kernel/mocaml.ml\", line 24, characters 4-15
Called from Ocaml_lsp_server__Document.Single_pipeline.use_with_config.(fun) in file \"ocaml-lsp-server/src/document.ml\", line 161, characters 20-75
Called from Stdune__Exn_with_backtrace.try_with in file \"otherlibs/stdune/src/exn_with_backtrace.ml\", line 9, characters 8-12
Re-raised at Stdune__Exn.raise_with_backtrace in file \"otherlibs/stdune/src/exn.ml\" (inlined), line 38, characters 27-56
Called from Stdune__Exn_with_backtrace.reraise in file \"otherlibs/stdune/src/exn_with_backtrace.ml\", line 20, characters 33-71
Called from Fiber__Core.O.(>>|).(fun) in file \"fiber/src/core.ml\", line 250, characters 36-41
Called from Fiber__Scheduler.exec in file \"fiber/src/scheduler.ml\", line 73, characters 8-11
Re-raised at Stdune__Exn.raise_with_backtrace in file \"otherlibs/stdune/src/exn.ml\" (inlined), line 38, characters 27-56
Called from Stdune__Exn_with_backtrace.reraise in file \"otherlibs/stdune/src/exn_with_backtrace.ml\", line 20, characters 33-71
Called from Fiber__Scheduler.exec in file \"fiber/src/scheduler.ml\", line 73, characters 8-11
"
}
``
voodoos added a commit to voodoos/merlin that referenced this issue Oct 31, 2024
voodoos added a commit to voodoos/merlin that referenced this issue Oct 31, 2024
voodoos added a commit to voodoos/merlin that referenced this issue Oct 31, 2024
voodoos added a commit to voodoos/merlin that referenced this issue Oct 31, 2024
@voodoos voodoos linked a pull request Oct 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant