You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/08/09 00:30:49 UTC
[jira] [Created] (TS-2121) log object memory leaks on startup
James Peach created TS-2121:
-------------------------------
Summary: log object memory leaks on startup
Key: TS-2121
URL: https://issues.apache.org/jira/browse/TS-2121
Project: Traffic Server
Issue Type: Bug
Components: Logging, Quality
Reporter: James Peach
After starting traffic_server, but not taking any traffic, there are some logging-related memory leaks at startup:
{code}
Process: traffic_server [58701]
Path: /opt/ats/bin/traffic_server
Load Address: 0x10bdc4000
Identifier: traffic_server
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [48024]
Date/Time: 2013-08-08 15:26:26.767 -0700
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 7
leaks Report Version: 2.0
Process 58701: 12925 nodes malloced for 79092 KB
Process 58701: 4 leaks for 368 total leaked bytes.
Leak: 0x7ff265100110 size=144 zone: DefaultMallocZone_0x10c9c9000
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000001 0x00000000 0x651001a0 0x00007ff2 ...........e....
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000005 0x00000000 0x00000000 0x00000000 ................
...
Call stack: [thread 0x7fff7c782180]: | 0x1 | start | main Main.cc:1570 | Log::init(int) Log.cc:983 | LogConfig::init(LogConfig*) LogConfig.cc:720 | TextLogObject::TextLogObject(char const*, char const*, bool, char const*, int, int, int, int) LogObject.cc:808 | TextLogObject::TextLogObject(char const*, char const*, bool, char const*, int, int, int, int) LogObject.cc:807 | operator new(unsigned long) | malloc | malloc_zone_malloc
Leak: 0x7ff263408f50 size=112 zone: DefaultMallocZone_0x10c9c9000
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x4d555458 0x00000000 ........XTUM....
0x00000000 0x00002060 0x00000000 0x00000000 ....` ..........
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x63408f90 0x00007ff2 0x63408f94 0x00007ff2 ..@c......@c....
0x00000000 0x00000000 0x00000005 0x00000000 ................
Call stack: [thread 0x7fff7c782180]: | 0x1 | start | main Main.cc:1351 | initialize_process_manager() Main.cc:364 | RecProcessInit(RecModeT, Diags*) RecProcess.cc:375 | RecCoreInit(RecModeT, Diags*) RecCore.cc:165 | RecConfigFileInit() RecConfigParse.cc:46 | create_queue() llqueue.cc:77 | ats_malloc ink_memory.cc:50 | malloc | malloc_zone_malloc
Leak: 0x7ff263408fc0 size=96 zone: DefaultMallocZone_0x10c9c9000
0x63408fc8 0x00007ff2 0x00000000 0x00000000 ..@c............
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x00000000 0x00000004 0x00000000 ................
0x0000000c 0x0000001c 0x00000003 0x00000000 ................
0x0ca87069 0x00000001 0x0ca87075 0x00000001 ip......up......
0x00000000 0x00000000 0x00000000 0x00000000 ................
Call stack: [thread 0x7fff7c782180]: | 0x1 | start | main Main.cc:1351 | initialize_process_manager() Main.cc:364 | RecProcessInit(RecModeT, Diags*) RecProcess.cc:375 | RecCoreInit(RecModeT, Diags*) RecCore.cc:165 | RecConfigFileInit() RecConfigParse.cc:47 | ink_hash_table_create ink_hash_table.cc:62 | ats_malloc ink_memory.cc:50 | malloc | malloc_zone_malloc
Leak: 0x7ff2651001a0 size=16 zone: DefaultMallocZone_0x10c9c9000 "text"
Call stack: [thread 0x7fff7c782180]: | 0x1 | start | main Main.cc:1570 | Log::init(int) Log.cc:983 | LogConfig::init(LogConfig*) LogConfig.cc:720 | TextLogObject::TextLogObject(char const*, char const*, bool, char const*, int, int, int, int) LogObject.cc:808 | TextLogObject::TextLogObject(char const*, char const*, bool, char const*, int, int, int, int) LogObject.cc:807 | LogFormat::LogFormat(LogFormatType) LogFormat.cc:228 | LogFormat::LogFormat(LogFormatType) LogFormat.cc:220 | _xstrdup(char const*, int, char const*) ink_resource.cc:45 | ats_malloc ink_memory.cc:50 | malloc | malloc_zone_malloc
Binary Images:
0x10bdc4000 - 0x10c117ff7 +traffic_server (??? - ???) <A1209A2C-1941-338B-8E64-4BA26B52F64E> /opt/ats/bin/traffic_server
0x10c9cb000 - 0x10ca00fff +libtsutil.3.dylib (9.0.0 - compatibility 9.0.0) <30668AF7-E3A2-3462-AF7C-EF9C068DDC12> /opt/ats/lib/libtsutil.3.dylib
0x10ca2f000 - 0x10cb0afff Tcl (8.5.9 - 8.5.9) <06C33E14-35E4-3AA8-86CF-2FC4F827EB6A> /System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
0x10cb2e000 - 0x10cb89fff +libpcre.1.dylib (4.1.0 - compatibility 4.0.0) <8FC2261E-9C94-3E6B-A647-C63D594E4E3F> /usr/local/Cellar/pcre/8.33/lib/libpcre.1.dylib
0x7fff6b9c4000 - 0x7fff6b9f893f dyld (210.2 - ???) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
0x7fff8afa9000 - 0x7fff8afd7ff7 libsystem_m.dylib (??? - ???) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
0x7fff8b9a6000 - 0x7fff8b9acfff libmacho.dylib (829.0.0 - compatibility 1.0.0) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
0x7fff8ba4c000 - 0x7fff8ba71ff7 libc++abi.dylib (26.0.0 - compatibility 1.0.0) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
0x7fff8bce5000 - 0x7fff8bd4dff7 libc++.1.dylib (65.1.0 - compatibility 1.0.0) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
0x7fff8c476000 - 0x7fff8c4c2ff7 libauto.dylib (??? - ???) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
0x7fff8c8c1000 - 0x7fff8c8c2ff7 libSystem.B.dylib (169.3.0 - compatibility 1.0.0) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
0x7fff8d360000 - 0x7fff8d362fff com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff8d49a000 - 0x7fff8d49bff7 libsystem_sandbox.dylib (??? - ???) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8d6f5000 - 0x7fff8d72cff7 libssl.0.9.8.dylib (47.1.0 - compatibility 0.9.8) <B7C438BB-79FF-37B3-B8FB-253E5135CBB4> /usr/lib/libssl.0.9.8.dylib
0x7fff8f594000 - 0x7fff8f59bfff libcopyfile.dylib (89.0.0 - compatibility 1.0.0) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff8f962000 - 0x7fff8f963fff libsystem_blocks.dylib (59.0.0 - compatibility 1.0.0) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
0x7fff902b8000 - 0x7fff90321fff libstdc++.6.dylib (56.0.0 - compatibility 7.0.0) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
0x7fff90709000 - 0x7fff90758ff7 libcorecrypto.dylib (??? - ???) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
0x7fff90759000 - 0x7fff90943ff7 com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff90d70000 - 0x7fff90d92ff7 libxpc.dylib (140.43.0 - compatibility 1.0.0) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
0x7fff91199000 - 0x7fff9129bfff libcrypto.0.9.8.dylib (47.1.0 - compatibility 0.9.8) <72AA650B-0453-3BB4-BA03-824627BB199C> /usr/lib/libcrypto.0.9.8.dylib
0x7fff91e9d000 - 0x7fff91ea5ff7 libsystem_dnssd.dylib (??? - ???) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
0x7fff91eef000 - 0x7fff91f25fff libsystem_info.dylib (??? - ???) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
0x7fff923a6000 - 0x7fff923aefff liblaunch.dylib (442.26.2 - compatibility 1.0.0) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff923af000 - 0x7fff924c792f libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff92edf000 - 0x7fff92efaff7 libsystem_kernel.dylib (2050.24.15 - compatibility 1.0.0) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
0x7fff94720000 - 0x7fff94725fff libcompiler_rt.dylib (30.0.0 - compatibility 1.0.0) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff94781000 - 0x7fff9478cfff libsystem_notify.dylib (98.5.0 - compatibility 1.0.0) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
0x7fff947bc000 - 0x7fff947bcfff libkeymgr.dylib (25.0.0 - compatibility 1.0.0) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
0x7fff947bd000 - 0x7fff947bffff libquarantine.dylib (52.1.0 - compatibility 1.0.0) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
0x7fff94b66000 - 0x7fff94b67fff libDiagnosticMessagesClient.dylib (??? - ???) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff94e0c000 - 0x7fff94e27ff7 libexpat.1.dylib (7.2.0 - compatibility 7.0.0) <95D59F1F-0A5C-3F33-BA97-26F7D796CE7A> /usr/lib/libexpat.1.dylib
0x7fff951a9000 - 0x7fff951c8ff7 libresolv.9.dylib (??? - ???) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib
0x7fff95a61000 - 0x7fff95a6fff7 libsystem_network.dylib (??? - ???) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
0x7fff95a70000 - 0x7fff95a82ff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
0x7fff95da3000 - 0x7fff95da9ff7 libunwind.dylib (35.1.0 - compatibility 1.0.0) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff95e0a000 - 0x7fff95e0bff7 libdnsinfo.dylib (453.19.0 - compatibility 1.0.0) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
0x7fff95e53000 - 0x7fff95e55ff7 libunc.dylib (25.0.0 - compatibility 1.0.0) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
0x7fff95f2c000 - 0x7fff95ff8ff7 libsystem_c.dylib (825.26.0 - compatibility 1.0.0) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
0x7fff9606a000 - 0x7fff9606ffff libcache.dylib (57.0.0 - compatibility 1.0.0) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff96338000 - 0x7fff96339ff7 libremovefile.dylib (23.2.0 - compatibility 1.0.0) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
0x7fff96b74000 - 0x7fff96b77ff7 libdyld.dylib (210.2.3 - compatibility 1.0.0) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
0x7fff96c84000 - 0x7fff96e84fff libicucore.A.dylib (49.1.0 - compatibility 1.0.0) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
0x7fff9712b000 - 0x7fff97140ff7 libdispatch.dylib (228.23.0 - compatibility 1.0.0) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff97c2f000 - 0x7fff97c3dfff libcommonCrypto.dylib (50000.0.0 - compatibility 1.0.0) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira