[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to