Cliff Jansen created PROTON-1531: ------------------------------------ Summary: 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: Cliff Jansen Fix For: proton-c-0.18.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