qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-1019) Message cleanup can cause refcount to go below 0
Date Fri, 13 Jun 2008 10:08:45 GMT

    [ 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.


Mime
View raw message