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

Attempt to discard dirty page during verify operation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.3, 4.1.3, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • v4.0, v3.6

      The recent test/format stress caused a SegFault on zseries during backup page eviction.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-zseries/44289

      Backtrace of the SegFault:

       ++ SEGFAULT_SIGNALS=all
      ++ nice catchsegv ./t -1 -c ../../../test/format/CONFIG.stress
      [1534214565:181172][39585:0x3ff47fff910], t, file:wt.wt, WT_SESSION.verify: __wt_page_out, 75: !__wt_page_is_modified(page)
      [1534214565:181666][39585:0x3ff47fff910], t, file:wt.wt, WT_SESSION.verify: __wt_abort, 30: aborting WiredTiger library
      t: process 39585
      *** Aborted
      Register dump:
      
       GPR0: 0000000000000000  GPR1: 000003ff47fff910  GPR2: 0000000000000000  GPR3: 0000000000009acd
       GPR4: 0000000000000006  GPR5: 000003ff00000002  GPR6: 000000008024fb2c  GPR7: 000003ffce67f170
       GPR8: 0000000080003948  GPR9: 000003ff47fff200  GPRA: 000003ff47fff910  GPRB: 000003ff948ac4a8
       GPRC: 000003ff948aa000  GPRD: 000003ff948ac4b8  GPRE: 000003ff94742300  GPRF: 000003ff47ffdbc0
      
       PSW.MASK: 0705200180000000  PSW.ADDR: 000003ff94740a78  TRAP: 
      
      Backtrace:
      /lib64/libc.so.6(gsignal+0x40)[0x3ff94740a78]
      /lib64/libc.so.6(abort+0x128)[0x3ff94742300]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/os_common/os_alloc.c:34(__wt_calloc)[0x8006a4b8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/btree/bt_discard.c:76(__wt_page_out)[0x8010d2ac]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/btree/bt_discard.c:45(__wt_ref_out)[0x8010d1c2]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/evict/evict_file.c:126(__wt_evict_file)[0x801ba95c]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/btree/bt_sync.c:434(__wt_cache_op)[0x8014720a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/btree/bt_vrfy.c:249(__wt_verify)[0x8014a830]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/schema/schema_worker.c:35(__wt_exclusive_handle_operation)[0x800a6fd8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/schema/schema_worker.c:75(__wt_schema_worker)[0x800a717a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/schema/schema_worker.c:113(__wt_schema_worker)[0x800a74f2]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/session/session_api.c:1608 (discriminator 2)(__session_verify)[0x800b8cd6]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/test/format/../../../test/format/backup.c:53(check_copy)[0x80003cae]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/test/format/../../../test/format/backup.c:120(backup)[0x80004442]
      /lib64/libpthread.so.0(+0x81f2)[0x3ff94a881f2]
      /lib64/libc.so.6(+0x1098da)[0x3ff948098da]
      

      The test/format configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=1
      bitcnt=3
      bloom=1
      bloom_bit_count=17
      bloom_hash_count=12
      bloom_oldest=1
      cache=30
      cache_minimum=20
      checkpoints=on
      checkpoint_log_size=63
      checkpoint_wait=94
      checksum=on
      chunk_size=6
      compaction=1
      compression=lz4
      data_extend=0
      data_source=table
      delete_pct=4
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=1
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=0
      internal_key_truncation=1
      internal_page_max=9
      isolation=random
      key_gap=6
      key_max=65
      key_min=21
      leaf_page_max=13
      leak_memory=0
      logging=0
      logging_archive=1
      logging_compression=none
      logging_file_max=207240
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=3
      merge_max=5
      mmap=1
      modify_pct=94
      ops=0
      prefix_compression=0
      prefix_compression_min=8
      prepare=0
      quiet=1
      read_pct=1
      rebalance=1
      repeat_data_pct=31
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=53
      statistics=1
      statistics_server=0
      threads=30
      timer=4
      timing_stress_checkpoint=0
      timing_stress_lookaside_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=1
      transaction-frequency=12
      truncate=1
      value_max=3966
      value_min=15
      verify=1
      wiredtiger_config=
      write_pct=1
      ############################################
      

            Assignee:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: