Zulip Chat Archive
Stream: lean4
Topic: VS Code Extension LSP stack overflow
Matthew Ballard (Jun 16 2021 at 15:28):
I am getting
Stack overflow detected. Aborting.
[Error - 11:22:34 AM] Request textDocument/completion failed.
Message: Server process for file:///home/matt/foo/Foo.lean crashed, likely due to a stack overflow in user code.
Code: -32603
[Error - 11:22:34 AM] Request textDocument/semanticTokens/full failed.
Message: Server process for file:///home/matt/foo/Foo.lean crashed, likely due to a stack overflow in user code.
Code: -32603
[Error - 11:22:34 AM] Request textDocument/documentSymbol failed.
Message: Server process for file:///home/matt/foo/Foo.lean crashed, likely due to a stack overflow in user code.
Code: -32603
when the extension attempts auto-complete at F in
inductive Foo where
| bar : F
Can someone replicate this?
Mac (Jun 16 2021 at 15:38):
Yep. Auto-completing at F causes the server hang and then after ~1min it crashes with the stack overflow. (I tested it on the 06-14 nightly.)
Mac (Jun 16 2021 at 15:38):
I would suggest submit this as an issue to the GitHub: https://github.com/leanprover/lean4/issues
Matthew Ballard (Jun 16 2021 at 15:40):
Thanks. That is the next step - just wanted to make sure nothing idiosyncratic was happening with my machines.
Last updated: Dec 20 2023 at 11:08 UTC