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 2016/04/18 20:12:25 UTC

[jira] [Commented] (DISPATCH-278) Deleting amqp listener using qdmanage crashes the router

    [ https://issues.apache.org/jira/browse/DISPATCH-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246214#comment-15246214 ] 

ASF subversion and git services commented on DISPATCH-278:
----------------------------------------------------------

Commit ea42febf6de19308d9d9486956f51899cf8b4e62 in qpid-dispatch's branch refs/heads/master from [~tross@redhat.com]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=ea42feb ]

DISPATCH-278 - Removed a lot of no-longer-used code in connection_manager.[ch].  This
fixes the problem in the Jira whereby the router crashes if a listener is deleted and one
of its connections is still open (actually crashes when the connection is closed).


> Deleting amqp listener using qdmanage crashes the router
> --------------------------------------------------------
>
>                 Key: DISPATCH-278
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-278
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 0.6
>            Reporter: Ganesh Murthy
>            Assignee: Ted Ross
>             Fix For: 0.6
>
>
> A standalone router has the following three listener ports 
> {noformat}
> listener {
>     addr: 0.0.0.0
>     port: amqp
>     authenticatePeer: no
> }
> listener {
>     addr: 0.0.0.0
>     port: 5700
>     authenticatePeer: no
> }
> listener {
>     addr: 0.0.0.0
>     port: 5701
>     authenticatePeer: no
> }
> {noformat}
> now run the following qdmanage command to delete the amqp listener
> {noformat}
> qdmanage DELETE --type=listener --name=listener/0.0.0.0:amqp
> {noformat}
> you will see a router crash with the following trace
> {noformat}
> #0  0x00007f93a767bb98 in main_arena () from /lib64/libc.so.6
> #1  0x00007f93a82dec7e in qd_connection_manager_connection_closed (conn=0x7f938c00ea80) at /home/gmurthy/opensource/dispatch/src/connection_manager.c:440
> #2  0x00007f93a82df52f in close_handler (container=0x12f1670, conn_context=0x1351830, conn=0x7f938c012eb0, qd_conn=0x7f938c00ea80) at /home/gmurthy/opensource/dispatch/src/container.c:306
> #3  0x00007f93a82e008d in handler (handler_context=0x12f1670, conn_context=0x1351830, event=QD_CONN_EVENT_CLOSE, qd_conn=0x7f938c00ea80) at /home/gmurthy/opensource/dispatch/src/container.c:584
> #4  0x00007f93a830b373 in process_connector (qd_server=0x125ee10, cxtr=0x7f938c000bc0) at /home/gmurthy/opensource/dispatch/src/server.c:690
> #5  0x00007f93a830be8d in thread_run (arg=0x12dccb0) at /home/gmurthy/opensource/dispatch/src/server.c:958
> #6  0x00007f93a7e5d60a in start_thread () from /lib64/libpthread.so.0
> #7  0x00007f93a73c2a4d in clone () from /lib64/libc.so.6
> {noformat}
> Deleting listeners on other ports (5700 and 5701) do not crash the router



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org