-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Random "SIGSEGV" Errors in "yarn build" Following Failed/Canceled Build #38483
Comments
Macbook M1, Node v18.14.2, Gatsby 5.12.4. Same error. |
Experiencing this as well. Clearing cache and running build seems to work reliably for me. libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
error Command failed with signal "SIGABRT". |
Experiencing this too with: Macbook M1, Node v18.16.1, Gatsby 5.12.4. |
Working on upgrading from v4 to v5 and running into the same issue. Receiving the same error until clearing cache.
|
Hey @LekoArts, Just wondering if you have any idea when the Gatsby team might get back to us on this issue. Any rough estimate would be awesome. |
Hey there 👋 It hurts me to say this but I no longer work at Gatsby, so I won't be able to help you. Netlify laid off a lot of people including me and others have left since then, too. If you want to get your voice heard you'll need to contact Netlify, the people left who might work on this repository are not at fault. |
This is a workaround for gatsbyjs/gatsby#38483 and should be reverted once it's fixed by Gatsby.
This is a workaround for gatsbyjs/gatsby#38483 and should be reverted once it's fixed by Gatsby.
This is a workaround for gatsbyjs/gatsby#38483 and should be reverted once it's fixed by Gatsby.
* ui: move "Delete" button into account details * fix: use method name in key (fix SonarLint warning) * ui: add parenthesis around details of the Snap version * build: remove cache before building site This is a workaround for gatsbyjs/gatsby#38483 and should be reverted once it's fixed by Gatsby.
Same error, is there any progress on this issue? |
same error getting these two errors everytime I try to run
and
|
I'm getting the same error here, but downgrading to 5.11 seems to only partly fix the issue, I still occasionally get the segfault (but not every time as I do on 5.12.9). So sorry to hear about the Gatsby team, I was afraid of that with the acquisition... |
Hi @pieh! Could you please share your thoughts on this issue and provide insights into the current state of Gatsby? It seems like your are one of the few people still contribution / work of the pull requests. Do not get me wrong but its actually a bit scary that a repository near to 55k stars feels that discontinued. I know Gatsby was acquired due to its innovative Data Layer, but many people including me depend on the Gatsby framework as whole. I would be happy to hear that there are plans for further framework development, although this seems unrealistic to me since Netlify fired nearly every contributor of this repository. |
I'm getting the same error on 2020 Intel Mac. I'm using
EDIT: Activity in mentioned thread reassured me. I'll wrap up some reproducible repo for my |
Same error with Mac M2, Gatsby 5.13.1 and Node v18.15.0. It's a shame Netlify had such an impact in the project, Gatsby is super cool, hope it survives. |
If you read this please react with a 👍 or 👎 . I want to know if this is just a me problem or something bigger. Thanks. Does anyone experience that error?
When this happens the Gatsby site just renders a whitescreen and a restart is required. |
Multiple on my team experiencing this issue as well. |
Thanks for the tip! |
Not sure this should be closed if it's still an issue... |
Same issue.
|
I literally can't get rid of this. Spend hours trying to get my app to run just so I can dev and it seems to be completely random. My team and I are so tired of it that I want to rebuild the entire app in Nextjs. |
I feel you. My problem is that I have build a complete app framework around gatsby. So I am kinda stuck. I think this error is related to some plugin or some other package that does something "wrong". But I have no clue what it is and how to debug it. This error is so random and it leads to so much frustration. |
@Josh-Karp Finally bit the bullet and did this, no regrets 🧘♀️ |
Preliminary Checks
Description
Encountering intermittent behavior in the Gatsby build process, where executing the yarn build command after a canceled or failed build attempt sometimes results in a "SIGSEGV" error. This behavior is unpredictable, as the error occurs most of the time after a failed build, but occasionally the build process succeeds despite the prior failure.
Reproduction Link
https://github.com/schettn/mutext-test
Steps to Reproduce
Expected Result
After a failed build attempt, the yarn build command should consistently execute without any errors, maintaining a predictable behavior regardless of prior build outcomes.
Actual Result
After a failed build attempt, when running yarn build, the build process either fails with a "SIGSEGV" error or, less frequently, completes successfully despite the prior failure. This inconsistency in behavior makes it challenging to predict whether a subsequent build attempt will be successful or result in an error.
gatsby-build-errors.mov
Environment
System: OS: macOS 13.5.1 CPU: (8) arm64 Apple M2 Shell: 5.9 - /bin/zsh Binaries: Node: 18.15.0 - /var/folders/04/_fcn9m61251cpx7qbc2d74j00000gn/T/yarn--1693039712873-0.25311318574212716/node Yarn: 1.22.19 - /var/folders/04/_fcn9m61251cpx7qbc2d74j00000gn/T/yarn--1693039712873-0.25311318574212716/yarn npm: 9.5.0 - /usr/local/bin/npm Browsers: Chrome: 116.0.5845.110 Safari: 16.6 npmPackages: gatsby: ^5.12.1 => 5.12.1
Config Flags
No response
The text was updated successfully, but these errors were encountered: