Github user ted-ross commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/149#discussion_r107224807
--- Diff: src/router_core/connections.c ---
@@ -1297,6 +1320,7 @@ static void
qdr_link_inbound_first_attach_CT(qdr_core_t *core, qdr_action_t *act
//
// This is a link-routed destination, forward the
attach to the next hop
//
+ set_terminus_address(link, dir);
--- End diff --
You are calling a non-CT function from within a CT function. The non-CT
function accesses pn_link_t structures that are unsafe to access from a thread
that is not the IO thread that owns the connection on which the link flows.
This is very likely to cause memory corruption and crashes.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]