[
https://issues.apache.org/jira/browse/QPID-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gordon Sim resolved QPID-4764.
------------------------------
Resolution: Fixed
Fixed in http://svn.apache.org/viewvc?view=revision&revision=1475723
> Locking may lead to deadlock for concurrent receiver
> ----------------------------------------------------
>
> Key: QPID-4764
> URL: https://issues.apache.org/jira/browse/QPID-4764
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.22
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.23
>
>
> The lock ordering leaves open the possibility of a deadlock if one thread is
> fetching on a receiver, another is accepting messages received by it and a
> third is closing the receiver.
> Thread 1 holds SessionImpl's lock and is blocked on IncomingMessage's lock.
> Thread 2 holds IncomingMessage's lock and is blocked on ReceiverImpl's lock.
> Thread 3 holds the ReceiverImpl's lock and is blocked on SessionImpl's lock.
> I have been unable to reproduce this myself, but an actual incidence has been
> reported: https://bugzilla.redhat.com/show_bug.cgi?id=703891
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]