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


    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.6.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      @michaelcahill, the test suite is currently failing in the develop branch on pixiebob.

      Here's the stack:

      WT-5  0x0000000803718daa in __wt_assert (session=Could not find the frame base for "__wt_assert".
      ) at ../src/support/err.c:408
      WT-6  0x000000080371f261 in __wt_txn_release_snapshot (session=0x805c1e630)
          at ../src/txn/txn.c:68
      WT-7  0x000000080369456f in __wt_txn_read_last (session=0x805c1e630) at txn.i:257
      WT-8  0x0000000803694471 in __cursor_leave (cbt=0x805ce2400) at cursor.i:67
      WT-9  0x0000000803696757 in __wt_btcur_close (cbt=0x805ce2400)
          at ../src/btree/bt_cursor.c:739
      WT-10 0x00000008036dcd82 in __curfile_close (cursor=0x805ce2400)
          at ../src/cursor/cur_file.c:298
      WT-11 0x00000008036f9d15 in __wt_metadata_search (session=0x805c1e630, 
          key=0x805cad0fc "file:test_stat01.wt", valuep=0x7fffffffb7c0)
          at ../src/meta/meta_table.c:177
      WT-12 0x00000008036f847c in __ckpt_set (session=0x805c1e630, 
          fname=0x805cad0fc "file:test_stat01.wt", v=0x0)
          at ../src/meta/meta_ckpt.c:114
      WT-13 0x00000008036f8412 in __wt_meta_checkpoint_clear (session=0x805c1e630, 
          fname=0x805cad0fc "file:test_stat01.wt") at ../src/meta/meta_ckpt.c:96
      WT-14 0x0000000803712c0f in __truncate_file (session=0x805c1e630, 
          name=0x805cad0fc "file:test_stat01.wt")
          at ../src/schema/schema_truncate.c:31
      WT-15 0x0000000803712f1a in __wt_schema_truncate (session=0x805c1e630, 
          uri=0x805cad0fc "file:test_stat01.wt", cfg=0x7fffffffb910)
          at ../src/schema/schema_truncate.c:106
      WT-16 0x00000008037158c4 in __session_truncate (wt_session=0x805c1e630, 
          uri=0x805cad0fc "file:test_stat01.wt", start=0x0, stop=0x0, config=0x0)
          at ../src/session/session_api.c:552

      It looks like one of the new asserts is firing?

      (gdb) frame 6 
      WT-6  0x000000080371f261 in __wt_txn_release_snapshot (session=0x805c1e630)
          at ../src/txn/txn.c:68
      68		WT_ASSERT(session, txn_state->snap_min == WT_TXN_NONE ||
      (gdb) p *txn_state
      $1 = {id = 4, snap_min = 3}
      (gdb) p __wt_txn_visible_all(session, txn_state->snap_min)
      [Switching to Thread 801407400 (LWP 236170/python)]
      $2 = 1
      (gdb) break __wt_txn_visible_all
      Breakpoint 1 at 0x80371f27c: file txn.i, line 132.
      (gdb) p __wt_txn_visible_all(session, txn_state->snap_min)
      Breakpoint 1, __wt_txn_visible_all (session=0x805c1e630, id=3) at txn.i:132
      132		txn_global = &S2C(session)->txn_global;
      The program being debugged stopped while in a function called from GDB.
      When the function (__wt_txn_visible_all) is done executing, GDB will silently
      stop (instead of continuing to evaluate the expression containing
      the function call).
      (gdb) n
      133		oldest_id = txn_global->oldest_id;
      (gdb) p txn_global
      $3 = (WT_TXN_GLOBAL *) 0x8016c2570
      (gdb) p *$3
      $4 = {current = 4, oldest_id = 4, scan_count = 0, states = 0x805c12c00}
      (gdb) n
      134		return (TXNID_LT(id, oldest_id));

            michael.cahill@mongodb.com Michael Cahill (Inactive)
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            0 Vote for this issue
            1 Start watching this issue