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

Test Format on PowerPC failed with SEGFAULT

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage 2017-05-08, Storage 2017-06-19

      The PowerPC Sanitizer Job failed with the following errors.

      This was not trivially reproduced on an x86 linux instance.

      Job:
      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-sanitizer-ppc/699/console

      Config:

      abort=0
      auto_throttle=1
      backups=0
      bitcnt=5
      bloom=1
      bloom_bit_count=59
      bloom_hash_count=20
      bloom_oldest=0
      cache=84
      checkpoints=1
      checksum=uncompressed
      chunk_size=5
      compaction=0
      compression=zlib
      data_extend=1
      data_source=table
      delete_pct=34
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=5
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      in_memory=0
      insert_pct=10
      internal_key_truncation=1
      internal_page_max=17
      isolation=snapshot
      key_gap=15
      key_max=108
      key_min=24
      leaf_page_max=10
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=4
      merge_max=12
      mmap=0
      ops=100000
      prefix_compression=1
      prefix_compression_min=0
      quiet=1
      repeat_data_pct=63
      reverse=0
      rows=100000
      runs=1
      rebalance=1
      salvage=1
      split_pct=75
      statistics=0
      statistics_server=0
      threads=22
      timer=20
      transaction-frequency=50
      value_max=2665
      value_min=1
      verify=1
      wiredtiger_config=
      write_pct=52
      

      Stack

      ==25932==ERROR: AddressSanitizer: SEGV on unknown address 0x0ac82529adf0 (pc 0x000010028a98 bp 0x000000000480 sp 0x3fffa3397c10 T14)
      ASAN:DEADLYSIGNAL
      ==25932==AddressSanitizer: while reporting a bug found another one. Ignoring.
          #0 0x10028a94 in __asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_allocator.cc:395
          #1 0x10023480 in __asan::asan_posix_memalign(void**, unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_allocator.cc:751
          #2 0x100db8bc in posix_memalign /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:126
          #3 0x10247f90 in __wt_realloc_aligned /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/os_common/os_alloc.c:221:14
          #4 0x10353040 in __wt_buf_grow_worker /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/support/scratch.c:45:4
          #5 0x106024bc in __wt_buf_grow /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/include/buf.i:18:6
          #6 0x10601c94 in __wt_buf_init /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/include/buf.i:47:2
          #7 0x10600f10 in __wt_block_read_off /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/block/block_read.c:181:2
          #8 0x106000c4 in __wt_bm_read /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/block/block_read.c:101:2
          #9 0x103ff2fc in __wt_bt_read /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/bt_io.c:45:3
          #10 0x10409c2c in __ovfl_read /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/bt_ovfl.c:31:2
          #11 0x104096d8 in __wt_ovfl_read /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/bt_ovfl.c:57:7
          #12 0x104cb6f0 in __cell_data_ref /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/include/cell.i:754:3
          #13 0x104c76bc in __wt_dsk_cell_data_ref /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/include/cell.i:791:10
          #14 0x104c512c in __wt_row_leaf_key_work /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/row_key.c:291:12
          #15 0x1063f80c in __cursor_row_slot_return /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/include/cursor.i:370:8
          #16 0x106313f0 in __cursor_row_prev /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/bt_curprev.c:524:11
          #17 0x1062b79c in __wt_btcur_prev /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/btree/bt_curprev.c:603:11
          #18 0x10525740 in __curfile_prev /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/../src/cursor/cur_file.c:156:13
          #19 0x101391e0 in nextprev /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/test/format/../../../test/format/ops.c:931:47
          #20 0x10131d94 in ops /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/test/format/../../../test/format/ops.c:707:16
          #21 0x100ef0a8 in __asan::AsanThread::ThreadStart(unsigned long, __sanitizer::atomic_uintptr_t*) /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_thread.cc:183
          #22 0x100323a8 in asan_thread_start(void*) /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_interceptors.cc:228
          #23 0x3fffaca48940 in start_thread (/lib64/power8/libpthread.so.0+0x8940)
          #24 0x3fffac79763c in __clone (/lib64/power8/libc.so.6+0x11763c)
      
      AddressSanitizer can not provide additional info.
      SUMMARY: AddressSanitizer: SEGV /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_allocator.cc:395 in __asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool)
      Thread T14 created by T0 here:
          #0 0x10032160 in pthread_create /home/mcahill/src/llvm-3.8.0.src/projects/compiler-rt/lib/asan/asan_interceptors.cc:238
          #1 0x1012ca18 in wts_ops /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/test/format/../../../test/format/ops.c:110:3
          #2 0x1014169c in main /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-sanitizer-ppc/build_posix/test/format/../../../test/format/t.c:221:5
          #3 0x3fffac6a457c in generic_start_main.isra.0 (/lib64/power8/libc.so.6+0x2457c)
          #4 0x3fffac6a4770 in __libc_start_main (/lib64/power8/libc.so.6+0x24770)
      

            Assignee:
            david.hows David Hows
            Reporter:
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: