__wti_block_disagg_addr_unpack segmentation fault

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Format
    • Storage Engines, Storage Engines - Foundations, Storage Engines - Persistence
    • SE Foundations - 2025-07-18
    • 5

      Failure:

       [2025/06/10 15:16:41.597] Iteration 1/1
       [2025/06/10 15:16:41.597] t: process 18451 running
       [2025/06/10 15:16:41.597] 0x5306ffc61a60:[1749532601:597075][18451:0x7f6e387d0300], t, txn-recover: [WT_VERB_RTS][WARNING]: skipped recovery RTS due to disagg
       [2025/06/10 15:16:41.616] 0x5306ffc60000:[1749532601:615980][18451:0x7f6e387d0300], t, WT_CONNECTION.close: [WT_VERB_RTS][WARNING]: skipped shutdown RTS due to disagg
       [2025/06/10 15:16:41.632] 0x433a3fe01a60:[1749532601:632254][18451:0x7f6e387d0300], t, txn-recover: [WT_VERB_RTS][WARNING]: skipped recovery RTS due to disagg
       [2025/06/10 15:19:10.279]   ./t -R $format_args
       [2025/06/10 15:19:10.279] done
       [2025/06/10 15:19:10.280] bash: line 44: 18451 Segmentation fault      (core dumped) ./t -c ../../../test/format/CONFIG.disagg $format_args
       [2025/06/10 15:19:10.280] Command 'shell.exec' in function 'format test disagg' (step 3 of 3) failed: shell script encountered problem: exit code 139.
      

      backtrace line:

      switch (*p & 0xf0) {
      (gdb) p *p
      Cannot access memory at address 0x0
      
      #0  0x00007efd1251fca4 in __wt_vunpack_uint (pp=0x7efc2d7f7928, maxlen=0, xp=0x7efc2d7f78c0) at /data/wiredtiger/src/include/intpack_inline.h:272
      #1  0x00007efd12520260 in __wti_block_disagg_addr_unpack (buf=0x7efc2d7f7928, buf_size=0, page_idp=0x7efc2d7f7958, lsnp=0x7efc2d7f7960, checkpoint_idp=0x7efc2d7f7968, 
          reconciliation_idp=0x7efc2d7f7950, sizep=0x7efc2d7f7948, checksump=0x7efc2d7f794c) at /data/wiredtiger/src/block_disagg/block_disagg_addr.c:62
      #2  0x00007efd12527244 in __wti_block_disagg_page_discard (session=0x1ec65c8, block=0x1da1b00, addr=0x0, addr_size=0) at /data/wiredtiger/src/block_disagg/block_disagg_write.c:281
      #3  0x00007efd12521daa in __bmd_free (bm=0x1dda2e0, session=0x1ec65c8, addr=0x0, addr_size=0) at /data/wiredtiger/src/block_disagg/block_disagg_mgr.c:76
      #4  0x00007efd127d2599 in __wt_btree_block_free (session=0x1ec65c8, addr=0x0, addr_size=0, page_replacement=false) at /data/wiredtiger/src/include/btree_inline.h:162
      #5  0x00007efd127e3be2 in __rec_write_wrapup (session=0x1ec65c8, r=0x7efc1810f650, page=0x7efc7414f470) at /data/wiredtiger/src/reconcile/rec_write.c:3122
      #6  0x00007efd127d93f1 in __reconcile (session=0x1ec65c8, ref=0x7efc7414f330, salvage=0x0, flags=132, page_lockedp=0x7efc2d7f887f) at /data/wiredtiger/src/reconcile/rec_write.c:346
      #7  0x00007efd127d7ee6 in __wt_reconcile (session=0x1ec65c8, ref=0x7efc7414f330, salvage=0x0, flags=132) at /data/wiredtiger/src/reconcile/rec_write.c:107
      #8  0x00007efd125d05e3 in __wt_sync_file (session=0x1ec65c8, syncop=WT_SYNC_CHECKPOINT) at /data/wiredtiger/src/btree/bt_sync.c:363
      #9  0x00007efd126273ac in __checkpoint_tree (session=0x1ec65c8, is_checkpoint=true, cfg=0x7efc2d7f9dd0) at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:2534
      #10 0x00007efd12627b14 in __checkpoint_tree_helper (session=0x1ec65c8, cfg=0x7efc2d7f9dd0) at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:2672
      #11 0x00007efd1261fe0c in __checkpoint_apply_to_dhandles (session=0x1ec65c8, cfg=0x7efc2d7f9dd0, op=0x7efd12627a1b <__checkpoint_tree_helper>)
          at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:340
      #12 0x00007efd12623255 in __checkpoint_db_internal (session=0x1ec65c8, cfg=0x7efc2d7f9dd0) at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:1341
      #13 0x00007efd12624be7 in __checkpoint_db_wrapper (session=0x1ec65c8, cfg=0x7efc2d7f9dd0) at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:1708
      #14 0x00007efd12624e7f in __wt_checkpoint_db (session=0x1ec65c8, cfg=0x7efc2d7f9dd0, waiting=true) at /data/wiredtiger/src/checkpoint/checkpoint_txn.c:1787
      #15 0x00007efd1282c4b6 in __session_checkpoint (wt_session=0x1ec65c8, config=0x0) at /data/wiredtiger/src/session/session_api.c:2273
      #16 0x0000000000408654 in checkpoint (arg=0x0) at /data/wiredtiger/test/format/checkpoint.c:147
      #17 0x00007efd12488609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: