activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Created: (AMQ-2045) Unbalanced Valve usage in VMTransport.
Date Mon, 29 Dec 2008 07:55:05 GMT
Unbalanced Valve usage in VMTransport.

                 Key: AMQ-2045
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.3.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 5.3.0

Valve doesn't check that its state is consistent (counters >= 0).  There's unbalanced increment/decrement
calls in VMTransport.oneway:
                 enqueueValve.decrement();  //TODO unbalanced??
 (line ~99) 

If I balance this with a preceding enqueValve.increment() I get a deadlock in a test when
the server tries to send a response message so I assume the correct fix is to remove the decrement
in this VMTransports valve.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message