[
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, qdrc:0x13b3bd0}}
{{08:54:47.628285 -0400 qdr_del_link_ref(): ref_list:0x1116a08,
link:0x11f7190, cls:0}}
{{08:54:47.628327 -0400 [C5] Connection '127.0.0.1:58382' closed with
resources n_sessions=1, n_senders=0, n_receivers=0, sessions_denied=0,
senders_denied=0, receivers_denied=0. nConnections= 0.}}
> 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 _M0e61_.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]