Bug 455247 - with protectio enabled, java client can deadlock
with protectio enabled, java client can deadlock
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-java (Show other bugs)
All Linux
urgent Severity high
: 1.0.1
: ---
Assigned To: Rafael H. Schloming
Kim van der Riet
Depends On:
Blocks: 455249 460185
  Show dependency treegraph
Reported: 2008-07-14 09:41 EDT by Rafael H. Schloming
Modified: 2014-12-01 18:14 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-06 15:08:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0640 normal SHIPPED_LIVE Red Hat Enterprise MRG bug fix and enhancement update 2008-10-06 15:08:07 EDT

  None (edit)
Description Rafael H. Schloming 2008-07-14 09:41:39 EDT
With -Dprotectio=true, the java client adds a MINA filter that will block writes
if there are more than N bytes of outstanding writes being held in memory.
Unfortunately, this can cause deadlocks in the client because MINA only uses one
thread to process all I/O (both reads and writes). The deadlock can occur when
the client tries to write directly from the callback made by the MINA I/O
thread. If this write attempt should block, then MINAs I/O thread will block
until some outstanding writes have been made, but no more writes can ever be
made because the MINA I/O thread that is supposed to do those writes is being
blocked by the callback.
Comment 4 errata-xmlrpc 2008-10-06 15:08:37 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.