qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aidan Skinner (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-1019) Message cleanup can cause refcount to go below 0
Date Mon, 05 May 2008 10:20:55 GMT
Message cleanup can cause refcount to go below 0
------------------------------------------------

                 Key: QPID-1019
                 URL: https://issues.apache.org/jira/browse/QPID-1019
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2.1, M3
            Reporter: Aidan Skinner
            Assignee: Rob Godfrey
             Fix For: M2.1, M3


Acking while closing can cause problems:

org.apache.qpid.server.queue.MessageCleanupException: Reference count for messag
e id (HC:28454297 ID:20 Ref:-1) has gone below 0.
        at org.apache.qpid.server.queue.AMQMessage.decrementReference(AMQMessage
.java:473)
        at org.apache.qpid.server.ack.UnacknowledgedMessage.discard(Unacknowledg
edMessage.java:68)
        at org.apache.qpid.server.txn.NonTransactionalContext.acknowledgeMessage
(NonTransactionalContext.java:170)
        at org.apache.qpid.server.ack.UnacknowledgedMessageMapImpl.acknowledgeMe
ssage(UnacknowledgedMessageMapImpl.java:151)
        at org.apache.qpid.server.AMQChannel.acknowledgeMessage(AMQChannel.java:
880)
        at org.apache.qpid.server.handler.BasicAckMethodHandler.methodReceived(B
asicAckMethodHandler.java:65)
        at org.apache.qpid.server.handler.ServerMethodDispatcherImpl.dispatchBas
icAck(ServerMethodDispatcherImpl.java:125)
        at org.apache.qpid.framing.amqp_8_0.BasicAckBodyImpl.execute(BasicAckBod
yImpl.java:126)
        at org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateM
anager.java:204)


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


Mime
View raw message