-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Hitting Segmentation fault when running Vitest . #3143
Copy link
Copy link
Closed
Description
Describe the bug
When I run vitest on without limiting the threads, the process will crash half way through with the following output:
Segmentation fault (core dumped)
error Command failed with exit code 139.
Reproduction
https://github.com/OpenQDev/OpenQ-Frontend/tree/vite-staging
I can't really provide a minimal reproduction because it seems to depend on the number of tests you run. To reproduce it with this repo just run yarn then, run yarn json-server in one terminal and then yarn vitest in another.
System Info
System:
OS: Linux 5.4 Ubuntu 20.04.5 LTS (Focal Fossa)
CPU: (16) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Memory: 26.75 GB / 31.36 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 19.7.0 - ~/nvm/current/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 9.5.0 - ~/nvm/current/bin/npm
npmPackages:
@vitejs/plugin-react: ^3.1.0 => 3.1.0
vitest: ^0.29.8 => 0.29.8Used Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels