-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage 2017-10-02
test/format run #17135 reported memory leaks under clang's sanitizer. This was
the wt-3252-remove-boundary-structure branch, but I don't think it has anything to do with that change.
==24504==ERROR: LeakSanitizer: detected memory leaks Direct leak of 959 byte(s) in 3 object(s) allocated from: #0 0x4dfa0d in calloc /home/bostic/src/llvm40/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 #1 0x6040b2 in __wt_calloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/os_common/os_alloc.c:52:11 #2 0x871356 in __wt_update_alloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:280:3 #3 0x86f529 in __wt_row_modify /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:94:4 #4 0xa0ee37 in __cursor_row_modify_v /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:376:10 #5 0xa04efc in __btcur_update /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:1106:9 #6 0xa06ab4 in __wt_btcur_update /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:1342:10 #7 0x8d2bc8 in __curfile_update /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/cursor/cur_file.c:327:2 #8 0x52cb80 in row_update /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:1440:16 #9 0x5273e3 in ops /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:873:11 #10 0x7f3e668d0dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4) Direct leak of 232 byte(s) in 3 object(s) allocated from: #0 0x4dfa0d in calloc /home/bostic/src/llvm40/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 #1 0x6040b2 in __wt_calloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/os_common/os_alloc.c:52:11 #2 0x871356 in __wt_update_alloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:280:3 #3 0x86f529 in __wt_row_modify /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:94:4 #4 0xa0ee37 in __cursor_row_modify_v /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:376:10 #5 0xa04aee in __btcur_update /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:1066:7 #6 0xa04070 in __wt_btcur_modify /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/bt_cursor.c:1270:9 #7 0x8d5707 in __curfile_modify /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/cursor/cur_file.c:297:2 #8 0x52b6f7 in row_modify /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:1341:16 #9 0x526aa9 in ops /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:807:11 #10 0x7f3e668d0dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4) Indirect leak of 158 byte(s) in 4 object(s) allocated from: #0 0x4dfa0d in calloc /home/bostic/src/llvm40/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 #1 0x6040b2 in __wt_calloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/os_common/os_alloc.c:52:11 #2 0x871356 in __wt_update_alloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:280:3 #3 0x67fe15 in __rec_append_orig_value /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:1175:3 #4 0x67ef4b in __rec_txn_read /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:1486:3 #5 0x650825 in __rec_row_leaf /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:5313:3 #6 0x6434d9 in __wt_reconcile /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:424:9 #7 0x5cc4c3 in __evict_review /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_page.c:580:9 #8 0x5ca065 in __wt_evict /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_page.c:149:2 #9 0x5b116f in __evict_page /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_lru.c:2215:2 #10 0x5ab8a7 in __evict_lru_pages /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_lru.c:1145:14 #11 0x5aad35 in __wt_evict_thread_run /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_lru.c:318:3 #12 0x725fc3 in __thread_run /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/support/thread_group.c:31:3 #13 0x7f3e668d0dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4) Indirect leak of 121 byte(s) in 2 object(s) allocated from: #0 0x4dfa0d in calloc /home/bostic/src/llvm40/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 #1 0x6040b2 in __wt_calloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/os_common/os_alloc.c:52:11 #2 0x871356 in __wt_update_alloc /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/btree/row_modify.c:280:3 #3 0x67fe15 in __rec_append_orig_value /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:1175:3 #4 0x67ef4b in __rec_txn_read /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:1486:3 #5 0x650825 in __rec_row_leaf /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:5313:3 #6 0x6434d9 in __wt_reconcile /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/reconcile/rec_write.c:424:9 #7 0x5cc4c3 in __evict_review /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_page.c:580:9 #8 0x5ca065 in __wt_evict /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_page.c:149:2 #9 0x5b116f in __evict_page /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_lru.c:2215:2 #10 0x5af10c in __wt_cache_eviction_worker /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/evict/evict_lru.c:2313:17 #11 0x6d4808 in __wt_cache_eviction_check /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/include/cache.i:398:10 #12 0x6d3dc7 in __wt_txn_begin /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/include/txn.i:497:3 #13 0x6cadca in __session_begin_transaction /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/../src/session/session_api.c:1423:8 #14 0x525851 in ops /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress-sanitizer/build_posix/test/format/../../../test/format/ops.c:687:4 #15 0x7f3e668d0dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
Here's the CONFIG:
############################################ # RUN PARAMETERS ############################################ abort=0 alter=0 auto_throttle=1 backups=0 bitcnt=5 bloom=1 bloom_bit_count=36 bloom_hash_count=17 bloom_oldest=0 cache=27 checkpoints=1 checksum=on chunk_size=9 compaction=0 compression=zlib data_extend=0 data_source=table delete_pct=11 dictionary=0 direct_io=0 encryption=none evict_max=0 file_type=row-store firstfit=0 huffman_key=0 huffman_value=0 in_memory=0 insert_pct=18 internal_key_truncation=1 internal_page_max=13 isolation=snapshot key_gap=13 key_max=93 key_min=15 leaf_page_max=16 leak_memory=0 logging=1 logging_archive=1 logging_compression=snappy logging_prealloc=0 long_running_txn=0 lsm_worker_threads=4 merge_max=11 mmap=1 modify_pct=9 ops=100000 prefix_compression=1 prefix_compression_min=2 quiet=1 read_pct=24 rebalance=1 repeat_data_pct=69 reverse=0 rows=100000 runs=1 salvage=1 split_pct=83 statistics=1 statistics_server=1 threads=27 timer=360 transaction_timestamps=0 transaction-frequency=32 value_max=3770 value_min=7 verify=1 wiredtiger_config= write_pct=38 ############################################
- is related to
-
WT-3252 Remove the reconciliation WT_BOUNDARY structure.
- Closed