Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4857

Memory leak in BaseLogFile.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • Core, Logging
    • None

    Description

      Seeing these 2 leaks on startup:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: