qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-6758) Race condition can lead to referenceCount on messages being below zero
Date Thu, 12 Nov 2015 00:18:11 GMT

     [ 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


Mime
View raw message