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

test/format assertion failure

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      [1394024224:955286][9894:00d7d637c97f0000], t, file:wt-000080.lsm, eviction-server: ../src/btree/bt_discard.c, 44: S2BT(session)->evict_page != page
      

      One of the configs hitting this is:

      ############################################
      #  RUN PARAMETERS
      ############################################
      auto_throttle=1
      firstfit=0
      # bitcnt not applicable to this run
      bloom=1
      bloom_bit_count=44
      bloom_hash_count=29
      bloom_oldest=1
      cache=30
      checksum=uncompressed
      chunk_size=1
      compaction=0
      compression=none
      data_extend=0
      data_source=lsm
      delete_pct=38
      dictionary=0
      file_type=row-store
      hot_backups=0
      huffman_key=0
      huffman_value=0
      insert_pct=85
      internal_key_truncation=0
      internal_page_max=14
      key_gap=17
      key_max=106
      key_min=23
      leaf_page_max=9
      merge_max=18
      merge_threads=2
      mmap=0
      ops=100000
      prefix_compression=1
      prefix_compression_min=6
      repeat_data_pct=44
      reverse=1
      rows=100000
      runs=100
      split_pct=56
      statistics=0
      threads=17
      value_max=1969
      value_min=5
      # wiredtiger_config not applicable to this run
      write_pct=27
      ############################################
      

      The stack is:

      (gdb) bt
      #0  0x0000003788a328a5 in raise () from /lib64/libc.so.6
      WT-1  0x0000003788a34085 in abort () from /lib64/libc.so.6
      WT-2  0x0000000000499187 in __wt_abort (session=0x1ffb4f0)
          at ../src/os_posix/os_abort.c:24
      WT-3  0x00000000004429c5 in __wt_assert (session=0x1ffb4f0, error=0, 
          file_name=0x666b12 "../src/btree/bt_discard.c", line_number=44, 
          fmt=0x666ad4 "%s") at ../src/support/err.c:470
      WT-4  0x00000000004b0eb7 in __wt_page_out (session=0x1ffb4f0, 
          pagep=0x7f8022dd7cd0) at ../src/btree/bt_discard.c:44
      WT-5  0x0000000000465c8c in __wt_rec_evict (session=0x1ffb4f0, page=0x0, 
          exclusive=0) at ../src/btree/rec_evict.c:122
      WT-6  0x000000000044f934 in __wt_evict_page (session=0x1ffb4f0, 
          page=0x7f7fe0264e30) at ../src/btree/bt_evict.c:397
      WT-7  0x000000000044ebe1 in __wt_page_release (session=0x1ffb4f0, 
          page=0x7f7fe0264e30) at ../src/include/btree.i:651
      WT-8  0x000000000044f763 in __evict_clear_walks (session=0x1ffb4f0)
          at ../src/btree/bt_evict.c:331
      WT-9  0x000000000044f387 in __evict_worker (session=0x1ffb4f0)
          at ../src/btree/bt_evict.c:227
      WT-10 0x000000000044f104 in __wt_cache_evict_server (arg=0x1ffb4f0)
          at ../src/btree/bt_evict.c:164
      WT-11 0x0000003789207851 in start_thread () from /lib64/libpthread.so.0
      WT-12 0x0000003788ae767d in clone () from /lib64/libc.so.6
      

      The btree:

      (gdb) frame 4
      WT-4  0x00000000004b0eb7 in __wt_page_out (session=0x1ffb4f0, 
          pagep=0x7f8022dd7cd0) at ../src/btree/bt_discard.c:44
      44		WT_ASSERT(session, S2BT(session)->evict_page != page);
      (gdb) p page
      $2 = (WT_PAGE *) 0x7f7fe0264e30
      (gdb) p *session->dhandle
      $4 = {rwlock = 0x7f8008073290, l = {sle_next = 0x7f7fb00982c0}, 
        session_ref = 27, session_inuse = 26, timeofdeath = 0, 
        name_hash = 17760262835920828822, 
        name = 0x7f80080732e0 "file:wt-000258.lsm", 
        checkpoint = 0x7f8008073300 "WiredTigerCheckpoint.1", cfg = 0x7f8008082f30, 
        dsrc = 0x0, handle = 0x7f8008064f40,
      ...
      (gdb) p *(WT_BTREE *)session->dhandle->handle
      $5 = {dhandle = 0x7f800819ac30, ckpt = 0x0, type = BTREE_ROW, 
        key_format = 0x7f80083e9440 "u", value_format = 0x7f80083e9460 "u", 
        bitcnt = 0 '\000', collator = 0x0, id = 505, key_gap = 16, allocsize = 512, 
        maxintlpage = 8192, maxintlitem = 167, maxleafpage = 8192, 
        maxleafitem = 171, maxmempage = 10737418240, huffman_key = 0x0, 
        huffman_value = 0x0, checksum = CKSUM_ON, dictionary = 0, 
        internal_key_truncate = 1, maximum_depth = 3, prefix_compression = 0, 
        prefix_compression_min = 4, split_pct = 55, compressor = 0x0, 
        ovfl_lock = 0x7f8008073320, last_recno = 0, root_page = 0x7f8008066df0, 
        modified = 0, bulk_load_ok = 0, bm = 0x7f800842c220, block_header = 12, 
        write_gen = 670, evict_page = 0x7f7fe0264e30, evict_priority = 0, 
        evict_walk_period = 0, evict_walk_skips = 0, lru_count = 0, 
        checkpointing = 0, flags = 0}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sue.loverso Susan LoVerso
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: