My code is hitting crash in grpc_server_shutdown_and_notify 
<https://opengrok3.arubanetworks.com/source/s?defs=grpc_server_shutdown_and_notify&project=c2c-git>.
 
Apparently the CQ has pending_events =0, shutdown_called = True and things 
queued as some positive value.

When the grpc_server_shutdown_and_notify is called it executes below:

GPR_ASSERT 
<https://opengrok3.arubanetworks.com/source/s?defs=GPR_ASSERT&project=c2c-git>
(grpc_cq_begin_op 
<https://opengrok3.arubanetworks.com/source/s?defs=grpc_cq_begin_op&project=c2c-git>
(cq <https://opengrok3.arubanetworks.com/source/s?defs=cq&project=c2c-git>, 
tag <https://opengrok3.arubanetworks.com/source/s?defs=tag&project=c2c-git>
));

which takes in pending_event counter and it its zero returns false. This 
might indicate something bad with completion queue. But the application 
keeps quitting because of this.

How to solve this issue ? 

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/97351185-4a20-4082-b938-271b911f5ce9n%40googlegroups.com.

Reply via email to