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

Dead handle detected while marking page dirty during LSM bloom filter creation

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

      There's an assertion failure while running checkpoint test on tinderbox, finding active delete while marking the page dirty, during LSM bloom filter creation. 

      http://build.wiredtiger.com:8080/job/wiredtiger/7088/

      Finished verifying a checkpoint with 3 tables and 62353 keys
      Finished verifying a snapshot with 3 tables and 63961 keys
      Ran workers for: 32.496852 seconds
      Finished a checkpoint
      [1559693746:345145][60799:0x7f0ea0ff1700], t, file:__wt0001-000003.bf, WT_SESSION.open_cursor: __wt_page_only_modify_set, 496: !F_ISSET(session->dhandle, WT_DHANDLE_DEAD)
      [1559693746:345205][60799:0x7f0ea0ff1700], t, file:__wt0001-000003.bf, WT_SESSION.open_cursor: __wt_abort, 30: aborting WiredTiger library
      Closing connection
      ../../../test/checkpoint/smoke.sh: line 34: 60799 Aborted                 (core dumped) $TEST_WRAPPER ./t -T 3 -t m -W 3 -r 2 -x -n 100000 -k 100000
      FAIL smoke.sh (exit status: 134) 

      Stack trace: 

      (gdb) bt
      #0  0x00007f0eacdd49fb in raise () from /lib64/libc.so.6
      #1  0x00007f0eacdd6800 in abort () from /lib64/libc.so.6
      #2  0x00007f0ead905924 in __wt_abort (session=0x7f0eadfedb28) at ../src/os_common/os_abort.c:32
      #3  0x00007f0ead800096 in __wt_page_only_modify_set (session=0x7f0eadfedb28, page=0x7f0e7404fce0) at ../src/include/btree.i:496
      #4  0x00007f0ead8033be in __btree_tree_open_empty (session=0x7f0eadfedb28, creation=true) at ../src/btree/bt_handle.c:764
      #5  0x00007f0ead8013af in __wt_btree_open (session=0x7f0eadfedb28, op_cfg=0x7f0ea0ff0cd0) at ../src/btree/bt_handle.c:192
      #6  0x00007f0ead86dc80 in __wt_conn_dhandle_open (session=0x7f0eadfedb28, cfg=0x7f0ea0ff0cd0, flags=528) at ../src/conn/conn_dhandle.c:472
      #7  0x00007f0ead961fa9 in __wt_session_get_dhandle (session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", checkpoint=0x0,
          cfg=0x7f0ea0ff0cd0, flags=528) at ../src/session/session_dhandle.c:545
      #8  0x00007f0ead961f52 in __wt_session_get_dhandle (session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", checkpoint=0x0,
          cfg=0x7f0ea0ff0cd0, flags=528) at ../src/session/session_dhandle.c:537
      #9  0x00007f0ead961657 in __wt_session_get_btree_ckpt (session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", cfg=0x7f0ea0ff0cd0,
          flags=528) at ../src/session/session_dhandle.c:350
      #10 0x00007f0ead890cd6 in __wt_curfile_open (session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", owner=0x0, cfg=0x7f0ea0ff0cd0,
          cursorp=0x7f0ea0ff0cf0) at ../src/cursor/cur_file.c:824
      #11 0x00007f0ead94d36f in __session_open_cursor_int (session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", owner=0x0, other=0x0,
          cfg=0x7f0ea0ff0cd0, cursorp=0x7f0ea0ff0cf0) at ../src/session/session_api.c:485
      #12 0x00007f0ead94dd5d in __session_open_cursor (wt_session=0x7f0eadfedb28, uri=0x7f0e7404e840 "file:__wt0001-000003.bf", to_dup=0x0,
          config=0x7f0ead994561 "bulk=bitmap", cursorp=0x7f0ea0ff0d78) at ../src/session/session_api.c:616
      #13 0x00007f0ead7db38b in __wt_bloom_finalize (bloom=0x7f0e7404e7f0) at ../src/bloom/bloom.c:221
      #14 0x00007f0ead8fab59 in __lsm_bloom_create (session=0x7f0eadfedb28, lsm_tree=0x1527f60, chunk=0x7f0e74000950, chunk_off=1)
          at ../src/lsm/lsm_work_unit.c:610
      #15 0x00007f0ead8f9aca in __wt_lsm_work_bloom (session=0x7f0eadfedb28, lsm_tree=0x1527f60) at ../src/lsm/lsm_work_unit.c:233
      #16 0x00007f0ead8fb913 in __lsm_worker_general_op (session=0x7f0eadfedb28, cookie=0x1477c48, completed=0x7f0ea0ff0f16) at ../src/lsm/lsm_worker.c:88
      #17 0x00007f0ead8fba22 in __lsm_worker (arg=0x1477c48) at ../src/lsm/lsm_worker.c:135
      #18 0x00007f0ead17a36d in start_thread () from /lib64/libpthread.so.0
      #19 0x00007f0eaceaeb4f in clone () from /lib64/libc.so.6 

       

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

              Created:
              Updated:
              Resolved: