You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/09 08:05:00 UTC

[jira] [Commented] (PROTON-2293) [c] Proactor: Raw connection wakes can crash the application

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

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

Commit ce8a40912d07560ee4008c97988b19fdde0c4d6f in qpid-proton's branch refs/heads/master from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=ce8a409 ]

PROTON-2293: Stop raw connection wakes from crashing the application
- Ensure that the raw connectino is not freed is there is a pending wake.
- Ensure that a wake will not be delivered after the application closes
  the raw connection.
- Ensure that wake events will be delivered before disconnected events
  if both are scheduled to happen.


> [c] Proactor: Raw connection wakes can crash the application
> ------------------------------------------------------------
>
>                 Key: PROTON-2293
>                 URL: https://issues.apache.org/jira/browse/PROTON-2293
>             Project: Qpid Proton
>          Issue Type: Bug
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> If a raw connection receives a wake "at the same time" as it is disconnecting then the disconnect can be processed deleting the raw connection and the wake can still enter the epoll proactor scheduler wake queue. This will cause a crash when the wake is processed after the raw connection it belongs to is freed.



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

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