You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/06/13 12:08:45 UTC
[jira] Commented: (QPID-1019) Message cleanup can cause refcount to
go below 0
[ https://issues.apache.org/jira/browse/QPID-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604790#action_12604790 ]
Martin Ritchie commented on QPID-1019:
--------------------------------------
Would be really good to get some more details of what the .Net is doing to the broker. Whilst the fix is a defensive measure on the broker I'm concerned that the real problem is still there.
What .Net test/s we being run to cause the ref counting problem?
> 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: 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.