-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Segfault on Linux #1488
Comments
I tried maxConcurrency: 1 on v0.15.0 with similar results. Really at a loss of how to debug this. import SegfaultHandler from "segfault-handler"
SegfaultHandler.registerHandler("crash.log") In my vite.config.ts but it didn't have any effect. Not sure if there is a better place to hook this in. |
You'll likely need the segfault-handler at the top of the test file. |
I tried running it on a linux machine under lldb and got a stack trace at least:
|
Full trace
|
There is a child process spawned at the point where the segfault happens:
If I attach to the child process it shows:
|
I found that upgrading my @aws-sdk/* deps fixed this issue |
@revmischa Thank you for collaborating in discord! |
Describe the bug
I am trying to convert my large project over to using vitest. I have a monorepo with some frontend and some node packages and I'm running several copies of vitest in parallel to test them. I can run all the tests just fine on my macOS dev machine.
When I run the tests in GitHub actions (ubuntu-latest), 2/3 of the node packages segfault and the frontend tests and one node package runs successfully.
I've tried
run --run
,--threads=false
, min/max 1 thread, etc, no differenceI have no error message other than segmentation fault. If you can guide me how to get more debugging information on GHA (since I can't repro locally) I can provide that.
I posted about this on discord a few days ago: https://discord.com/channels/917386801235247114/918057998914568213/985767695926571028
One of the packages crashes after running tests for a couple minutes
The other crashes right after finishing everything:
Reproduction
How do I get more info?
System Info
The text was updated successfully, but these errors were encountered: