Memory leak in __layered_track_checkpoint

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Layered Tables
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-11-21
    • 2

      [2025/10/03 04:01:26.536]     Direct leak of 160 byte(s) in 1 object(s) allocated from:
      [2025/10/03 04:01:26.536]         #0 0xaaaaaf0a06c4 in realloc /data/mci/01bb46477e468e9b17d7d0a0c518db71/toolchain-builder/tmp/build-llvm-v5.sh-42U/llvm-project-llvmorg/compiler-rt/lib/asan/asan_malloc_linux.cpp:82:3
      [2025/10/03 04:01:26.536]         #1 0xffff941dc744 in __realloc_func /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/os_common/os_alloc.c:160:18
      [2025/10/03 04:01:26.536]         #2 0xffff941dba5c in __wt_realloc /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/os_common/os_alloc.c:187:13
      [2025/10/03 04:01:26.536]         #3 0xffff93e7a1e8 in __layered_track_checkpoint /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_layered.c:2085:5
      [2025/10/03 04:01:26.536]         #4 0xffff93e77b80 in __disagg_pick_up_checkpoint /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_layered.c:551:5
      [2025/10/03 04:01:26.536]         #5 0xffff93e723c4 in __disagg_pick_up_checkpoint_meta_item /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_layered.c:628:5
      [2025/10/03 04:01:26.536]         #6 0xffff93e6d194 in __wti_disagg_conn_config /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_layered.c:1258:17
      [2025/10/03 04:01:26.536]         #7 0xffff93e8c900 in __wti_connection_workers /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_open.c:276:5
      [2025/10/03 04:01:26.536]         #8 0xffff93e044f0 in wiredtiger_open /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/src/conn/conn_api.c:3471:5
      [2025/10/03 04:01:26.536]         #9 0xaaaaaf153c5c in wts_open /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/test/format/wts.c:818:9
      [2025/10/03 04:01:26.536]         #10 0xaaaaaf13c5a4 in main /data/mci/4ffd022ff57cefcf1196b6594613680c/wiredtiger/test/format/t.c:348:9
      [2025/10/03 04:01:26.536]         #11 0xffff93611554 in __libc_start_call_main (/lib64/libc.so.6+0x30554) (BuildId: 7f46fcd5f30f2f31235144f8192c97c839732436)
      [2025/10/03 04:01:26.536]         #12 0x30ffff93611638  (<unknown module>)
      [2025/10/03 04:01:26.536]         #13 0x55aaaaaf00082c  (<unknown module>)
      

            Assignee:
            Ivan Kochin
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: