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

symbol lookup error, likely due to a stack overflow or a bug. #41

Open
tribbloid opened this issue Aug 12, 2024 · 3 comments
Open

symbol lookup error, likely due to a stack overflow or a bug. #41

tribbloid opened this issue Aug 12, 2024 · 3 comments

Comments

@tribbloid
Copy link

Here is the error information when running code inspection in VSCode (with everything else installed automatically by elan):

/home/peng/git-release/__MATH/SciLean> lean --version
Lean (version 4.11.0-rc1, x86_64-unknown-linux-gnu, commit daa22187642d, Release)
/home/peng/git-release/__MATH/SciLean> lake --version
Lake version 5.0.0-daa2218 (Lean version 4.11.0-rc1)
/home/peng/.elan/toolchains/leanprover--lean4---v4.11.0-rc1/bin/lean: symbol lookup error: ././.lake/packages/batteries/.lake/build/lib/libBatteries-CodeAction-Deprecated-1.so: undefined symbol: l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1
[Error - 20:53:35] Request textDocument/documentSymbol failed.
  Message: Server process for file:///home/peng/git-release/__MATH/SciLean/examples/HarmonicOscillator.lean crashed, likely due to a stack overflow or a bug.
  Code: -32902 
[Error - 20:53:35] Request textDocument/codeAction failed.
  Message: Server process for file:///home/peng/git-release/__MATH/SciLean/examples/HarmonicOscillator.lean crashed, likely due to a stack overflow or a bug.
  Code: -32902 
[Error - 20:53:35] Request textDocument/documentSymbol failed.
  Message: Server process for file:///home/peng/git-release/__MATH/SciLean/examples/HarmonicOscillator.lean crashed, likely due to a stack overflow or a bug.
  Code: -32902 

Should we upgrade the recommended lean toolchain version to avoid it?

@lecopivo
Copy link
Owner

Sorry I was doing some major changes to the library and lots of things are broken right now. I will fix it tomorrow and make sure that the example works.

@lecopivo
Copy link
Owner

I have never seen the above error and have no idea how to fix it.

@lecopivo
Copy link
Owner

lecopivo commented Aug 12, 2024

For now you can use this commit which had successful CI run

af67d94

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

No branches or pull requests

2 participants