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

Test format stress failure - null page

    XMLWordPrintable

    Details

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

      Description

      test/format crashed with an assertion failure.
      See <http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress/5617/>

      The assertion is:

        87: file, variable-length column-store
      [1414428305:327979][11512300f7ffc70b7f0000], t, file:wt-000028.lsm, lsm-worker: ../src/btree/bt_page.c, 116: page != NULL
      [1414428305:328015][11512300f7ffc70b7f0000], t, file:wt-000028.lsm, lsm-worker: aborting WiredTiger library
      *** Aborted
      

      The CONFIG is:

      ############################################
      #  RUN PARAMETERS
      ############################################
      auto_throttle=1
      firstfit=0
      bitcnt=6
      bloom=1
      bloom_bit_count=39
      bloom_hash_count=26
      bloom_oldest=0
      cache=60
      checkpoints=1
      checksum=off
      chunk_size=2
      compaction=0
      compression=none
      data_extend=0
      data_source=lsm
      delete_pct=25
      dictionary=0
      evict_max=5
      file_type=row-store
      backups=0
      huffman_key=0
      huffman_value=0
      insert_pct=74
      internal_key_truncation=1
      internal_page_max=15
      isolation=snapshot
      key_gap=12
      key_max=27
      key_min=14
      leak_memory=0
      leaf_page_max=9
      logging=0
      lsm_worker_threads=3
      merge_max=20
      mmap=1
      ops=100000
      prefix_compression=1
      prefix_compression_min=2
      repeat_data_pct=72
      reverse=0
      rows=100000
      runs=100
      split_pct=40
      statistics=0
      threads=31
      value_max=1067
      value_min=1
      wiredtiger_config=
      write_pct=10
      ############################################
      

      There are only two interesting stacks. Thread 1 took the abort and thread 2 is the only other active thread:

      Thread 2 (Thread 0x7f0bd61a1700 (LWP 94083)):
      #0  0x00000000004c61ff in __wt_page_hazard_check (session=0xd206a0, page=0x7f0bb8036130) at ../src/include/btree.i:1049
      WT-1  0x00000000004c63a6 in __wt_page_out (session=0xd206a0, pagep=0x1908fe0) at ../src/btree/bt_discard.c:72
      WT-2  0x00000000004c62a2 in __wt_ref_out (session=0xd206a0, ref=0x1908fe0) at ../src/btree/bt_discard.c:32
      WT-3  0x000000000047147d in __rec_page_clean_update (session=0xd206a0, ref=0x1908fe0) at ../src/btree/rec_evict.c:126
      WT-4  0x000000000047123d in __wt_rec_evict (session=0xd206a0, ref=0x1908fe0, exclusive=0) at ../src/btree/rec_evict.c:80
      WT-5  0x0000000000462bbc in __wt_evict_page (session=0xd206a0, ref=0x1908fe0) at ../src/btree/bt_evict.c:618
      WT-6  0x00000000004706ce in __wt_page_release (session=0xd206a0, ref=0x1908fe0, flags=8) at ../src/include/btree.i:960
      WT-7  0x00000000004707fc in __wt_page_swap_func (session=0xd206a0, held=0x1908fe0, want=0x1909020, flags=8, file=0x676659 "../src/btree/bt_walk.c", line=249)
          at ../src/include/btree.i:1011
      WT-8  0x0000000000470ce4 in __wt_tree_walk (session=0xd206a0, refp=0x7f0bb8445a98, flags=8) at ../src/btree/bt_walk.c:249
      WT-9  0x00000000004bb86a in __wt_btcur_next (cbt=0x7f0bb8445960, truncating=0) at ../src/btree/bt_curnext.c:458
      WT-10 0x00000000004933b4 in __curfile_next (cursor=0x7f0bb8445960) at ../src/cursor/cur_file.c:79
      WT-11 0x00000000004a8016 in __clsm_next (cursor=0x7f0bb8082a00) at ../src/lsm/lsm_cursor.c:826
      WT-12 0x00000000004ac6b3 in __wt_lsm_merge (session=0xd206a0, lsm_tree=0xeaeb70, id=2) at ../src/lsm/lsm_merge.c:311
      WT-13 0x00000000004323eb in __lsm_worker (arg=0xd52160) at ../src/lsm/lsm_worker.c:137
      WT-14 0x0000003f17e07ee5 in start_thread (arg=0x7f0bd61a1700) at pthread_create.c:309
       
      Thread 1 (Thread 0x7f0bc7fff700 (LWP 94082)):
      WT-3  0x000000000044e790 in __wt_assert (session=0xd20420, error=0, file_name=0x6831b8 "../src/btree/bt_page.c", line_number=116, fmt=0x683192 "%s")
          at ../src/support/err.c:447
      WT-4  0x00000000004ce301 in __wt_page_in_func (session=0xd20420, ref=0x18f8970, flags=640, file=0x676659 "../src/btree/bt_walk.c", line=249)
          at ../src/btree/bt_page.c:116
      WT-5  0x00000000004707a4 in __wt_page_swap_func (session=0xd20420, held=0x7f0bb00e1da8, want=0x18f8970, flags=640, file=0x676659 "../src/btree/bt_walk.c", 
          line=249) at ../src/include/btree.i:995
      WT-6  0x0000000000470ce4 in __wt_tree_walk (session=0xd20420, refp=0x7f0bc7ffeb78, flags=640) at ../src/btree/bt_walk.c:249
      WT-7  0x000000000046b472 in __evict_file (session=0xd20420, syncop=4) at ../src/btree/bt_sync.c:221
      WT-8  0x000000000046b77f in __wt_cache_op (session=0xd20420, ckptbase=0x0, op=4) at ../src/btree/bt_sync.c:354
      WT-9  0x00000000004568de in __wt_checkpoint_close (session=0xd20420, force=0) at ../src/txn/txn_ckpt.c:931
      WT-10 0x000000000048ad27 in __wt_conn_btree_sync_and_close (session=0xd20420, force=0) at ../src/conn/conn_dhandle.c:210
      WT-11 0x000000000048b907 in __wt_conn_dhandle_close_all (session=0xd20420, name=0x7f0bb000d5c0 "file:wt-000028.lsm", force=0) at ../src/conn/conn_dhandle.c:546
      WT-12 0x0000000000441375 in __drop_file (session=0xd20420, uri=0x7f0bb000d5c0 "file:wt-000028.lsm", force=0, cfg=0x7f0bc7ffedd0) at ../src/schema/schema_drop.c:31
      WT-13 0x00000000004419af in __wt_schema_drop (session=0xd20420, uri=0x7f0bb000d5c0 "file:wt-000028.lsm", cfg=0x7f0bc7ffedd0) at ../src/schema/schema_drop.c:174
      WT-14 0x00000000004aff63 in __lsm_drop_file (session=0xd20420, uri=0x7f0bb000d5c0 "file:wt-000028.lsm") at ../src/lsm/lsm_work_unit.c:481
      WT-15 0x00000000004b01e5 in __wt_lsm_free_chunks (session=0xd20420, lsm_tree=0xeaeb70) at ../src/lsm/lsm_work_unit.c:571
      WT-16 0x00000000004321f5 in __lsm_worker_general_op (session=0xd20420, cookie=0xd52138, completed=0x7f0bc7ffeee0) at ../src/lsm/lsm_worker.c:71
      WT-17 0x0000000000432313 in __lsm_worker (arg=0xd52138) at ../src/lsm/lsm_worker.c:121
      WT-18 0x0000003f17e07ee5 in start_thread (arg=0x7f0bc7fff700) at pthread_create.c:309
      (gdb) p *ref
      $2 = {page = 0x0, home = 0xebb670, ref_hint = 0, state = WT_REF_MEM, addr = 0x18f8a2a, key = {recno = 4294967379, ikey = 0x100000053}, page_del = 0x0}
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: