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 2018/11/06 21:30:00 UTC

[jira] [Resolved] (DISPATCH-1171) Interior router crash when edge receiver disconnects

     [ https://issues.apache.org/jira/browse/DISPATCH-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-1171.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> Interior router crash when edge receiver disconnects
> ----------------------------------------------------
>
>                 Key: DISPATCH-1171
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1171
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.5.0
>            Reporter: Chuck Rolke
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.5.0
>
>         Attachments: gen_configs.py
>
>
> Running a single-host setup similar to system_tests_edge_router RouterTest. See config generator script gen_configs.py attached. The test case uses current proton cpp examples to generate traffic.
>  
>  # ./gen_configs.py
>  # Start the routers by running ./run-ratchet.sh
>  # simple_recv -a amqp://127.0.0.1:21009/closest/foo -m 100000000
>  # simple_recv -a amqp://127.0.0.1:21012/closest/foo -m 100000000
>  # simple_send -a amqp://127.0.0.1:21009/closest/foo -m 100000000
>  # kill receiver on port 21009. This produces the core.
> {{(gdb) bt}}
>  {{#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51}}
>  {{#1  0x00007f9ebbbb1d31 in __GI_abort () at abort.c:79}}
>  \{{#2  0x00007f9ebbba905a in __assert_fail_base (fmt=0x7f9ebbcf9580 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f9ebd0adf04 "(addr->rlinks).size == 1", }}
>  \{{    file=file@entry=0x7f9ebd0adb60 "/home/chug/git/qpid-dispatch/src/router_core/forwarder.c", line=line@entry=580, }}
>  {{    function=function@entry=0x7f9ebd0ae0b0 <__PRETTY_FUNCTION__.8725> "qdr_forward_closest_CT") at assert.c:92}}
>  {{#3  0x00007f9ebbba90d2 in __GI___assert_fail (assertion=0x7f9ebd0adf04 "(addr->rlinks).size == 1", file=0x7f9ebd0adb60 "/home/chug/git/qpid-dispatch/src/router_core/forwarder.c", }}
>  {{    line=580, function=0x7f9ebd0ae0b0 <__PRETTY_FUNCTION__.8725> "qdr_forward_closest_CT") at assert.c:101}}
>  {{#4  0x00007f9ebd07ea6e in qdr_forward_closest_CT (core=0x1f2b8a0, addr=0x7f9ea802ea60, msg=0x7f9ea409dd20, in_delivery=0x7f9ea40cb1e0, exclude_inprocess=false, control=false)}}
>  {{    at /home/chug/git/qpid-dispatch/src/router_core/forwarder.c:580}}
>  {{#5  0x00007f9ebd07ffba in qdr_forward_message_CT (core=0x1f2b8a0, addr=0x7f9ea802ea60, msg=0x7f9ea409dd20, in_delivery=0x7f9ea40cb1e0, exclude_inprocess=false, control=false)}}
>  {{    at /home/chug/git/qpid-dispatch/src/router_core/forwarder.c:978}}
>  {{#6  0x00007f9ebd08ce5d in qdr_link_forward_CT (core=0x1f2b8a0, link=0x7f9ea404fe60, dlv=0x7f9ea40cb1e0, addr=0x7f9ea802ea60, more=false)}}
>  {{    at /home/chug/git/qpid-dispatch/src/router_core/transfer.c:874}}
>  {{#7  0x00007f9ebd08d7a5 in qdr_link_deliver_CT (core=0x1f2b8a0, action=0x7f9ea4100a60, discard=false) at /home/chug/git/qpid-dispatch/src/router_core/transfer.c:1066}}
>  {{#8  0x00007f9ebd08648a in router_core_thread (arg=0x1f2b8a0) at /home/chug/git/qpid-dispatch/src/router_core/router_core_thread.c:116}}
>  {{#9  0x00007f9ebc9ad50b in start_thread (arg=0x7f9eaea7c700) at pthread_create.c:465}}
>  {{#10 0x00007f9ebbc7138f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95}}
>  



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