-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
There's a LSM memory leak detected by ASAN while running test/format in the clang sanitizer job on margay-aws.
http://build.wiredtiger.com:8080/job/wiredtiger-clang-sanitizer/3748/console
==17581==ERROR: LeakSanitizer: detected memory leaks Direct leak of 464 byte(s) in 1 object(s) allocated from: #0 0x4c703a in calloc (/mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/.libs/wt+0x4c703a) #1 0x7fd81fefc330 in __wt_calloc /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/os_common/os_alloc.c:50:14 #2 0x7fd81fed7383 in __lsm_tree_open /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/lsm/lsm_tree.c:475:5 #3 0x7fd81fed6e83 in __wt_lsm_tree_get /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/lsm/lsm_tree.c:537:9 #4 0x7fd81fea880f in __wt_clsm_open /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/lsm/lsm_cursor.c:1734:11 #5 0x7fd81ffaaeb9 in __session_open_cursor_int /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/session/session_api.c:461:13 #6 0x7fd81fe3f3c3 in __wt_curtable_open /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/cursor/cur_table.c:971:15 #7 0x7fd81ffaae92 in __session_open_cursor_int /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/session/session_api.c:439:13 #8 0x7fd81ffad226 in __session_open_cursor /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/session/session_api.c:584:5 #9 0x4f8bd2 in util_dump /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_dump.c:108:20 #10 0x507878 in main /mnt/data0/jenkins/workspace/wiredtiger-clang-sanitizer/build_posix/../src/utilities/util_main.c:347:11 #11 0x7fd81eb5bb96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
There's a coredump generated afterwards:
t: FAILED: wts_rebalance/47: system(cmd): command failed: ../../wt -h RUNDIR dump -f RUNDIR/rebalance.orig table:wt: Unknown error 34304 process aborting Aborted (core dumped) FAIL smoke.sh (exit status: 134)
The 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=30 bloom_hash_count=5 bloom_oldest=0 cache=48 cache_minimum=0 checkpoints=wiredtiger checkpoint_log_size=77 checkpoint_wait=62 checksum=on chunk_size=4 compaction=0 compression=none data_extend=0 data_source=lsm delete_pct=1 dictionary=0 direct_io=0 encryption=none evict_max=2 file_type=row-store firstfit=1 huffman_key=0 huffman_value=0 independent_thread_rng=1 in_memory=0 insert_pct=29 internal_key_truncation=1 internal_page_max=9 isolation=snapshot key_gap=11 key_max=101 key_min=28 leaf_page_max=12 leak_memory=0 logging=0 logging_archive=0 logging_compression=none logging_file_max=235542 logging_prealloc=1 long_running_txn=0 lsm_worker_threads=4 memory_page_max=6 merge_max=16 mmap=1 modify_pct=6 ops=50000 prefix_compression=0 prefix_compression_min=6 prepare=0 quiet=1 read_pct=63 rebalance=1 repeat_data_pct=77 reverse=1 rows=10000 runs=1 salvage=1 split_pct=80 statistics=0 statistics_server=0 threads=4 timer=360 timing_stress_aggressive_sweep=0 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=0 transaction-frequency=13 truncate=0 value_max=1998 value_min=2 verify=1 wiredtiger_config= write_pct=1 ############################################
- duplicates
-
WT-5100 Update test format to disable readonly mode in utility
- Closed