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

format-stress-sanitizer-test failure: heap-buffer-overflow in __split_parent

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      format-stress-sanitizer-test failed on Ubuntu 18.04

      Host: ec2-54-91-50-132.compute-1.amazonaws.com
      Project: WiredTiger (mongodb-4.4)
      Commit: diff: WT-5722 Add standard name checks to incremental backup identifiers. (#5351)

      • WT-5722 Add standard name checks to incremental backup identifiers.
      • Restore original functionality. Skip WiredTiger checking if we don't
        have a colon.
      • Run s_all.

      (cherry picked from commit c61fcdc6656d048339b797290514a604f6007f55) | 05 Mar 20 20:27 UTC
      Evergreen Subscription: ; Evergreen Event:

      Task Logs

       

      Log snapshot:

      [2020/03/06 02:28:31.249] format.sh: /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/test/format/RUNDIR.290 log:
      [2020/03/06 02:28:31.251]     t: process 8814 running
      [2020/03/06 02:28:31.251]     0x7f7dcc0fab80:oldest pinned transaction ID rolled back for eviction
      [2020/03/06 02:28:31.251]     =================================================================
      [2020/03/06 02:28:31.251]     ==8814==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6120003e2df0 at pc 0x000000a66850 bp 0x7f7dc32cfe50 sp 0x7f7dc32cfe48
      [2020/03/06 02:28:31.251]     WRITE of size 8 at 0x6120003e2df0 thread T5
      [2020/03/06 02:28:31.251]         #0 0xa6684f in __split_parent /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:700:27
      [2020/03/06 02:28:31.251]         #1 0xa5b44c in __split_reverse /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:2161:11
      [2020/03/06 02:28:31.251]         #2 0xa5b292 in __wt_split_reverse /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:2181:5
      [2020/03/06 02:28:31.251]         #3 0x683a8b in __evict_delete_ref /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:272:24
      [2020/03/06 02:28:31.251]         #4 0x680dbb in __evict_page_dirty_update /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:357:9
      [2020/03/06 02:28:31.251]         #5 0x67bb19 in __wt_evict /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:192:9
      [2020/03/06 02:28:31.251]         #6 0x65c3a6 in __evict_page /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:2238:5
      [2020/03/06 02:28:31.251]         #7 0x655230 in __evict_lru_pages /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:1106:20
      [2020/03/06 02:28:31.251]         #8 0x654220 in __wt_evict_thread_run /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:311:9
      [2020/03/06 02:28:31.251]         #9 0x886733 in __thread_run /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/support/thread_group.c:31:9
      [2020/03/06 02:28:31.251]         #10 0x7f7dcba606da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
      [2020/03/06 02:28:31.251]         #11 0x7f7dcab9288e in clone /build/glibc-OTsEL5/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      [2020/03/06 02:28:31.251]     0x6120003e2df0 is located 0 bytes to the right of 304-byte region [0x6120003e2cc0,0x6120003e2df0)
      [2020/03/06 02:28:31.251]     allocated by thread T5 here:
      [2020/03/06 02:28:31.251]         #0 0x4c3ada in calloc /data/mci/6d25660c910a6c7a2027a8b66804ae0f/toolchain-builder/tmp/build-llvm.sh-A40/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:155:3
      [2020/03/06 02:28:31.251]         #1 0x714a7a in __wt_calloc /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/os_common/os_alloc.c:50:14
      [2020/03/06 02:28:31.251]         #2 0xa66262 in __split_parent /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:685:5
      [2020/03/06 02:28:31.251]         #3 0xa5b44c in __split_reverse /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:2161:11
      [2020/03/06 02:28:31.251]         #4 0xa5b292 in __wt_split_reverse /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:2181:5
      [2020/03/06 02:28:31.251]         #5 0x683a8b in __evict_delete_ref /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:272:24
      [2020/03/06 02:28:31.251]         #6 0x680dbb in __evict_page_dirty_update /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:357:9
      [2020/03/06 02:28:31.251]         #7 0x67bb19 in __wt_evict /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_page.c:192:9
      [2020/03/06 02:28:31.251]         #8 0x65c3a6 in __evict_page /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:2238:5
      [2020/03/06 02:28:31.251]         #9 0x655230 in __evict_lru_pages /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:1106:20
      [2020/03/06 02:28:31.251]         #10 0x654220 in __wt_evict_thread_run /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:311:9
      [2020/03/06 02:28:31.251]         #11 0x886733 in __thread_run /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/support/thread_group.c:31:9
      [2020/03/06 02:28:31.251]         #12 0x7f7dcba606da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
      [2020/03/06 02:28:31.251]     Thread T5 created by T0 here:
      [2020/03/06 02:28:31.251]         #0 0x4ac1fd in pthread_create /data/mci/6d25660c910a6c7a2027a8b66804ae0f/toolchain-builder/tmp/build-llvm.sh-A40/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:210:3
      [2020/03/06 02:28:31.251]         #1 0x734b55 in __wt_thread_create /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/os_posix/os_thread.c:28:5
      [2020/03/06 02:28:31.251]         #2 0x883d57 in __thread_group_resize /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/support/thread_group.c:201:9
      [2020/03/06 02:28:31.251]         #3 0x884893 in __wt_thread_group_create /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/support/thread_group.c:285:5
      [2020/03/06 02:28:31.251]         #4 0x65683e in __wt_evict_create /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/evict/evict_lru.c:477:5
      [2020/03/06 02:28:31.251]         #5 0x5c4571 in __wt_connection_workers /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/conn/conn_open.c:229:5
      [2020/03/06 02:28:31.251]         #6 0x584b43 in wiredtiger_open /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/conn/conn_api.c:2681:5
      [2020/03/06 02:28:31.251]         #7 0x5293fc in wts_open /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/test/format/../../../test/format/wts.c:272:5
      [2020/03/06 02:28:31.251]         #8 0x51d16a in main /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/test/format/../../../test/format/t.c:271:9
      [2020/03/06 02:28:31.251]         #9 0x7f7dcaa92b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
      [2020/03/06 02:28:31.251]     SUMMARY: AddressSanitizer: heap-buffer-overflow /data/mci/3d510d3edd1bef70fb68d917ee6cad89/wiredtiger/build_posix/../src/btree/bt_split.c:700:27 in __split_parent 

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            xgen-evg-user Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: