Incompatible with Electron 20.x #75
Description
Activity
Same problem, are there any suggestions to fix this in electron app? I use native calls for windows and with electron 21 get
Fatal error in V8: v8_ArrayBuffer_NewBackingStore When the V8 Sandbox is enabled, ArrayBuffer backing stores must be allocated inside the sandbox address space. Please use an appropriate ArrayBuffer::Allocator to allocate these buffers.same
We also use this dependency and are facing the same issues. It is specifically in electron
20.3.9or higher.20.3.8still works.Same here,
Electron crashes when using ref-napi=3.0.3 and electron>20.3.8 (any version, major/minor/patch)
sounds like it correlated with this feature of Electron:
https://www.electronjs.org/blog/v8-memory-cageIt seems that @tigerconnect/ref-napi has fixed this.
In Electron 20, Electron use V8 sandboxed pointers, see https://www.electronjs.org/blog/v8-memory-cage, and the app using the module will crash.