-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Debug build assertion failed in V8 for parallel/test-error-reporting #17016
Comments
Fails on Linux and macOS |
Stack trace:
|
Issue here is that there is still a pending exception on the Isolate when you call into V8 again through The message callback is really just there to print messages to the console or stdout/stderr, not to execute JS. At this point the exception has not been handled yet, and if the new JS throws, that exception would be overwritten. This callback should be done when frame #13 returns with an empty handle. |
FTR, I figured this out and am putting together a pull request. =) |
Are you sure that that’s true? By the time the message listener callback is executed, all the stack has unwound. Also, and more importantly, that is not what the V8 API seems to support; quoting the commit message from my initial (failing) attempt to fix this in V8 (https://chromium-review.googlesource.com/c/v8/v8/+/718096):
This is also specific to the case in which |
Okay, I think I really understand what’s going on now. The fix in https://chromium-review.googlesource.com/c/v8/v8/+/718096 should work for this. |
This can be closed now that V8 6.3 has landed. Yay! |
Testing out adding Debug builds to CI and I have some failures that need looking at that'll need someone cleverer than me.
Current master, fails via parallel/test-error-reporting:
/cc @nodejs/v8
The text was updated successfully, but these errors were encountered: