You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "brooklin (JIRA)" <ji...@apache.org> on 2012/08/16 05:14:37 UTC

[jira] [Created] (ZOOKEEPER-1536) c client : memory leak in winport.c

brooklin created ZOOKEEPER-1536:
-----------------------------------

             Summary: c client : memory leak in winport.c
                 Key: ZOOKEEPER-1536
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.4.3
         Environment: windows7
            Reporter: brooklin
             Fix For: 3.4.4


At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1536) c client : memory leak in winport.c

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

brooklin updated ZOOKEEPER-1536:
--------------------------------

    Attachment: winport.c.patch

fix memory when InitialCriticalSection but not Delete issue.
                
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>             Fix For: 3.4.4
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1536) c client : memory leak in winport.c

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445163#comment-13445163 ] 

Michi Mutsuzaki commented on ZOOKEEPER-1536:
--------------------------------------------

+1.

Thank you for the patch, brooklin!

--Michi
                
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ZOOKEEPER-1536) c client : memory leak in winport.c

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445172#comment-13445172 ] 

Mahadev konar commented on ZOOKEEPER-1536:
------------------------------------------

Michi is this committed to 3.4 branch as well? 
                
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (ZOOKEEPER-1536) c client : memory leak in winport.c

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

Michi Mutsuzaki resolved ZOOKEEPER-1536.
----------------------------------------

    Resolution: Fixed
    
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ZOOKEEPER-1536) c client : memory leak in winport.c

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445837#comment-13445837 ] 

Hudson commented on ZOOKEEPER-1536:
-----------------------------------

Integrated in ZooKeeper-trunk #1665 (See [https://builds.apache.org/job/ZooKeeper-trunk/1665/])
    ZOOKEEPER-1536 c client : memory leak in winport.c (brooklin via michim) (Revision 1379046)

     Result = SUCCESS
michim : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1379046
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/c/src/winport.c

                
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ZOOKEEPER-1536) c client : memory leak in winport.c

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

Michi Mutsuzaki updated ZOOKEEPER-1536:
---------------------------------------

    Fix Version/s: 3.5.0
    
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ZOOKEEPER-1536) c client : memory leak in winport.c

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445220#comment-13445220 ] 

Michi Mutsuzaki commented on ZOOKEEPER-1536:
--------------------------------------------

I'm committing this to 3.4 branch right now.

--Michi
                
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ZOOKEEPER-1536) c client : memory leak in winport.c

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

Mahadev konar updated ZOOKEEPER-1536:
-------------------------------------

    Assignee: brooklin
    
> c client : memory leak in winport.c
> -----------------------------------
>
>                 Key: ZOOKEEPER-1536
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1536
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>         Environment: windows7
>            Reporter: brooklin
>            Assignee: brooklin
>             Fix For: 3.4.4
>
>         Attachments: winport.c.patch
>
>
> At line 99 in winport.c, use windows API "InitializeCriticalSection" but never call "DeleteCriticalSection"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira