You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <ji...@apache.org> on 2010/11/12 23:26:13 UTC

[jira] Created: (QPID-2941) CLFS store recovery can encounter invalid C++ iterator

CLFS store recovery can encounter invalid C++ iterator
------------------------------------------------------

                 Key: QPID-2941
                 URL: https://issues.apache.org/jira/browse/QPID-2941
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.7
         Environment: Windows, hybrid SQL-CLFS store
            Reporter: Steve Huston
            Assignee: Steve Huston
             Fix For: 0.8


If the CLFS recovery replays a set of operations on a message which results in its removal from the list of valid messages (for example, it is dequeued from all queues) there's an error in handling the C++ iterators working through the recovery operations - in debug mode this results in the C++ runtime throwing an error about mismatched iterators. In Release mode it will either hang or crash.


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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2941) CLFS store recovery can encounter invalid C++ iterator

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931623#action_12931623 ] 

Robbie Gemmell commented on QPID-2941:
--------------------------------------

Hi Steve, 

The change looks ok to me and since it is also localised to a new component anyway I don't see a problem including it. Feel free to merge it (and if you didn't get this message in time, don't worry, I'll make sure it gets done before I produce RC2)

Robbie


> CLFS store recovery can encounter invalid C++ iterator
> ------------------------------------------------------
>
>                 Key: QPID-2941
>                 URL: https://issues.apache.org/jira/browse/QPID-2941
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.7
>         Environment: Windows, hybrid SQL-CLFS store
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: 0.8
>
>
> If the CLFS recovery replays a set of operations on a message which results in its removal from the list of valid messages (for example, it is dequeued from all queues) there's an error in handling the C++ iterators working through the recovery operations - in debug mode this results in the C++ runtime throwing an error about mismatched iterators. In Release mode it will either hang or crash.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-2941) CLFS store recovery can encounter invalid C++ iterator

Posted by "Steve Huston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston resolved QPID-2941.
--------------------------------

    Resolution: Fixed

Resolved on trunk r1034586.

Robbie, may I merge this into 0.8-release-candidates? It is an important fix.

> CLFS store recovery can encounter invalid C++ iterator
> ------------------------------------------------------
>
>                 Key: QPID-2941
>                 URL: https://issues.apache.org/jira/browse/QPID-2941
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.7
>         Environment: Windows, hybrid SQL-CLFS store
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: 0.8
>
>
> If the CLFS recovery replays a set of operations on a message which results in its removal from the list of valid messages (for example, it is dequeued from all queues) there's an error in handling the C++ iterators working through the recovery operations - in debug mode this results in the C++ runtime throwing an error about mismatched iterators. In Release mode it will either hang or crash.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org