You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Brian Geffon (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 22:48:40 UTC

[jira] [Created] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

TSHttpTxnErrorBodySet() can leak memory (pt 2)
----------------------------------------------

                 Key: TS-1038
                 URL: https://issues.apache.org/jira/browse/TS-1038
             Project: Traffic Server
          Issue Type: Bug
    Affects Versions: 3.0.1
            Reporter: Brian Geffon


TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().

Patch included.

--
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] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "Igor Galić (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-1038:
---------------------------

    Backport to Version: 3.0.3
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Igor Galić
>             Fix For: 3.1.2
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] [Reopened] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "Igor Galić (Reopened JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić reopened TS-1038:
----------------------------


reopen for backport
                
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Igor Galić
>             Fix For: 3.1.2
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] [Assigned] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

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

Leif Hedstrom reassigned TS-1038:
---------------------------------

    Assignee: Leif Hedstrom  (was: William Bardwell)
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.2
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] [Resolved] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "Igor Galić (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić resolved TS-1038.
----------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.3
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Igor Galić
>             Fix For: 3.1.2, 3.0.3
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

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

Leif Hedstrom updated TS-1038:
------------------------------

    Fix Version/s: 3.1.2
         Assignee: William Bardwell

Cool! William, I'm assigning this to you, would you mind reviewing and landing this? If you can't (I know you just had babies, congrats!), just reassign it to me.
                
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: William Bardwell
>             Fix For: 3.1.2
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "Igor Galić (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-1038:
---------------------------

    Backport to Version:   (was: 3.0.3)
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Igor Galić
>             Fix For: 3.1.2, 3.0.3
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

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

Brian Geffon updated TS-1038:
-----------------------------

    Attachment: TSHttpTxnErrorBodySet.patch
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "William Bardwell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164927#comment-13164927 ] 

William Bardwell commented on TS-1038:
--------------------------------------

Good catch, although I would note that currently the internal uses of the internal_msg_buffer* fields do not set the type, so this is a bit less serious.
                
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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] [Assigned] (TS-1038) TSHttpTxnErrorBodySet() can leak memory (pt 2)

Posted by "Igor Galić (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić reassigned TS-1038:
------------------------------

    Assignee: Igor Galić  (was: Leif Hedstrom)
    
> TSHttpTxnErrorBodySet() can leak memory (pt 2)
> ----------------------------------------------
>
>                 Key: TS-1038
>                 URL: https://issues.apache.org/jira/browse/TS-1038
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Brian Geffon
>            Assignee: Igor Galić
>             Fix For: 3.1.2
>
>         Attachments: TSHttpTxnErrorBodySet.patch
>
>
> TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 which frees internal_msg_buffer_type...it's expected that mimetype was malloced since clearly it's being freed. So that means there is still a memory leak in TSHttpTxnErrorBodySet().
> Patch included.

--
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