Skip to content
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

Incompatible with Electron 20.x #75

Open
FlysoftBeta opened this issue Aug 13, 2022 · 5 comments
Open

Incompatible with Electron 20.x #75

FlysoftBeta opened this issue Aug 13, 2022 · 5 comments

Comments

@FlysoftBeta
Copy link

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.

@Elendiar
Copy link

Elendiar commented Oct 3, 2022

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.

@Price3258
Copy link

same

@Galkon
Copy link

Galkon commented Mar 13, 2023

We also use this dependency and are facing the same issues. It is specifically in electron 20.3.9 or higher. 20.3.8 still works.

@alon42
Copy link

alon42 commented Apr 2, 2023

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-cage

@neko-para
Copy link

It seems that @tigerconnect/ref-napi has fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants