Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-16467

memory leak in multi_thread_test() in fdb_functional_test.cc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • forestdb
    • Security Level: Public
    • None
    • Untriaged
    • Ubuntu 64-bit
    • Unknown
    • ForestDB: Oct 17 - Nov 4

    Description

      If we enable -D_MEMLEAK option, for almost every run, multi_thread_test() reports memory leakage; it seems that some dirty blocks and their corresponding data structures in block cache are not freed.

      address 0x00000000027d1230 (allocated at src/blockcache.cc:1394, size 64) is not freed
      address 0x00000000027d3a20 (allocated at src/blockcache.cc:1394, size 64) is not freed
      address 0x00000000027d4ef0 (allocated at src/blockcache.cc:1394, size 64) is not freed
      address 0x00000000027dc750 (allocated at src/blockcache.cc:1394, size 64) is not freed
      ...
       
      address 0x00007ff9700021b0 (allocated at src/blockcache.cc:1113, size 32) is not freed
      address 0x00007ff970002220 (allocated at src/blockcache.cc:1113, size 32) is not freed
      address 0x00007ff970002290 (allocated at src/blockcache.cc:1113, size 32) is not freed
      address 0x00007ff970002300 (allocated at src/blockcache.cc:1113, size 32) is not freed
      ...
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jung-sang Jung-Sang Ahn (Inactive)
            jung-sang Jung-Sang Ahn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty