You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/11/12 01:18:11 UTC

[jira] [Resolved] (QPID-6758) Race condition can lead to referenceCount on messages being below zero

     [ https://issues.apache.org/jira/browse/QPID-6758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved QPID-6758.
-------------------------------
    Resolution: Fixed
      Assignee: Rob Godfrey

> Race condition can lead to referenceCount on messages being below zero
> ----------------------------------------------------------------------
>
>                 Key: QPID-6758
>                 URL: https://issues.apache.org/jira/browse/QPID-6758
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.32
>            Reporter: Lorenz Quack
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.0
>
>         Attachments: QPID-6758.diff
>
>
> When an incrementReference and decrementReference race unluckily in AbstractServerMessageImpl the _refCountUpdater can set the refcount to INTEGER_MIN/2 even though an incref just increased the count above zero.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org