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

SegFault while releasing exclusive eviction access during dhandle open

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Engines 2019-05-06

      There was a segmentation fault fired while running test_wt4333_handle_locks as part of wiredtiger-test-spinlock job on 'kodkod-aws'. 

      http://build.wiredtiger.com:8080/job/wiredtiger-test-spinlock/4708/

      ../../../build_posix/gnu-support/test-driver: line 107: 13746 Segmentation fault      (core dumped) "$@" > $log_file 2>&1
      FAIL: test_wt4333_handle_locks 

      The stack trace: 

      (gdb) bt
      #0  __wt_evict_file_exclusive_off (session=0x1ed25b0) at ../src/evict/evict_lru.c:924
      #1  0x00000000004117b8 in __wt_conn_dhandle_open (session=0x1ed25b0, cfg=0x7f68eadacd10, flags=0)
          at ../src/conn/conn_dhandle.c:504
      #2  0x00000000004869ac in __wt_session_get_dhandle (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt",
          checkpoint=0x7f68a43836f0 "WiredTigerCheckpoint.3", cfg=0x7f68eadacd10, flags=0) at ../src/session/session_dhandle.c:545
      #3  0x0000000000486955 in __wt_session_get_dhandle (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt",
          checkpoint=0x7f68a43836f0 "WiredTigerCheckpoint.3", cfg=0x7f68eadacd10, flags=0) at ../src/session/session_dhandle.c:537
      #4  0x00000000004861db in __wt_session_get_btree_ckpt (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt",
          cfg=0x7f68eadacd10, flags=0) at ../src/session/session_dhandle.c:350
      #5  0x0000000000531771 in __wt_curfile_open (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt", owner=0x0,
          cfg=0x7f68eadacd10, cursorp=0x7f68eadacd30) at ../src/cursor/cur_file.c:828
      #6  0x00000000004756b9 in __session_open_cursor_int (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt", owner=0x0,
          other=0x0, cfg=0x7f68eadacd10, cursorp=0x7f68eadacd30) at ../src/session/session_api.c:485
      #7  0x0000000000475a32 in __wt_open_cursor (session=0x1ed25b0, uri=0x7f68ac10d480 "file:622.wt", owner=0x0,
          cfg=0x7f68eadacd10, cursorp=0x7f68eadacd30) at ../src/session/session_api.c:558
      #8  0x000000000054f102 in __wt_curtable_open (session=0x1ed25b0, uri=0x1eb7bb0 "table:622", owner=0x0, cfg=0x7f68eadacd10,
          cursorp=0x7f68eadacd30) at ../src/cursor/cur_table.c:999
      #9  0x00000000004753c1 in __session_open_cursor_int (session=0x1ed25b0, uri=0x1eb7bb0 "table:622", owner=0x0, other=0x0,
          cfg=0x7f68eadacd10, cursorp=0x7f68eadacd30) at ../src/session/session_api.c:445
      #10 0x0000000000475f99 in __session_open_cursor (wt_session=0x1ed25b0, uri=0x1eb7bb0 "table:622", to_dup=0x0,
          config=0x595b10 "checkpoint=WiredTigerCheckpoint", cursorp=0x7f68eadace20) at ../src/session/session_api.c:616
      #11 0x0000000000402b27 in op (session=0x1ed25b0, rnd=0x7f68eadace80, cpp=0x7f68eadace90)
          at ../../../test/csuite/wt4333_handle_locks/main.c:113
      #12 0x0000000000402e53 in wthread (arg=0x0) at ../../../test/csuite/wt4333_handle_locks/main.c:166
      #13 0x00007f68f11b26db in start_thread (arg=0x7f68eadad700) at pthread_create.c:463
      #14 0x00007f68f0edb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 

            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: