Skip to content

node 22.16.0 on OpenBSD: building a module with node-gyp spins in a tight loop #58569

@VlkrS

Description

@VlkrS

Version

22.16.0

Platform

OpenBSD 7.7-current, on i386

Subsystem

No response

What steps will reproduce the bug?

We bundle a custom node module wrapping OpenBSD's pledge(2) system call with the OpenBSD port of NodeJS. After updating to 22.16.0 we observe that on amd64 and arm64, building that with node-gyp succeeds as normal, however when building with a single core on i386, the node-gyp process hangs and spins in a tight loop.

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

Always reproducible on i386, not yet observed on any of the 64bit platforms

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

node-gyp finishes with "ok" and the process terminates.

What do you see instead?

node-gyp finishes with "ok" but the process does not terminate.

Additional information

I realize that OpenBSD and particularly OpenBSD on 32bit is not a supported platform, but in case you can share an idea on which part of the 22.15.1...22.16.0 diff could be to blame, that would be very welcome.

I suspect that it might be related to #57910 but tbh I cannot really substantiate that.

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