Skip to content

v22.4.1 C++ addon incurs segmentation faults #53810

Open
@tvmoo9

Description

@tvmoo9

Version

v22.4.1

Platform

Linux Debian 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

Subsystem

node-addon-api

What steps will reproduce the bug?

Run a simple hello-world C++ wrapper addon test by following https://www.npmjs.com/package/generator-napi-module, it returns "segmentation faults" runtime error; there is no such an error for v20.15.1 and v20.14.0 which are only other two versions tested.

How often does it reproduce? Is there a required condition?

Every time

What is the expected behavior? Why is that the expected behavior?

No runtime error

What do you see instead?

Segmentation faults

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    node-apiIssues and PRs related to the Node-API.v22.xv22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions