-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
StackOverflowException when running Jint.Tests.CommonScripts #1017
Comments
Snap, don't we run these in the CI ? |
Actually we do run them and they passed. https://github.com/sebastienros/jint/runs/4385801313?check_suite_focus=true#step:4:28 |
This is only an issue when running the Debug configuration. Release there are no problems. |
Yes recursive is hard in debug mode when no inlining happens. |
I see. Should the Debug config be disabled when running these unit test projects then? |
It's now run only when it's a release build, thanks for reporting this. |
Hello,
I've been running the Unit Test projects included with the library and found out that Jint.Tests.CommonScripts fails with a StackOverflowException when using
dotnet test
.Running in verbose mode it seems like the script
controlflow-recursive.js
is the one which is failing. If I comment out line 42 inSunSpiderTests.cs
the tests are able to execute without any issues.Is there any plan to fix this test case or could it even be removed entirely?
Thanks!
The text was updated successfully, but these errors were encountered: