-
Notifications
You must be signed in to change notification settings - Fork 225
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
Error while debugging #44
Comments
Is there an easy way to repro this? |
Here's how to reproduce:
var asyncTask = function(callback) {
process.nextTick(function() {
callback(null, 1, 2, 3);
});
};
asyncblock(function(flow) {
asyncTask(flow.add());
flow.wait();
});
Assertion failed: (info.This()->InternalFieldCount() == 1), function GetStarted, file fibers.cc, line 440. Thanks, Chris |
Yeah this can be repro'd with:
Not really sure how to fix it though. The accessor is called but with the wrong this. I'd have to walk down the prototype chain to find the right one. Doesn't seem worth it.. I guess I could throw instead of crashing the application though. |
Ok. I don't think it's that big of a deal assuming it only affects the debugger. |
This printed on the console, then the program exited with error code 134.
node: fibers.cc:440: static v8::Handlev8::Value Fiber::GetStarted(v8::Localv8::String, const v8::AccessorInfo&): Assertion `info.This()->InternalFieldCount() == 1' failed.
I was inspecting a variable with the debugger when it occurred.
Just thought I'd pass this along,
Chris
The text was updated successfully, but these errors were encountered: