[
https://issues.apache.org/jira/browse/PROTON-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross reassigned PROTON-1531:
-----------------------------------
Assignee: Alan Conway (was: Cliff Jansen)
> C epoll proactor listener cleanup race
> --------------------------------------
>
> Key: PROTON-1531
> URL: https://issues.apache.org/jira/browse/PROTON-1531
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.18.0
> Reporter: Cliff Jansen
> Assignee: Alan Conway
> Fix For: proton-c-0.19.0
>
>
> It is possible that closing a listener while an incoming connection is about
> to trigger an epoll event on the listener can result in accessing free'd
> memory.
> The solution is to force an event event to fire via a shutdown() call on the
> socket and delay deletion until the callback completes. This strategy is
> already in use by the pconnection cleanup logic, which can be used as a
> template.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]