Hello,

I am facing one crash in grpc library:

Backtrace
#0  0x00007f0a93b7547f in __pthread_kill_implementation () from
/home/tmp_work_dirs/ard/tmp-1685948391-17258/tmp/lib64/libc.so.6

#1  0x00007f0a93b2b3c2 in raise () from
/home/tmp_work_dirs/ard/tmp-1685948391-17258/tmp/lib64/libc.so.6

#2  0x00007f0a93b1643f in abort () from
/home/tmp_work_dirs/ard/tmp-1685948391-17258/tmp/lib64/libc.so.6

#3  0x00007f0a93ec6a11 in call_start_batch (exec_ctx=exec_ctx@entry
=0x7f0a91a14c50, call=call@entry=0x7f0a644ee6b8, ops=ops@entry
=0x7f0a91a14ce0, nops=nops@entry=1, notify_tag=notify_tag@entry
=0x7f0a64013f80, is_notify_tag_closure=is_notify_tag_closure@entry
=0) at src/core/lib/surface/call.c:2032

Apparently the completion queue seems to be drained out, next is being
called on the completion queue, hence next is returning false, causing
assert. Is there a way to determine if this is the root cause?

Further details:

(gdb) p *((cq_next_data*)(call->cq+1))

$53 = {queue = {queue_lock = {atm = 0}, queue = {head = 139682470484976,
padding = '\000' <repeats 63 times>, tail = 0x7f0a644b34a8, stub = {next =
139682609301216}}, num_queue_items = 4},

  things_queued_ever = 21872, pending_events = 0, shutdown_called = true}

Pending events is zero.

Is there any documentation to explanation how completion queue works in
detail?
-- 



Thanks & Regards,

Shivteja Ayyagari

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAAdBGgUkUab2rGF%3DUt7ZQHv97zP_ar4XBQoXDQzFDnZYqNYjEA%40mail.gmail.com.

Reply via email to