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

AddressSanitizer in __wt_timestamp_iszero().

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.7.4, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • Storage Non-NYC 2018-04-09

      AddressSanitizer in __wt_timestamp_iszero().

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

      =================================================================
      ==22541==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x0000007acc45 bp 0x7f4258aa47c0 sp 0x7f4258aa47b0 T98)
      ==22541==The signal is caused by a READ memory access.
      ==22541==Hint: address points to the zero page.
          #0 0x7acc44 in __wt_timestamp_iszero /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/include/txn.i:80:18
          #1 0x7a4c8c in __wt_txn_update_needs_timestamp /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/include/txn.i:273:28
          #2 0x7a338d in __wt_txn_commit /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/txn/txn.c:857:9
          #3 0x723918 in __session_commit_transaction /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/session/session_api.c:1669:9
          #4 0x52ab05 in commit_transaction /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:577:3
          #5 0x528cd6 in ops /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:1091:4
          #6 0x7f4273959dc4 in start_thread /usr/src/debug/glibc-2.17-c758a686/nptl/pthread_create.c:308
          #7 0x7f4272b4076c in __clone (/lib64/libc.so.6+0xf776c)
      
      AddressSanitizer can not provide additional info.
      SUMMARY: AddressSanitizer: SEGV /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/include/txn.i:80:18 in __wt_timestamp_iszero
      Thread T98 created by T0 here:
          #0 0x437521 in pthread_create /home/bostic/src/llvm40/projects/compiler-rt/lib/asan/asan_interceptors.cc:305
          #1 0x65e1b0 in __wt_thread_create /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/os_posix/os_thread.c:30:2
          #2 0x522f10 in wts_ops /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:162:3
          #3 0x53bd9c in main /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/t.c:209:5
          #4 0x7f4272a6ab34 in __libc_start_main /usr/src/debug/glibc-2.17-c758a686/csu/../csu/libc-start.c:274
      
      ==22541==ABORTING
      + cleanup
      + status=1
      + '[' -f RUNDIR/CONFIG ']'
      + cat RUNDIR/CONFIG
      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=1
      bitcnt=2
      bloom=1
      bloom_bit_count=58
      bloom_hash_count=31
      bloom_oldest=0
      cache=26
      cache_minimum=20
      checkpoints=on
      checkpoint_log_size=190
      checkpoint_wait=69
      checksum=uncompressed
      chunk_size=8
      compaction=0
      compression=snappy
      data_extend=0
      data_source=table
      delete_pct=24
      dictionary=0
      direct_io=0
      encryption=rotn-7
      evict_max=5
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=10
      internal_key_truncation=1
      internal_page_max=9
      isolation=snapshot
      key_gap=0
      key_max=50
      key_min=27
      leaf_page_max=11
      leak_memory=0
      logging=1
      logging_archive=0
      logging_compression=snappy
      logging_file_max=298650
      logging_prealloc=0
      long_running_txn=0
      lsm_worker_threads=3
      merge_max=15
      mmap=1
      modify_pct=54
      ops=100000
      prefix_compression=1
      prefix_compression_min=1
      quiet=1
      read_pct=7
      rebalance=1
      repeat_data_pct=43
      reverse=0
      rows=100000
      runs=1
      salvage=1
      split_pct=97
      statistics=0
      statistics_server=0
      threads=26
      timer=360
      transaction_timestamps=1
      transaction-frequency=23
      truncate=1
      value_max=1327
      value_min=9
      verify=1
      wiredtiger_config=
      write_pct=5
      ############################################
      

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: