-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
DebuggerAgent: unhandled socket error event #781
Comments
I don't reproduce it. But i get the same issue(maybe):
when close browser, the assertion error was threw. the index.js:
iojs version: 1.6.5 |
encounted the same problem on both webstorm node.js debugger and node-inspector. |
I can confirm the issue but a proper fix will probably have to wait until #1159 is merged. The problem is that the debugger event loop still has open libuv handles by the time it gets shut down. There is currently no good way to force-close handles (at least, not without introducing new bugs) until #1159 adds the necessary infrastructure. |
@bnoordhuis hm... have this handles creeped out of the Environment? I believe I introduced some sort of class for this thing. |
(gdb) bt Breakpoint 1, uv_loop_close (loop=0x3428740) at ../deps/uv/src/unix/loop.c:65 that is to say, 'tty' don't close, leading to the assert. @bnoordhuis @JacksonTian |
Given 15 months of dormancy for this issue combined with the |
debugger_agent
doesn't handle correctly socket closing.Test case:
node --debug test
Test.js
After fix this issue by:
I receive next error:
Assertion failed: (err) == (0), file src\agent.cc, line 164
UV_EBUSY
So, I'm incompetent to fix
uv
errors, therefore I opened this issue.I think this is for @indutny
The text was updated successfully, but these errors were encountered: