-
-
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 2.12.0 malloc(): corrupted top size in Node 22.7.0 #9926
Comments
I can concur. My error message was slightly more verbose (“set a breakpoint in malloc etc.”). Switching back to stable node v20.17.0 restores functionality. Works too with pnpm 9.8. On a second machine, I still have pnpm 22.6.0. That continues to function properly too. |
Yep, have the same issue. Can be reproduced like this: mkdir reproduction
cd reproduction
yarn add [email protected]
touch example.html
yarn run parcel example.html Full output:
Parcel isn't usable on the newest node version right now, at least for me. I get similar issues in an isolated container (
|
It crashed:
For now I just downgrade Node.js to 20.x and I am good. |
Running parcel builds in https://hub.docker.com/r/amd64/node
|
Can someone try running in a debugger (e.g.
Then type |
gdb bt
|
I found the function that triggers this error in Nodejs. It seems it was changed last week in a commit to update V8: This is where the error actually happens: Reported it upstream: |
Related to parcel-bundler#9926
This seems like a possible v8 bug. I am seeing crashes in multiple different stack traces having to do with string handling. Hopefully they'll investigate soon. nodejs/node#54573 (comment) |
Same here...
repo would be great if anyone could give a hint how to get the app back running |
For now, the solution is to downgrade to node 22.6. We are waiting from someone from the node/v8 team to investigate. AFAICT this is not a parcel bug but a bug in node and/or v8. |
also getting similar errors with node 22.8 - either crashes or "Incorrect checksum for freed object". |
Getting same issue with 22.7 or newer (including 22.8) on macOS / M1. |
same issue on macOS/M1
|
Awaiting a fix for: parcel-bundler/parcel#9926
* Introduce Song#useModifier Allows changing the chord modifier (accidental) for all chords Resolves #1169 * Respect accidental when transposing song to key Resolves #1051 * Lock to NodeJS 22.6 for now Awaiting a fix for: parcel-bundler/parcel#9926
|
I've downgraded to Node 22.6 but am still running into this error
Edit: With |
Update: I've reduced this to a simple reproduction in Node. Hopefully someone with more knowledge of node internals is able to fix it out soon! nodejs/node#54573 (comment) |
No longer occurs with Node v23.0.0 |
according to streetmix/streetmix#3232 bumping node to |
Yes both 22.10 and 23 include the fix. |
+1, changed |
Thanks for confirming everyone! Going to close this out. |
🐛 bug report
In Node 22.7.0 (not older versions), parcel now fails with this error
I get more info here:
https://github.com/aminya/assemblyscript-template/actions/runs/10531888327/job/29184908856#step:7:51
🎛 Configuration (.babelrc, package.json, cli command)
https://github.com/aminya/assemblyscript-template/tree/453edd38314835246c692319b6ae53c430a8010f
🤔 Expected Behavior
Build
😯 Current Behavior
Segfault
💁 Possible Solution
🔦 Context
💻 Code Sample
https://github.com/aminya/assemblyscript-template/tree/453edd38314835246c692319b6ae53c430a8010f
🌍 Your Environment
The text was updated successfully, but these errors were encountered: