qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles E. Rolke (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1614) Edge router crash when interior closes edge uplink connection
Date Sun, 05 Apr 2020 13:02:00 GMT

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

Charles E. Rolke commented on DISPATCH-1614:

The suspected root cause is having the addr_event (and the consequent del_outlink) executing
before the AMQP_close_handler executes. The close handler has the opportunity to clean up
the addr link pointers so that the del_outlink won't try to use them.


{{08:54:47.628115 -0400  qdrc_event_addr_raise(): core:0x10e3db0, event:00200000, addr:0x1116990,
address:M0e61 }}
{{08:54:47.628128 -0400  on_addr_event(): context-qcm_edge_addr_proxy:0x10f7a10, event:00200000,
addr:0x1116990, address:M0e61 }}
{{08:54:47.628140 -0400 del_outlink(): ap:0x10f7a10, addr:0x1116990, edge_outlink:0x11f7190,
address:M0e61 }}
{{08:54:47.628152 -0400  qdr_core_unbind_address_link_CT(): core:0x10e3db0, addr:0x1116990,
link:0x11f7190, address:M0e61, direction:incoming }}
{{08:54:47.628218 -0400  AMQP_closed_handler: type_context:0x10c9350, conn:0x1269ad0 context:0x13b3bd0,
{{08:54:47.628285 -0400  qdr_del_link_ref(): ref_list:0x1116a08, link:0x11f7190, cls:0}}
{{08:54:47.628327 -0400  [C5] Connection '' closed with resources n_sessions=1,
n_senders=0, n_receivers=0, sessions_denied=0, senders_denied=0, receivers_denied=0. nConnections=

> Edge router crash when interior closes edge uplink connection
> -------------------------------------------------------------
>                 Key: DISPATCH-1614
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1614
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.11.0
>            Reporter: Charles E. Rolke
>            Priority: Major
>         Attachments: DISPATCH-1614-edge-router-log.txt
> When the connection to the interior router goes down then the addr.edge_outlink link
proper is freed but the pointer to the link is still in the addr struct.
> Later when the addr is unbound the link is dereferenced causing a segfault.
> An attached log trace shows the events. Search for link _0x1c31210_ using mobile address

This message was sent by Atlassian Jira

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

View raw message