-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
tera_templates bug: thread '<unknown>' has overflowed its stack #309
Comments
Can you post the full backtrace? |
sry, I do not know how to get backtrace. |
RUST_BACKTRACE=1 cargo <build, run, etc> |
I set RUST_BACKTRACE=1 but still the same。 set RUST_BACKTRACE=1
cargo run |
I think @SergioBenitez might have meant posting the error in its entirety instead of just the bit saying that the the thread's stack overflowed. Outside of that, I didn't see you were using Win10. If you're in powershell, it looks like you can do
to get the full stack trace. |
@SergioBenitez @cafeclimber i tried |
@junhwong Can you copy/paste the full output you're getting in your terminal? Including everything that is logged? You should run the command |
this test case 1:
this case normal(project):
|
The normal situation when you are getting that error is recursion. Check if you are recursing in your code and try to:
|
@junhwong If you make your template shorter (IE, cut in half or so), does the error go away? If so, this would mean that it's purely a Tera issue. |
@SergioBenitez Yes. it is a Tera bug and report to Keats/tera#185 |
Rocket version 0.2.8 ,tera version0.7.2(github current version 0.10)
windows 10
Includes Lots of TAGS in template,e.g:
The text was updated successfully, but these errors were encountered: