You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/10/24 13:55:00 UTC
[jira] [Commented] (DISPATCH-1153) Router crash when a detach
arrives on a link that is processing deliveries
[ https://issues.apache.org/jira/browse/DISPATCH-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662313#comment-16662313 ]
ASF subversion and git services commented on DISPATCH-1153:
-----------------------------------------------------------
Commit 6203bb92786f4ec535dbd538cc1f98df26982373 in qpid-dispatch's branch refs/heads/master from [~ganeshmurthy]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=6203bb9 ]
DISPATCH-1153 - Make sure the size of the undelivered list in non-zero before deleting its head. A detach might have arrived in the meantime and cleaned out the undelivered list
> Router crash when a detach arrives on a link that is processing deliveries
> --------------------------------------------------------------------------
>
> Key: DISPATCH-1153
> URL: https://issues.apache.org/jira/browse/DISPATCH-1153
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 1.4.0
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
> Priority: Major
> Fix For: 1.5.0
>
>
> When a detach arrives on a link when the router is in the middle of processing deliveries on the link, the detach handle code clears out the undelivered list when the qdr_link_process_deliveries in transfer.c is still in the middle of processing it.
> This happens in-between two locked code sections.
>
> {noformat}
> [Current thread is 1 (Thread 0x7f9bd9f60700 (LWP 3256))]
> (gdb) bt
> #0 0x00007f9be7f24660 in raise () from /lib64/libc.so.6
> #1 0x00007f9be7f25c41 in abort () from /lib64/libc.so.6
> #2 0x00007f9be7f1cf7a in __assert_fail_base () from /lib64/libc.so.6
> #3 0x00007f9be7f1cff2 in __assert_fail () from /lib64/libc.so.6
> #4 0x00007f9be93f94df in qdr_link_process_deliveries (core=0x10ce8e0, link=0x7f9bcc09bee0, credit=3) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:177
> #5 0x00007f9be9403b08 in CORE_link_push (context=0xf6a240, link=0x7f9bcc09bee0, limit=3) at /home/gmurthy/opensource/qpid-dispatch/src/router_node.c:1472
> #6 0x00007f9be93e1898 in qdr_connection_process (conn=0x7f9bc40386a0) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:307
> #7 0x00007f9be9400999 in AMQP_writable_conn_handler (type_context=0xf6a240, conn=0x7f9bcc00b860, context=0x0) at /home/gmurthy/opensource/qpid-dispatch/src/router_node.c:174
> #8 0x00007f9be93bd570 in writable_handler (container=0xe28880, conn=0x7f9bcc0b6fc0, qd_conn=0x7f9bcc00b860) at /home/gmurthy/opensource/qpid-dispatch/src/container.c:332
> #9 0x00007f9be93be58c in qd_container_handle_event (container=0xe28880, event=0x7f9bcc13b870, conn=0x7f9bcc0b6fc0, qd_conn=0x7f9bcc00b860) at /home/gmurthy/opensource/qpid-dispatch/src/container.c:635
> #10 0x00007f9be9408b25 in handle (qd_server=0x1000700, e=0x7f9bcc13b870, pn_conn=0x7f9bcc0b6fc0, ctx=0x7f9bcc00b860) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:985
> #11 0x00007f9be9408bfb in thread_run (arg=0x1000700) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1010
> #12 0x00007f9be8d2150b in start_thread () from /lib64/libpthread.so.0
> #13 0x00007f9be7fe516f in clone () from /lib64/libc.so.6{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org