Skip to content

AccessViolationException in JavaScriptEngineSwitcher.ChakraCore 2.4.3 #30

Closed
@defcon84

Description

@defcon84

When i upgrade ChakraCore (incl. native windows packages) to 2.4.3 in my project, the AccessViolationException is back.
Downgrade to 2.4.2 and everything works perfectly.
It seems something has changed in this version, or do i miss something on my server? (like a specific windows update?)

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at JavaScriptEngineSwitcher.ChakraCore.JsRt.NativeMethods.JsSetCurrentContext(JavaScriptEngineSwitcher.ChakraCore.JsRt.JsContext)
   at JavaScriptEngineSwitcher.ChakraCore.ChakraCoreJsEngine+<>c__DisplayClass22_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<InvokeScript>b__0()
   at JavaScriptEngineSwitcher.ChakraCore.ScriptDispatcher+<>c__DisplayClass12_0`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Invoke>b__0()
   at JavaScriptEngineSwitcher.ChakraCore.ScriptDispatcher.StartThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

project packages:

  • React.AspNet 3.0.1
  • JavaScriptEngineSwitcher.ChakraCore 2.4.3
  • JavaScriptEngineSwitcher.ChakraCore.Native.win-x64 2.4.3
  • JavaScriptEngineSwitcher.ChakraCore.Native.win-x86 2.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions