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

test/format assertion failure while discarding in-memory page

    • 5
    • Storage Engines 2020-02-24

      Below assertion failure was captured by the format stress sanitizer job after merging durable history branch into develop. The in-memory page was found dirty while attempting being discarded.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-sanitizer/26180/

      [1581569070:560690][17116:0x7fad70499700], t, file:wt.wt, WT_CURSOR.reset: __wt_page_out, 70: !__wt_page_is_modified(page)
      [1581569070:560748][17116:0x7fad70499700], t, file:wt.wt, WT_CURSOR.reset: __wt_abort, 28: aborting WiredTiger library 

      Function trace:

      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007fad7b9d4801 in __GI_abort () at abort.c:79
      #2  0x000000000073c194 in __wt_abort (session=0x7fad7d018540) at ../src/os_common/os_abort.c:30
      #3  0x0000000000a00925 in __wt_page_out (session=0x7fad7d018540, pagep=0x60e000044d00) at ../src/btree/bt_discard.c:70
      #4  0x0000000000a00519 in __wt_ref_out (session=0x7fad7d018540, ref=0x60e000044d00) at ../src/btree/bt_discard.c:41
      #5  0x0000000000698ffb in __evict_page_dirty_update (session=0x7fad7d018540, ref=0x60e000044d00, evict_flags=4)
          at ../src/evict/evict_page.c:347
      #6  0x0000000000694cf8 in __wt_evict (session=0x7fad7d018540, ref=0x60e000044d00, previous_state=3, flags=4)
          at ../src/evict/evict_page.c:192
      #7  0x0000000000693343 in __wt_page_release_evict (session=0x7fad7d018540, ref=0x60e000044d00, flags=0)
          at ../src/evict/evict_page.c:80
      #8  0x00000000009ea825 in __wt_page_release (session=0x7fad7d018540, ref=0x60e000044d00, flags=0) at ../src/include/btree.i:1518
      #9  0x00000000009d87a1 in __cursor_reset (cbt=0x618001531480) at ../src/include/cursor.i:222
      #10 0x00000000009d82a8 in __wt_btcur_reset (cbt=0x618001531480) at ../src/btree/bt_cursor.c:492
      #11 0x0000000000616766 in __curfile_reset (cursor=0x618001531480) at ../src/cursor/cur_file.c:172
      #12 0x000000000050a5c7 in ops (arg=0x62f0000fc400) at ../../../test/format/ops.c:945
      #13 0x00007fad7c9836db in start_thread (arg=0x7fad70499700) at pthread_create.c:463
      #14 0x00007fad7bab588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 

      Format configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      assert_commit_timestamp=0
      assert_read_timestamp=0
      auto_throttle=1
      backups=0
      bitcnt=3
      bloom=1
      bloom_bit_count=43
      bloom_hash_count=21
      bloom_oldest=0
      cache=213
      cache_minimum=20
      checkpoints=off
      checkpoint_log_size=65
      checkpoint_wait=84
      checksum=uncompressed
      chunk_size=2
      compaction=0
      compression=none
      data_extend=0
      data_source=table
      delete_pct=21
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=2
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=1
      insert_pct=67
      internal_key_truncation=1
      internal_page_max=14
      isolation=random
      key_gap=7
      key_max=32
      key_min=26
      leaf_page_max=13
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_file_max=238070
      logging_prealloc=1
      lsm_worker_threads=3
      major_timeout=0
      memory_page_max=3
      merge_max=4
      mmap=1
      modify_pct=0
      ops=0
      prefix_compression=1
      prefix_compression_min=4
      prepare=0
      quiet=1
      random_cursor=0
      read_pct=0
      rebalance=0
      repeat_data_pct=82
      reverse=0
      rows=1000000
      runs=1
      salvage=0
      split_pct=75
      statistics=0
      statistics_server=0
      threads=13
      timer=4
      timing_stress_aggressive_sweep=0
      timing_stress_checkpoint=0
      timing_stress_hs_sweep=0
      timing_stress_split_1=0
      timing_stress_split_2=0
      timing_stress_split_3=0
      timing_stress_split_4=0
      timing_stress_split_5=0
      timing_stress_split_6=0
      timing_stress_split_7=0
      timing_stress_split_8=0
      transaction_timestamps=0
      transaction-frequency=14
      truncate=1
      value_max=80
      value_min=10
      verify=0
      wiredtiger_config=
      write_pct=12
      ############################################
      

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: