-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV running jest tests #40058
Comments
I believe I'm seeing the same bug. Node version: v14.20.0 Reproduction: I invoked Jest with the following flags:
|
Yes, this is very likely a duplicate of #43205. I'll go ahead and close it out as such. As a side note: node <16.x is out of support and v16.x will be in a few months but the issue is known to exist in v18.x too. |
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.
The text was updated successfully, but these errors were encountered: