microsoft / Chakra-Samples

Repository for Chakra JavaScript engine related samples.
MIT License
216 stars 84 forks source link

Call to JsCreateExternalArrayBuffer will throw [System.ExecutionEngineException] exception #64

Closed JohnMasen closed 7 years ago

JohnMasen commented 7 years ago

repro step:

  1. Retrieve an JavaScriptValue (ArrayBuffer) from chakracore runtime context
  2. Call JsGetArrayBufferStorage try to get the internal storage Expected: get the internal storage Actual: an [System.ExecutionEngineException] exception will throw

you can repro this issue with my code at: https://github.com/JohnMasen/ChakraCore.NET UnitTest: ArrayBufferReadWrite

JohnMasen commented 7 years ago

I've create a branch [ArrayBufferCrash] for this issue. please use this branch to repro.

JohnMasen commented 7 years ago

forget it, seem this issue is gone.