You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2013/12/06 16:46:36 UTC

[jira] [Reopened] (QPID-5397) Dispatch - Crash occurs when linked deliveries are concurrently settled

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

Ted Ross reopened QPID-5397:
----------------------------


The fix was an improvement, but there is still a window of opportunity for a problem.

If a delivery is sent unsettled, and is then settled by the sender before being settled by the receiver (due to exceeding the outgoing window in Messenger for example), Dispatch may attempt to re-settle the sender-side delivery when the receiver settles thus causing problems in Proton Engine and possibly double-freeing the structure.

A new fix will hold off the unlinking and freeing of linked deliveries until they are both settled.

> Dispatch - Crash occurs when linked deliveries are concurrently settled
> -----------------------------------------------------------------------
>
>                 Key: QPID-5397
>                 URL: https://issues.apache.org/jira/browse/QPID-5397
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Dispatch
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>
> Dispatch router crashed while running a test in which a client/server pair exchanges requests and responses with acknowledgement (not pre-settled).  The test does not throttle the message rates.
> After several tens-of-thousands of transfers, the router crashed while settling a delivery and attempting to unlink it from its peer.  Apparently two linked deliveries were concurrently settled on separate threads.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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