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 GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/15 14:19:00 UTC

[jira] [Commented] (DISPATCH-1622) Router crash when trying to create connector via qdmanage

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

ASF GitHub Bot commented on DISPATCH-1622:
------------------------------------------

ganeshmurthy commented on pull request #719: DISPATCH-1622: Called validate_add() before calling entity.create() w…
URL: https://github.com/apache/qpid-dispatch/pull/719
 
 
   …hich prevents entity.create() being called if the validate_add() fails. Also added a null check in qd_bitmask_first_set().
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Router crash when trying to create connector via qdmanage
> ---------------------------------------------------------
>
>                 Key: DISPATCH-1622
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1622
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>         Attachments: qdrouterd.conf
>
>
> Start the router using the attached config file. It is a simple router whose router mode can be edge or standalone.
> Now run this qdmanage command -
> {noformat}
> qdmanage CREATE  --type=connector host=0.0.0.0 port=77777 role=inter-router saslMechanisms=ANONYMOUS {noformat}
> The router will crash with the following backtrace
> {noformat}
> (gdb) bt
> #0  qd_bitmask_first_set (b=0x0, bitnum=bitnum@entry=0x7f0e1c0363e0) at /home/gmurthy/opensource/qpid-dispatch/src/bitmask.c:129
> #1  0x00007f0e3746de99 in qdr_connection_opened_CT (core=0x1de0460, action=0x7f0e1c012e88, discard=<optimized out>) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:1306
> #2  0x00007f0e3747d2f3 in router_core_thread (arg=0x1de0460) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:193
> #3  0x00007f0e373974c0 in start_thread () from /lib64/libpthread.so.0
> #4  0x00007f0e36ff5163 in clone () from /lib64/libc.so.6
> (gdb)  {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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