You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/29 21:12:39 UTC

[jira] [Commented] (TS-4166) Memory leak in traffic_top

    [ https://issues.apache.org/jira/browse/TS-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124129#comment-15124129 ] 

ASF GitHub Bot commented on TS-4166:
------------------------------------

GitHub user bryancall opened a pull request:

    https://github.com/apache/trafficserver/pull/445

    TS-4166: Memory leak in traffic_top

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bryancall/trafficserver ts-4166

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/445.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #445
    
----
commit ee04327b1839365803383c7cc3d6cf93132d58a8
Author: Bryan Call <bc...@apache.org>
Date:   2016-01-29T20:12:08Z

    TS-4166: Memory leak in traffic_top

----


> Memory leak in traffic_top
> --------------------------
>
>                 Key: TS-4166
>                 URL: https://issues.apache.org/jira/browse/TS-4166
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 6.1.0
>            Reporter: Bryan Call
>
> {code}
> =================================================================
> ==25539==ERROR: LeakSanitizer: detected memory leaks
> Direct leak of 6 byte(s) in 1 object(s) allocated from:
>     #0 0x7fd8fed4096a in malloc (/lib64/libasan.so.2+0x9896a)
>     #1 0x7fd8fe80acc5 in ats_malloc /home/bcall/dev/apache/trafficserver/lib/ts/ink_memory.cc:54
>     #2 0x7fd8fe80af66 in _xstrdup /home/bcall/dev/apache/trafficserver/lib/ts/ink_memory.cc:225
>     #3 0x7fd8fea86b1b in TSRecordGetString /home/bcall/dev/apache/trafficserver/mgmt/api/INKMgmtAPI.cc:1462
>     #4 0x418cf9 in Stats::getStats() /home/bcall/dev/apache/trafficserver/cmd/traffic_top/stats.h:266
>     #5 0x4037b4 in main /home/bcall/dev/apache/trafficserver/cmd/traffic_top/traffic_top.cc:410
>     #6 0x7fd8fb34257f in __libc_start_main (/lib64/libc.so.6+0x2057f)
> SUMMARY: AddressSanitizer: 6 byte(s) leaked in 1 allocation(s).
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)