Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

process dies with Assertion failed: (!ctx->pending_close_ && "close is pending") #7767

Closed
jonathanong opened this issue Jun 11, 2014 · 6 comments
Assignees
Labels

Comments

@jonathanong
Copy link

Assertion failed: (!ctx->pending_close_ && "close is pending"), function Write, file ../src/node_zlib.cc, line 150.

what is causing this? it also seems to be uncatchable

@indutny
Copy link
Member

indutny commented Jun 11, 2014

@jonathanong do you have a test case? are you using a C++ addons?

@jonathanong
Copy link
Author

seems to be when i'm doing something with SPDY Push and your lib. if i remove the spdy pushes it doesn't crash. i can't seem to reproduce it.

i'm guessing it's similar to:

> var stream = zlib.createGzip(); stream.close(); stream.write('asdf');
Assertion failed: (ctx->mode_ != NONE && "already finalized"), function Write, file ../src/node_zlib.cc, line 147.
Abort trap: 6

@jonathanong
Copy link
Author

what bothers me is the abort trap and the process exiting. if an error was just emitted it wouldn't matter.

@indutny
Copy link
Member

indutny commented Jun 11, 2014

Well, it is a bug :) I'll figure it out soon, if no one will fix it.

@jonathanong
Copy link
Author

and a lack of a stack trace is making it difficult for me to find what's causing this =/ i've been getting a lot of abort trap errors altely.

btw i'm on node 0.11.13 and os x 10.9.3

@indutny
Copy link
Member

indutny commented Jun 12, 2014

Should be fixed by #7775

mscdex pushed a commit to mscdex/node that referenced this issue Dec 25, 2014
fix nodejs#7767

Signed-off-by: Fedor Indutny <fedor@indutny.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants