ASAN heap-buffer-overflow in __meta_live_restore_to_meta

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Persistence
    • SE Persistence - 2025-08-15
    • 3

      ASAN just hit the following error with disaggregated storage enabled:

      [2025/07/25 14:40:58.566] ==33881==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50700027f918 at pc 0x7fdb5ce97a40 bp 0x7ffd26e06790 sp 0x7ffd26e06788
      [2025/07/25 14:40:58.566] READ of size 8 at 0x50700027f918 thread T0
      [2025/07/25 14:40:58.740]     #0 0x7fdb5ce97a3f in __meta_live_restore_to_meta /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/meta/meta_ckpt.c:1302:45
      [2025/07/25 14:40:58.740]     #1 0x7fdb5ce97a3f in __wt_meta_ckptlist_set /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/meta/meta_ckpt.c:1333:5
      [2025/07/25 14:40:58.740]     #2 0x7fdb5cc1b7ca in __checkpoint_tree /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/checkpoint/checkpoint_txn.c:2576:5
      [2025/07/25 14:40:58.740]     #3 0x7fdb5cc1a7ec in __wt_checkpoint_file /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/checkpoint/checkpoint_txn.c:2740:11
      [2025/07/25 14:40:58.740]     #4 0x7fdb5cc173a9 in __checkpoint_db_internal /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/checkpoint/checkpoint_txn.c:1392:13
      [2025/07/25 14:40:58.740]     #5 0x7fdb5cc173a9 in __checkpoint_db_wrapper /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/checkpoint/checkpoint_txn.c:1720:11
      [2025/07/25 14:40:58.740]     #6 0x7fdb5cc141d5 in __wt_checkpoint_db /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/checkpoint/checkpoint_txn.c:1799:9
      [2025/07/25 14:40:58.740]     #7 0x7fdb5d09a118 in __wt_txn_global_shutdown /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/txn/txn.c:2695:17
      [2025/07/25 14:40:58.740]     #8 0x7fdb5cc43104 in __conn_close /data/mci/3a8b1480e6992e101869eed7f23842e0/wiredtiger/src/conn/conn_api.c:1241:5
      

      The following test/model workload seems to be sufficient to trigger the error:

      config("database", "disaggregated=true")
      set_stable_timestamp(1106930)
      

      More details are available on this patch build.

              Assignee:
              Sean Watt
              Reporter:
              Peter Macko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: