-
Notifications
You must be signed in to change notification settings - Fork 153
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
System.AccessViolationException #90
Comments
We cannot use the library directly because we had to implement some assumptions for compatibility reasons with our previous engine, that we can't contribute to a general purpose engine. So we maintain our own fork and try to contribute everything we can back to this project. That said, I found a commit we have integrated in our fork that we never contributed, where we removed the finalizer because we hit the same problem. Either I just forgot to do that or I refrained from doing so because I couldn't reproduce the problem reliably. This is the commit spahnke@08d3921 Are you able to build the library with the above patch applied yourself and can test if that mitigates the problem? If yes, I can submit a PR as soon as you have confirmed that it solves your problem. |
Thank you! |
@spahnke i can confirm this error is gone with your changes. |
Thanks for confirming! I created PR #92 for this. |
Hello,
we using Javascript.net in our ASP.NET Web Applications.
It works good but regularly get errors in our Server log.
error modul v8.dll
System.AccessViolationException
at .v8.Locker.Initialize(v8.Locker*, v8.Isolate*)
at Noesis.Javascript.JavascriptContext.Enter(Noesis.Javascript.JavascriptContext ByRef)
at Noesis.Javascript.JavascriptFunction.~JavascriptFunction()
at Noesis.Javascript.JavascriptFunction.Dispose(Boolean)
at Noesis.Javascript.JavascriptFunction.Dispose()
at Noesis.Javascript.JavascriptFunction.Dispose(Boolean)
looks like there is something wrong with the dispose.
maybe someone got an idea. =)
thx
The text was updated successfully, but these errors were encountered: