qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aidan Skinner" <ai...@apache.org>
Subject Re: MessageListenerMultiConsumerTest deadlock when run in 0-10 code path using ant
Date Mon, 03 Mar 2008 10:22:45 GMT
On Fri, Feb 29, 2008 at 8:23 PM, Rafael Schloming <rafaels@redhat.com> wrote:

> The deadlock is between the session's _messageDeliveryLock and the
>  Dispatcher's _lock. The dispatcher thread's main loop attempts to
>  acquire _lock first and then _messageDeliveryLock. The main thread
>  acquires _messageDeliveryLock first thing on close(...) and then
>  subsequently many levels down the stack attempts to acquire _lock in
>  order to call Dispatcher.rejectPending(...).

We found (and fixed) several similar problems on M2, it's probably
worth having a look at that code to make sure there aren't any cases
being missed.

- Aidan

aim/y!:aidans42  g:aidan.skinner@gmail.com
"We belong to nobody and nobody belongs to us. We don't even belong to
each other."

View raw message