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

The Slint Language Server crashed: Recursion detected #4342

Closed
NNKTV28 opened this issue Jan 15, 2024 · 3 comments
Closed

The Slint Language Server crashed: Recursion detected #4342

NNKTV28 opened this issue Jan 15, 2024 · 3 comments
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO)

Comments

@NNKTV28
Copy link

NNKTV28 commented Jan 15, 2024

Im using VsCode in windows 10

i have a slint file and i just run the command for slint preview

no idea the console output just gives me this
´´´
thread 'main' panicked at internal\core\properties.rs:486:9:
Recursion detected
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[Info - 9:41:30 AM] Connection to server got closed. Server will restart.
true
The Slint Language Server crashed. This is a bug.
Please open an issue on https://github.com/slint-ui/slint/issues
´´´

@hunger hunger added the a:lsp slint-lsp and formating (mO,bT) label Jan 15, 2024
@hunger
Copy link
Member

hunger commented Jan 15, 2024

Thank you for taking the time to report this issue. Unfortunately I will need some more information to act on it.

Is the slint file you work on in an open source project that we could look into?

Which version of Slint are you using?

Could you try starting VSCode with RUST_BACKTRACE=full set in its environment and reproduce the crash? The variable should be passed through to the slint-lsp process and cause it to print a backtrace in addition to the output above.

It would be a huge help if you could go through the trouble to collect some of this information.

@ogoffart
Copy link
Member

Could be the same as #4081 or #3989 or both.
#3989 is fixed in the nightly extension already. Perhaps you can try the nightly extension and tell us if the problem is still there.

@ogoffart ogoffart changed the title The Slint Language Server crashed. This is a bug. The Slint Language Server crashed: Recursion detected Jan 15, 2024
@ogoffart ogoffart added a:live preview The Live preview of slintpad or the LSP (mT,bO) and removed a:lsp slint-lsp and formating (mO,bT) labels Jan 15, 2024
@ogoffart
Copy link
Member

Should be fixed in the nightly extension.
Please re-open if the problem persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO)
Projects
None yet
Development

No branches or pull requests

3 participants