Skip to content

SEGFAULT on Node Fermium #34126

Description

@SalathielGenese

What steps will reproduce the bug?

I tried to build https://github.com/ever-co/gauzy - yarn nx build api --configuration=production and it landed me here nrwl/nx#2956 where other developers noticed that downgrading Node fixed the issue.

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

To the exception of Node version, I have not noticed any other condition.

What is the expected behavior?

A successful build.

What do you see instead?

image#1

In Docker build

error command failed with signal "SIGSEGV"

On host, it is silent and the exit status - echo $? - returned is 139, which happens to be NodeJS exit status for SEGFAULT.
image#4

Additional information

It works after I downgraded to node:erbium-alpine. Since the issue is not happening during development, I have not [yet] downgraded my environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bufferIssues and PRs related to the buffer subsystem.workerIssues and PRs related to the worker_threads module and Worker API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions