Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20622

Memory leak in TTL index job

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.9
    • Affects Version/s: None
    • Component/s: TTL
    • None
    • Fully Compatible
    • ALL
    • Quint Iteration 4, Quint Iteration 5, Quint Iteration 6, Quint Iteration 7, QuInt 8 08/28/15, Quint 9 09/18/15, QuInt A (10/12/15)
    • 0

      076cd926ab z ASAN SSL Ubuntu 1404 64-bit DEBUG jsCore_small_oplog_rs_WT

      failing task
      logs

      	
      ==10062==ERROR: LeakSanitizer: detected memory leaks
      Direct leak of 24 byte(s) in 1 object(s) allocated from:
          #0 0x977269 in operator new(unsigned long) (/data/mci/shell/src/mongod+0x977269)
          #1 0x20d95b0 in mongo::startTTLBackgroundJob() /data/mci/shell/src/src/mongo/db/ttl.cpp:288
          #2 0x993a86 in mongo::_initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:589
          #3 0x98d09a in mongo::initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:606
          #4 0x9a00c2 in mongoDbMain(int, char**, char**) /data/mci/shell/src/src/mongo/db/db.cpp:857
          #5 0x9a00c2 in main /data/mci/shell/src/src/mongo/db/db.cpp:655
          #6 0x7ff927382ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)
      Indirect leak of 136 byte(s) in 1 object(s) allocated from:
          #0 0x977269 in operator new(unsigned long) (/data/mci/shell/src/mongod+0x977269)
          #1 0x26e4b86 in mongo::BackgroundJob::BackgroundJob(bool) /data/mci/shell/src/src/mongo/util/background.cpp:145
          #2 0x20d95bd in mongo::startTTLBackgroundJob() /data/mci/shell/src/src/mongo/db/ttl.cpp:288
          #3 0x993a86 in mongo::_initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:589
          #4 0x98d09a in mongo::initAndListen(int) /data/mci/shell/src/src/mongo/db/db.cpp:606
          #5 0x9a00c2 in mongoDbMain(int, char**, char**) /data/mci/shell/src/src/mongo/db/db.cpp:857
          #6 0x9a00c2 in main /data/mci/shell/src/src/mongo/db/db.cpp:655
          #7 0x7ff927382ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)
      SUMMARY: AddressSanitizer: 160 byte(s) leaked in 2 allocation(s).
      

            Assignee:
            rassi J Rassi
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: