You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2004/12/22 10:09:03 UTC

[jira] Created: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Fix trivial memory leaks revealed by profiler tools
---------------------------------------------------

         Key: AXISCPP-339
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-339
     Project: Axis-C++
        Type: Bug
  Components: Basic Architecture  
    Versions: 1.4 Final    
 Environment: All
    Reporter: Samisa Abeysinghe
 Assigned to: Samisa Abeysinghe 
     Fix For: 1.5 Alpha


There are many trivial memory leaks revealed by memory profilers, leak trace tools.
Most of the problems are due to trivial memrory managment errors.

I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_57291 ]
     
Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

The basic memory leak problems has been fixed. There are no definitely lost or possibly lost memory for most of the samples on linux.
On Windows, there seeems to be problems in case of Exceptions and also with WinSock slls.

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=all ]
     
Fred Preston closed AXISCPP-339:
--------------------------------


> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug

>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_57820 ]
     
Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

It is of paramount importance that we document a memory management guideline for the users.
At times, there could be huge memory leaks, simply because the client code did not delete the stub object, after allocating and utilizing the object.

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_58743 ]
     
Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed some leaks related to axis3 transport.

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=all ]
     
Samisa Abeysinghe resolved AXISCPP-339:
---------------------------------------

    Resolution: Fixed

I did much work with respect to this issue. I think memory leak managemnt is an ongoing issue and should be tackled on a case by case basis

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-339?page=all ]

Samisa Abeysinghe updated AXISCPP-339:
--------------------------------------

    Fix Version: 1.6 Alpha
                     (was: 1.5 Alpha)

Due to some problems with getting the complex types working, some of the changes done to fix this issue had to be rolled back towards end of 1.5 release.

This issue will be looked into in 1.6

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_12315538 ] 

Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed a leak in src/soap/xsd/Int.cpp

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-339?page=comments#action_57007 ]
     
Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed few minor problems in src/common/TypeMapping.cpp and src/soap/URIMapping.cpp.
These eliminated the Possible leaks warnings with purifier tools.
Fix was trivial; figuring out was not ;-)

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_12315541 ] 

Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed the memory leak in SoapSerializer::serializeAsElement() by releasing the memory allocated by AxisUtils::createSimpleTypeObject() for simple types. src/soap/SoapSerializer.cpp

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-339?page=comments#action_56966 ]
     
Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed several leaks with Call class, trasport classes and deserializer class.

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-339) Fix trivial memory leaks revealed by profiler tools

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-339?page=comments#action_12315536 ] 

Samisa Abeysinghe commented on AXISCPP-339:
-------------------------------------------

Fixed a leak in src/wsdd/WSDDService.cpp

> Fix trivial memory leaks revealed by profiler tools
> ---------------------------------------------------
>
>          Key: AXISCPP-339
>          URL: http://issues.apache.org/jira/browse/AXISCPP-339
>      Project: Axis-C++
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.4 Final
>  Environment: All
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.6 Alpha

>
> There are many trivial memory leaks revealed by memory profilers, leak trace tools.
> Most of the problems are due to trivial memrory managment errors.
> I will open a single Jira issue for this as it will be too much work to address all memeory leaks with seperate issues. Will use comments to report fixes. Please do the same if you fix any.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira