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

Stylua error: thread '<unknown>' has overflowed its stack #887

Closed
ThoughtSpinnr opened this issue Aug 22, 2024 · 5 comments
Closed

Stylua error: thread '<unknown>' has overflowed its stack #887

ThoughtSpinnr opened this issue Aug 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@ThoughtSpinnr
Copy link

I have a file in my project that consistently causes Stylua to throw an error with the following message:

thread '<unknown>' has overflowed its stack

This is a massive issue because I cannot run stylua in --check mode to verify that my files are all formatted. It's possible this is a similar issue to #141 so I'm going to @Kampfkarren

I won't share the file publicly, but I'll share it privately with anyone who needs to see it for debugging purposes.

@DataM0del
Copy link

Same, running it to format an obfuscated file makes it overflow its stack, tried commit 6918397 (version 0.20.0).

@JohnnyMorganz
Copy link
Owner

I believe this should get fixed by #854

@JohnnyMorganz JohnnyMorganz added the bug Something isn't working label Oct 26, 2024
@ThoughtSpinnr
Copy link
Author

Is there a way I can test the fix early to verify?

@DataM0del
Copy link

Is there a way I can test the fix early to verify?

Clone the PR, compile it yourself, & run it with something.

@JohnnyMorganz
Copy link
Owner

#854 was merged and will be available in the next release. Let me know if it improves the situation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants