You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2007/01/25 18:32:49 UTC

[jira] Created: (TUSCANY-1078) SDO memory management problems

SDO memory management problems
------------------------------

                 Key: TUSCANY-1078
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1078
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SDO
    Affects Versions: Cpp-current
         Environment: Fedora Core 5
            Reporter: Simon Laws


There are serveral cases in SDO (as used during the model loading stage of the SCA CPPCalculator samples) where valgrind reports memory being deleted more that once. In the example I am running they are reported in
 ~SAX2Parser
 ~DataObjectImpl
 ~SDORuntimeException
 Logger::LogArgs1()
 Logger::LogArgs2()

To replicate pick an application that uses SDO and run it under valgrind. I should point out that, for me, Purify didn't report these errors on windows.

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


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


[jira] Updated: (TUSCANY-1078) SDO memory management problems

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-1078:
-------------------------------

    Fix Version/s: Cpp-current

> SDO memory management problems
> ------------------------------
>
>                 Key: TUSCANY-1078
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1078
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Fedora Core 5
>            Reporter: Simon Laws
>             Fix For: Cpp-current
>
>
> There are serveral cases in SDO (as used during the model loading stage of the SCA CPPCalculator samples) where valgrind reports memory being deleted more that once. In the example I am running they are reported in
>  ~SAX2Parser
>  ~DataObjectImpl
>  ~SDORuntimeException
>  Logger::LogArgs1()
>  Logger::LogArgs2()
> To replicate pick an application that uses SDO and run it under valgrind. I should point out that, for me, Purify didn't report these errors on windows.

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


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


[jira] Commented: (TUSCANY-1078) SDO memory management problems

Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474671 ] 

Geoff Winn commented on TUSCANY-1078:
-------------------------------------

I'm working on this issue.

Valgrind identifies quite a few things that it doesn't like in our code. So far I've concentrated on cases where the new operator is used to allocate an array and that array is subsequently removed with a call to delete rather than delete[]. Once I've fixed all of those I'll move on to the other cases.

> SDO memory management problems
> ------------------------------
>
>                 Key: TUSCANY-1078
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1078
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Fedora Core 5
>            Reporter: Simon Laws
>             Fix For: Cpp-M3
>
>
> There are serveral cases in SDO (as used during the model loading stage of the SCA CPPCalculator samples) where valgrind reports memory being deleted more that once. In the example I am running they are reported in
>  ~SAX2Parser
>  ~DataObjectImpl
>  ~SDORuntimeException
>  Logger::LogArgs1()
>  Logger::LogArgs2()
> To replicate pick an application that uses SDO and run it under valgrind. I should point out that, for me, Purify didn't report these errors on windows.

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


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