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

standalone recovery code cannot handle deleted checkpoints

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.1, 4.3.1, 4.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage Engines 2019-06-17
    • v4.2

      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
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: