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

Fix memory leak in wt4156_metadata_salvage test

    XMLWordPrintable

    Details

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

      Description

      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)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: