Skip to content

SIGSEGV running jest tests #40058

@DonBranson

Description

@DonBranson

Version

12, 14, and 16

Platform

At gitlab, in gitlab-runner using the image node:14, etc.

Linux runner--project-0-concurrent-0 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

and other images - alpine, ubuntu, centos

Subsystem

No response

What steps will reproduce the bug?

Many tests pass before the SIGSEGV. I'm not sure how to answer this, and that's not helpful, sorry - we have thousands of tests for a React Native project.

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

Every time.

What is the expected behavior?

The test runs and passes or fails.

What do you see instead?

PASS tests/store/assigned/shipmentLegs/selectors/getShipmentLegsByLoadIdAndShipmentId.test.js
PID 245 received SIGSEGV for address: 0x10
/builds/qdivision/stride/converge-stride-app/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x2cb1)[0x7f36d0442cb1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0)[0x7f36d41fc0e0]
/usr/local/bin/node[0x9e1ed6]
/usr/local/bin/node(_ZN2v88internal7Isolate38RunHostImportModuleDynamicallyCallbackENS0_6HandleINS0_6ScriptEEENS2_INS0_6ObjectEEE+0x79)[0xd06699]
/usr/local/bin/node(_ZN2v88internal25Runtime_DynamicImportCallEiPmPNS0_7IsolateE+0xa7)[0x107b217]
/usr/local/bin/node[0x140de14]
Segmentation fault (core dumped)
error Command failed with exit code 139.

Additional information

Running under MacOS/Big Sur, the test runs fine.

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