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

standalone recovery code cannot handle deleted checkpoints

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.1, 4.3.1, 4.2.0-rc2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      Storage Engines 2019-06-17
    • Backport Requested:
      v4.2

      Description

      http://build.wiredtiger.com:8080/job/wiredtiger-clang-sanitizer/3616/

       is a sanitizer run failure:

      ==4055==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 588 byte(s) in 1 object(s) allocated from:
          #0 0x4da810 in malloc (/mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/.libs/wt+0x4da810)
          #1 0x7f9ef16b4f0c in __wt_malloc /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/os_common/os_alloc.c:85:11
          #2 0x7f9ef16b4f0c in __wt_strndup /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/os_common/os_alloc.c:287
          #3 0x7f9ef169f6f1 in __wt_meta_block_metadata /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/meta/meta_ckpt.c:299:2
          #4 0x7f9ef16a0066 in __wt_meta_ckptlist_get /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/meta/meta_ckpt.c:391:3
          #5 0x7f9ef1448b56 in __wt_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/btree/bt_import.c:109:2
          #6 0x7f9ef1767478 in __session_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/session/session_api.c:1144:2
          #7 0x51828b in util_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_import.c:44:13
          #8 0x524199 in main /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_main.c:301:8
          #9 0x7f9ef0319b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
       
      Direct leak of 40 byte(s) in 1 object(s) allocated from:
          #0 0x4dac90 in realloc (/mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/.libs/wt+0x4dac90)
          #1 0x7f9ef16b4452 in __realloc_func /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/os_common/os_alloc.c:130:11
          #2 0x7f9ef17aee2d in __wt_buf_grow_worker /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/support/scratch.c:49:4
          #3 0x7f9ef1448c53 in __wt_buf_grow /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/include/buf.i:18:6
          #4 0x7f9ef1448c53 in __wt_buf_set /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/include/buf.i:85
          #5 0x7f9ef1448c53 in __wt_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/btree/bt_import.c:113
          #6 0x7f9ef1767478 in __session_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/session/session_api.c:1144:2
          #7 0x51828b in util_import /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_import.c:44:13
          #8 0x524199 in main /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_main.c:301:8
          #9 0x7f9ef0319b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: