qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-250) Router crash when deleting connector
Date Fri, 01 Apr 2016 17:26:25 GMT

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

Ganesh Murthy commented on DISPATCH-250:
----------------------------------------


The problem seems to be at policy.c line 238

#4  0x00007f4151b214af in qd_policy_socket_close (context=0x2113430, conn=0x7f413400eb90)
at /home/gmurthy/opensource/dispatch/src/policy.c:238
#5  0x00007f4151b414ea in thread_run (arg=0x20af3f0) at /home/gmurthy/opensource/dispatch/src/server.c:964
#6  0x00007f4151b42619 in qd_server_run (qd=0x1e50240) at /home/gmurthy/opensource/dispatch/src/server.c:1333
#7  0x0000000000401abd in main_process (config_path=0x7fff68c3fdda "etc/qdrouterd.conf", python_pkgdir=0x4026f0
"/home/gmurthy/opensource/dispatch/install/lib/qpid-dispatch/python", fd=2) at /home/gmurthy/opensource/dispatch/router/src/main.c:135
#8  0x000000000040235b in main (argc=3, argv=0x7fff68c3ef08) at /home/gmurthy/opensource/dispatch/router/src/main.c:335

I was looking at the code in line 238 -

    n_connections -= 1;
    assert (n_connections >= 0); //line 238

gdb says that the assert failed because n_connections is -1 

(gdb) p n_connections
$1 = -1
(gdb) 

Assigning to crolke

> Router crash when deleting connector
> ------------------------------------
>
>                 Key: DISPATCH-250
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-250
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.6
>            Reporter: Ernest Allen
>            Assignee: Ganesh Murthy
>
> Start a router with a listener on 20102. In my case the listener's role was inter-router,
but I'm not sure if that matters.
> qdmanage CREATE --type connector port=20102 name=myconn
> This succeeds. Perhaps it should not succeed?
> qdmanage DELETE --type connector --name myconn
> This fails with the crash of the router.
> This is repeatable 100% of the time.



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


Mime
View raw message