slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.55k stars 601 forks source link

The Slint Language Server crashed: `Recursion detected` #4342

Closed NNKTV28 closed 9 months ago

NNKTV28 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

Could be the same as https://github.com/slint-ui/slint/issues/4081 or https://github.com/slint-ui/slint/issues/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 commented 9 months ago

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