You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/09/27 18:35:00 UTC

[jira] [Updated] (PROTON-1531) C epoll proactor listener cleanup race

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

Justin Ross updated PROTON-1531:
--------------------------------
    Fix Version/s:     (was: proton-c-0.18.0)
                   proton-c-0.19.0

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org