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
[Bug]: Random segfaults when running webpack and using @babel/core 7.16.10 #14186
Comments
Hey @Artur-! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly. If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite. |
I was unable to get a core dump out from our CI yet. Maybe posting or analyzing that will give more clues |
For reference, here are our version changes from our babel bump that introduced the issues: @babel/core: 7.16.7 => 7.16.10 |
Could any of you try using That line might cause nodejs/node#35889 if for some reason webpack is running inside a Node.js |
I just created a branch with that patch. Now, since the segfault doesn't happen every time, I'm gonna have to run the CI multiple times to confirm the issue has actually disappeared. |
so far, my eslint job has run without failing 5 times out of 5 with that patch. |
10/10 on the eslint job, and 5/5 on the node build, so it looks like that patch does fix the issue. |
I will see if I can monkey patch this and test also. Seems like |
After a couple of failing patch attempts I think I now agree with @jlowcs that removing
resolves the issue |
@Artur- thanks! If you have time, could you also test if what I wrote in the description of #14192 (review) works too (rather than deleting that try/catch)? |
With this change vaadin/flow@94f26a0 all I see is |
Oh yes right, it should be |
That fix seems to also resolve the issue |
I'm releasing 7.16.12 with the workaround for this V8 bug. |
thank you! |
💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
No idea how to reproduce it. It reproduces in random places in our CI builds, starting from yesterday after the release of 7.16.10
Configuration file name
No response
Configuration
No response
Current and expected behavior
Apparently we are using Babel through workbox which is used through webpack which is run from Java
The only expectation I have is that
webpack
should finish the build instead of segfault. Assuming here that exit value 139 means segmentation fault.Environment
Possible solution
Downgrading to
@babel/core
7.16.7
resolves the problemAdditional context
https://github.com/vaadin/flow/runs/4882425225?check_suite_focus=true is an example of a failed build but it does not provide much more information
https://github.com/vaadin/flow/runs/4882529524 is the same build but with babel 7.16.7
The text was updated successfully, but these errors were encountered: