You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "William Bardwell (JIRA)" <ji...@apache.org> on 2011/08/03 18:41:27 UTC

[jira] [Created] (TS-901) Valgrind found minor leaks and uninitialized variables

Valgrind found minor leaks and uninitialized variables
------------------------------------------------------

                 Key: TS-901
                 URL: https://issues.apache.org/jira/browse/TS-901
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP
    Affects Versions: 3.0.1
            Reporter: William Bardwell
            Priority: Minor


I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TS-901) Valgrind found minor leaks and uninitialized variables

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

Igor Galić resolved TS-901.
---------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.2
    
> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Igor Galić
>            Priority: Minor
>             Fix For: 3.0.2, 3.1.0
>
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
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-901) Valgrind found minor leaks and uninitialized variables

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

Igor Galić reopened TS-901:
---------------------------

    Backport to Version: 3.0.2

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Igor Galić
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (TS-901) Valgrind found minor leaks and uninitialized variables

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

Igor Galić reassigned TS-901:
-----------------------------

    Assignee: Igor Galić  (was: Leif Hedstrom)

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Igor Galić
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (TS-901) Valgrind found minor leaks and uninitialized variables

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

Igor Galić updated TS-901:
--------------------------

    Backport to Version:   (was: 3.0.2)
    
> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Igor Galić
>            Priority: Minor
>             Fix For: 3.1.0, 3.0.2
>
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
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-901) Valgrind found minor leaks and uninitialized variables

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

William Bardwell updated TS-901:
--------------------------------

    Attachment: uninitialized_bools.diff

Valgrind found these fields in HttpConfigParams to be uninitialized in some of our test cases, probably when handling an internal request, but not totally sure.

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Priority: Minor
>         Attachments: mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-901) Valgrind found minor leaks and uninitialized variables

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

William Bardwell updated TS-901:
--------------------------------

    Attachment: mmap_leak.diff

This is a memory leak that only seems to happen when run under valgrind, because it causes mmap() to fail, and that leaks "store".

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Priority: Minor
>         Attachments: mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-901) Valgrind found minor leaks and uninitialized variables

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

William Bardwell updated TS-901:
--------------------------------

    Attachment: main_filename_leak.diff

This is a trivial leak of filename variable during initialization.

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Priority: Minor
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-901) Valgrind found minor leaks and uninitialized variables

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

Leif Hedstrom updated TS-901:
-----------------------------

    Fix Version/s: 3.1.0
         Assignee: Leif Hedstrom

> Valgrind found minor leaks and uninitialized variables
> ------------------------------------------------------
>
>                 Key: TS-901
>                 URL: https://issues.apache.org/jira/browse/TS-901
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: main_filename_leak.diff, mmap_leak.diff, uninitialized_bools.diff
>
>
> I found a couple of memory leaks and uninitialized variables with valgrind, I will provide separate patches for each one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira