Skip to content

Incompatible with Electron 20.x #75

Description

@FlysoftBeta

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.

Activity

  1. Elendiar commented on Oct 3, 2022

    @Elendiar

    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.

  2. takeown commented on Dec 12, 2022

    @takeown

    same

  3. Galkon commented on Mar 13, 2023

    @Galkon

    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.

  4. alon42 commented on Apr 2, 2023

    @alon42

    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

  5. neko-para commented on Jun 4, 2023

    @neko-para

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions