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

Reply via email to