Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4274

Fix memory leak in wt4156_metadata_salvage test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.3, 4.1.3, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines 2018-09-10

      The clang sanitizer job on tinderbox failed in the new metadata salvage test with a memory leak. This is a new test from WT-4156. The failing job is http://build.wiredtiger.com:8080/job/wiredtiger-clang-sanitizer/3350

      ================================================================
      ==45861==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 237568 byte(s) in 1 object(s) allocated from:
          #0 0x4d02c0 in malloc (/work/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/test/csuite/test_wt4156_metadata_salvage+0x4d02c0)
          #1 0x50cc1e in dmalloc /work/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/test/utility/../../../test/utility/misc.c:237:11
          #2 0x50a941 in corrupt_metadata /work/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/test/csuite/../../../test/csuite/wt4156_metadata_salvage/main.c:210:8
          #3 0x50a941 in main /work/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/test/csuite/../../../test/csuite/wt4156_metadata_salvage/main.c:397
          #4 0x7f6af9c9a889 in __libc_start_main (/lib64/libc.so.6+0x20889)
      
      SUMMARY: AddressSanitizer: 237568 byte(s) leaked in 1 allocation(s).
      FAIL test_wt4156_metadata_salvage (exit status: 1)
      

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: