-
Notifications
You must be signed in to change notification settings - Fork 294
uv__queue_done: Assertion #523
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
Comments
for Question2as example : thosttraderapi.so is static linking SSL and I can not do anything for thosttraderapi.so , and the node that installed by nvm also static linking SSL. This led to the question coredump. How can I do for solove this question? [ops@smartwindev linux_api_trade_6.3.6]$ nm thosttraderapi.so | grep SSL | more |
for Question1static void uv__queue_done(struct uv__work* w, int err) {
uv_work_t* req;
req = container_of(w, uv_work_t, work_req);
uv__req_unregister(req->loop, req);
if (req->after_work_cb == NULL)
return;
req->after_work_cb(req, err);
}
#define uv__req_unregister(loop, req)
do {
assert(uv__has_active_reqs(loop));
QUEUE_REMOVE(&(req)->active_queue);
}
while (0)
#define uv__has_active_reqs(loop)
(QUEUE_EMPTY(&(loop)->active_reqs) == 0)
#define QUEUE_EMPTY(q)
((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q)) I tried to remove the assert, recompile node , and it is excute normally. But why is this so? and what can I do for support all the @node. |
Question 1:
It would be coredump when run some time. as follows:
node: src/threadpool.c:252: uv__queue_done: Assertion `(((const QUEUE ) (&(req->loop)->active_reqs) == (const QUEUE ) ((QUEUE **) &(((&(req->loop)->active_reqs))[0]))) == 0)' failed.
Question 2:
the same node version 6.9. when installed by nvm will coredump like #485.
The text was updated successfully, but these errors were encountered: