You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Bhavani Iyer (JIRA)" <ui...@incubator.apache.org> on 2007/05/31 14:43:15 UTC

[jira] Created: (UIMA-423) Detect and fix memory leaks

Detect and fix memory leaks
---------------------------

                 Key: UIMA-423
                 URL: https://issues.apache.org/jira/browse/UIMA-423
             Project: UIMA
          Issue Type: Bug
          Components: C++ Framework
    Affects Versions: 2.1, 2.2
            Reporter: Bhavani Iyer


Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Updated: (UIMA-423) Detect and fix memory leaks

Posted by "Bhavani Iyer (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhavani Iyer updated UIMA-423:
------------------------------

    Attachment: UIMA-423.patch

This patch contains the following:
1) Memory leak detection enabled under MS VC++ 8 debug build.
2) Fixed leaks in:
     i.  XMI  serialization 
    ii. CAS object destructor, createView()
    iii SofaStream 
    iv. CodePage2UnicodeConverter and Unicode2CodePageConverter 
   v.   uima:::Exception::asString()
   vi.  test programs -- test_sofa, test_primitivetypes, test_xcasdeserializatio and test_xmideserialization.

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>         Attachments: UIMA-423.patch
>
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Assigned: (UIMA-423) Detect and fix memory leaks

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein reassigned UIMA-423:
----------------------------------

    Assignee: Eddie Epstein

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Updated: (UIMA-423) Detect and fix memory leaks

Posted by "Bhavani Iyer (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhavani Iyer updated UIMA-423:
------------------------------

    Attachment: UIMA-423-2.patch

fix memory leak in XMLParser

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>         Attachments: UIMA-423-1.patch, UIMA-423-2.patch, UIMA-423.patch
>
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Updated: (UIMA-423) Detect and fix memory leaks

Posted by "Bhavani Iyer (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhavani Iyer updated UIMA-423:
------------------------------

    Attachment: UIMA-423-1.patch

This patch contains fixes for:

1) AnnotatorContext::release(vector<string*>) was not freeing elements in the vector.
2) Some XMLParser methods  were not not deleting XMLErrorHandler under error conditions.  
3) Modified runAECpp to check that the input file / direcotory exists before instantiating an engine and cas. runAECppD will report a memory leak if run in debug mode with an invalid descriptor since the AnalysisEngine::createAnalysisEngine method releases auto ptrs before initialization is completed. 
4) Cleaned up memory leaks in test cases - test_cas and test_engine still report leaks when run in debug mode.  

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>         Attachments: UIMA-423-1.patch, UIMA-423.patch
>
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Closed: (UIMA-423) Detect and fix memory leaks

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein closed UIMA-423.
------------------------------

    Resolution: Fixed

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>             Fix For: 2.2C
>
>         Attachments: UIMA-423-1.patch, UIMA-423-2.patch, UIMA-423.patch
>
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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


[jira] Work started: (UIMA-423) Detect and fix memory leaks

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on UIMA-423 started by Eddie Epstein.

> Detect and fix memory leaks
> ---------------------------
>
>                 Key: UIMA-423
>                 URL: https://issues.apache.org/jira/browse/UIMA-423
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Bhavani Iyer
>            Assignee: Eddie Epstein
>         Attachments: UIMA-423.patch
>
>
> Fournd memory leaks in XMI  serialization, exception handling, CAS.  Memory leak detection in debug mode is currently disabled in the base code because of issues with malloc.h in Visual Studio 7.  This appears to  be fixed in VS 8.  

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