-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Regression in Node.js v21.6.0 #51486
Comments
cc @jasnell |
Do you think the #51131 can fix both issues? Or did we just find a new bug after fixing the old bug? |
I think this unveiled a new bug. I'm not sure if #51131 fixes it, I would not expect it to, but I haven't time to track down that lingering promise. |
I tested it on main but cannot reproduce it if [ ! -r node ] || [ ! -L node ]; then ln -fs out/Release/node node; fi
14:46:43 ~/Documents/projects/forks/node main $ ./node test/parallel/test-regression.js
✔ repro (7.64375ms)
ℹ tests 1
ℹ suites 0
ℹ pass 1
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 10.764625 |
This reproduces solidly on my end and undici CI on both Linux and Mac OS X, have you pulled the latest commits @marco-ippolito? |
Yes, head at |
fun! :D |
@marco-ippolito are you running it as a |
Right I was running it as cjs 😮 so its mjs only infact as mjs I can reproduce |
Even more fun! |
Based on nodejs/undici#2617 (comment), I propose we revert #51255 asap. |
Am I mistaken or should this be closed now that #51491 has landed and 21.6.1 has been released? |
yes |
Is it intended to throw when you try to transfer an already detached array buffer?
|
…hrows with an already-detached ArrayBuffer See nodejs/node#51486 (comment)
…hrows with an already-detached ArrayBuffer See nodejs/node#51486 (comment)
@anonrig you might want to open a fresh issue |
#51255 makes the following test fail:
with:
It seems that #51255 unveiled a problem of a lingering promise not being resolved properly after the two
MessagePort
s have been closed.This emerged in undici, see nodejs/undici#2617 for more details.
The text was updated successfully, but these errors were encountered: