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

Crash during checkpoint triggered by connection close

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage Engines 2018-10-08, Storage Engines 2018-10-22

      Crash during checkpoint triggered by connection close on PPC machine. There is a recent change from WT-4314 that touches the same area. 

      http://build.wiredtiger.com:8080/job/wiredtiger-test-unit-ppc/1561/console 

      ERROR: test_cursor06.test_cursor06.test_reconfigure_overwrite(table-S-complex-lsm) (subunit.RemotedTestCase)
      test_cursor06.test_cursor06.test_reconfigure_overwrite(table-S-complex-lsm)
      ----------------------------------------------------------------------
      _StringException: lost connection during test 'test_cursor06.test_cursor06.test_reconfigure_overwrite(table-S-complex-lsm)' 

      Function backtrace:

      (gdb) bt
      #0  0x00003fffa550e4d8 in raise () from /lib64/power8/libc.so.6
      #1  0x00003fffa5510658 in abort () from /lib64/power8/libc.so.6
      #2  0x00003fff9e6ef64c in __wt_abort (session=0x1003eaf6a08) at ../src/os_common/os_abort.c:32
      #3  0x00003fff9e57dd18 in __wt_block_checkpoint_load (session=0x1003eaf6a08, block=0x1003e1c2b50, addr=0x0, addr_size=0,
          root_addr=0x3ffff04988b0 "", root_addr_sizep=0x3ffff04988a8, checkpoint=false) at ../src/block/block_ckpt.c:91
      #4  0x00003fff9e586850 in __bm_checkpoint_load (bm=0x1003e315ce0, session=0x1003eaf6a08, addr=0x0, addr_size=0, root_addr=0x3ffff04988b0 "",
          root_addr_sizep=0x3ffff04988a8, checkpoint=false) at ../src/block/block_mgr.c:97
      #5  0x00003fff9e5bfef8 in __wt_btree_open (session=0x1003eaf6a08, op_cfg=0x0) at ../src/btree/bt_handle.c:153
      #6  0x00003fff9e636130 in __wt_conn_dhandle_open (session=0x1003eaf6a08, cfg=0x0, flags=0) at ../src/conn/conn_dhandle.c:450
      #7  0x00003fff9e752cd8 in __wt_session_get_dhandle (session=0x1003eaf6a08, uri=0x1003e0731f0 "file:reconfigure_indx1.wti", checkpoint=0x0, cfg=0x0,
          flags=0) at ../src/session/session_dhandle.c:546
      #8  0x00003fff9e636374 in __conn_btree_apply_internal (session=0x1003eaf6a08, dhandle=0x1003e316330,
          file_func=0x3fff9e77306c <__wt_checkpoint_get_handles>, name_func=0x0, cfg=0x3ffff04991e8) at ../src/conn/conn_dhandle.c:514
      #9  0x00003fff9e636a80 in __wt_conn_btree_apply (session=0x1003eaf6a08, uri=0x0, file_func=0x3fff9e77306c <__wt_checkpoint_get_handles>,
          name_func=0x0, cfg=0x3ffff04991e8) at ../src/conn/conn_dhandle.c:576
      #10 0x00003fff9e772e04 in __checkpoint_apply_all (session=0x1003eaf6a08, cfg=0x3ffff04991e8, op=0x3fff9e77306c <__wt_checkpoint_get_handles>)
          at ../src/txn/txn_ckpt.c:194
      #11 0x00003fff9e774364 in __checkpoint_prepare (session=0x1003eaf6a08, trackingp=0x3ffff0498fea, cfg=0x3ffff04991e8) at ../src/txn/txn_ckpt.c:700
      #12 0x00003fff9e774b2c in __txn_checkpoint (session=0x1003eaf6a08, cfg=0x3ffff04991e8) at ../src/txn/txn_ckpt.c:902
      #13 0x00003fff9e775690 in __txn_checkpoint_wrapper (session=0x1003eaf6a08, cfg=0x3ffff04991e8) at ../src/txn/txn_ckpt.c:1125
      #14 0x00003fff9e775880 in __wt_txn_checkpoint (session=0x1003eaf6a08, cfg=0x3ffff04991e8, waiting=true) at ../src/txn/txn_ckpt.c:1189
      #15 0x00003fff9e628538 in __conn_close (wt_conn=0x1003e720820, config=0x0) at ../src/conn/conn_api.c:1125
      #16 0x00003fff9e7eb7c0 in _wrap_Connection_close (self=<optimized out>, args=<optimized out>) at wiredtiger_wrap.c:8539
      #17 0x00003fffa590eef4 in PyCFunction_Call () from /lib64/libpython2.7.so.1.0
      #18 0x00003fffa59a4bb0 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #19 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #20 0x00003fffa59a569c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #21 0x00003fffa59a59c4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #22 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #23 0x00003fffa58eaa90 in function_call () from /lib64/libpython2.7.so.1.0
      #24 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #25 0x00003fffa59a1cf4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #26 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #27 0x00003fffa58ea964 in function_call () from /lib64/libpython2.7.so.1.0
      #28 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #29 0x00003fffa58b5940 in instancemethod_call () from /lib64/libpython2.7.so.1.0
      #30 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #31 0x00003fffa5942428 in slot_tp_call () from /lib64/libpython2.7.so.1.0
      ---Type <return> to continue, or q <return> to quit---
      #32 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #33 0x00003fffa59a2390 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #34 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #35 0x00003fffa59a569c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #36 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #37 0x00003fffa59a569c in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #38 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #39 0x00003fffa58eaa90 in function_call () from /lib64/libpython2.7.so.1.0
      #40 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #41 0x00003fffa59a1cf4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #42 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #43 0x00003fffa58ea964 in function_call () from /lib64/libpython2.7.so.1.0
      #44 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #45 0x00003fffa58b5940 in instancemethod_call () from /lib64/libpython2.7.so.1.0
      #46 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #47 0x00003fffa5942428 in slot_tp_call () from /lib64/libpython2.7.so.1.0
      #48 0x00003fffa589fbe4 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #49 0x00003fffa59a2390 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #50 0x00003fffa59a59c4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #51 0x00003fffa59a59c4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #52 0x00003fffa59a7420 in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #53 0x00003fffa59a7544 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
      #54 0x00003fffa59daea8 in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0
      #55 0x00003fffa59dd0ac in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0
      #56 0x00003fffa59dd7fc in PyRun_AnyFileExFlags () from /lib64/libpython2.7.so.1.0
      #57 0x00003fffa59f925c in Py_Main () from /lib64/libpython2.7.so.1.0
      #58 0x0000000010000738 in main () 

       

       

            Assignee:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: