-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Parcel Build Crashes Due To Segmentation Faults #7598
Comments
Related: #7590 |
What version of |
@mischnic - manually setting the lmdb version to 2.1.5 does not appear to have an effect, I still see a |
Confirming both git bash and powershell, on the following windows versions:
|
Does it work for anyone if you set the |
I think we narrowed this down to an upgrade of napi-rs in the You'll need to remove |
I works on my side with 2.1.1. Purging and updating to 2.2.1. |
This worked for me. Thanks! |
Using the latest Parcel Here is a stripped down example that has been consistently causing errors: https://github.com/maxackerman/deploy-test node: I just tried PARCEL_WORKER_BACKEND=process and that does seem to work as a temp fix! |
This is again the case with NodeJS 22.7. The breakage occurs when upgrading https://hub.docker.com/r/amd64/node from 22.6.0-alpine to 22.7.0-alpine Edit: I see, that's #9926 |
🐛 bug report
When running Parcel 2.2.1, the build fails with one of several error messages:
free(): invalid pointer
Segmentation fault
free(): double free detected in tcache 2
All of these errors occurred running the exact same command (parcel build) one after the other with no changes to the code.
🎛 Configuration (.babelrc, package.json, cli command)
Package.json:
🤔 Expected Behavior
Parcel does not crash.
😯 Current Behavior
Parcel crashes. Here is one of the possible errors:
💻 Code Sample
The issue is happening for me with this code here: an0nusr/furryfont@7e279a6
The code is pretty simple - there's no modules to bundle - just simple inline js in HTML.
Note: the yarn lockfile in that commit was using Parcel 2.2.0 - the issue occurs in 2.2.1
🌍 Your Environment
The text was updated successfully, but these errors were encountered: