You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/09/15 06:38:21 UTC

[jira] [Updated] (TS-4857) Memory leak in BaseLogFile.

     [ https://issues.apache.org/jira/browse/TS-4857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-4857:
------------------------------
    Fix Version/s: 7.0.0

> Memory leak in BaseLogFile.
> ---------------------------
>
>                 Key: TS-4857
>                 URL: https://issues.apache.org/jira/browse/TS-4857
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, Logging
>            Reporter: James Peach
>             Fix For: 7.0.0
>
>
> Seeing these 2 leaks on startup:
> {noformat}
> leaks Report Version:  2.0
> Process 63871: 8602 nodes malloced for 63738 KB
> Process 63871: 2 leaks for 736 total leaked bytes.
> Leak: 0x7f94696002d0  size=64  zone: DefaultMallocZone_0xc9ea000  length: 47  has-length-byte:  "opt/ats/var/log/trafficserver/.traffic.out.meta"
> 	Call stack: [thread 0x7fff7d0ce000]: | 0x8 | start | main Main.cc:1513 | Diags::set_stdout_output(char const*) Diags.cc:787 | BaseLogFile::open_file(int) BaseLogFile.cc:320 | BaseMetaInfo::BaseMetaInfo(char const*) .BaseLogFile.h:109 | BaseMetaInfo::BaseMetaInfo(char const*) .BaseLogFile.h:108 | BaseMetaInfo::_build_name(char const*) BaseLogFile.cc:471 | ats_malloc ink_memory.cc:59 | malloc | malloc_zone_malloc
> Leak: 0x7f9469600630  size=672  zone: DefaultMallocZone_0xc9ea000
> 	0x696002d0 0x00007f94 0x57d77387 0x00000000 	..`i.....s.W....
> 	0x00000000 0x00000000 0x0000000b 0x61657200 	.............rea
> 	0x6e6f6974 0x6d69745f 0x203d0065 0x33373431 	tion_time.= 1473
> 	0x36373337 0x3d003730 0x00000000 0x00000000 	737607.=........
> 	0x00000000 0x00000000 0x00000000 0x00000000 	................
> 	0x00000000 0x00000000 0x00000000 0x00000000 	................
> 	0x00000000 0x00000000 0x00000000 0x00000000 	................
> 	0x00000000 0x00000000 0x00000000 0x00000000 	................
> 	...
> 	Call stack: [thread 0x7fff7d0ce000]: | 0x8 | start | main Main.cc:1513 | Diags::set_stdout_output(char const*) Diags.cc:787 | BaseLogFile::open_file(int) BaseLogFile.cc:320 | operator new(unsigned long) | malloc | malloc_zone_malloc
> {noformat}



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