[ 
https://issues.apache.org/jira/browse/PROTON-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271439#comment-16271439
 ] 

ASF subversion and git services commented on PROTON-1531:
---------------------------------------------------------

Commit 584d3afc32ffa9a3e92b0287da7c90e390265a9d in qpid-proton's branch 
refs/heads/master from Clifford Jansen
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=584d3af ]

PROTON-1531: epoll proactor: use shutdown to avoid race on close


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

Reply via email to