Clifford Jansen created PROTON-2239:
---------------------------------------

             Summary: epoll proactor race condition on connection teardown with 
heartbeats
                 Key: PROTON-2239
                 URL: https://issues.apache.org/jira/browse/PROTON-2239
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: proton-c-0.28.0
            Reporter: Clifford Jansen
            Assignee: Clifford Jansen
         Attachments: xxx.c

If a connection with heartbeats is closed at about the same time to when its 
idle timeout timer fires, it is possible to have two threads believing they are 
the last activity on the connection. Both threads proceed to free the same 
resources leading to memory corruption and various crashes.

The existing code has guards for this exact situation, but there is an Achilles 
heel somewhere.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to