You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2016/04/15 22:39:25 UTC

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

Ganesh Murthy created DISPATCH-278:
--------------------------------------

             Summary: 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


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