test/format (disagg) hits WT_PANIC on file:wt.wt_stable, unencrypted block with encryption configured

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence - 2025-09-12
    • None

      test/format with a custom config aborts while reading file:wt.wt_stable. The run panics with “unencrypted block for which encryption configured,” then aborts.

      Error:

      [1755338278:593644][443915:0xef588600f120], t, file:wt.wt_stable, WT_CURSOR.search_near: [WT_VERB_DEFAULT][ERROR]: __blkcache_read_corrupt, 39: file:wt.wt_stable: fatal read error: unencrypted block for which encryption configured: WT_ERROR: non-specific WiredTiger error
      [1755338278:593680][443915:0xef588600f120], t, file:wt.wt_stable, WT_CURSOR.search_near: [WT_VERB_DEFAULT][ERROR]: __blkcache_read_corrupt, 39: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [1755338278:593695][443915:0xef588600f120], t, file:wt.wt_stable, WT_CURSOR.search_near: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 29: aborting WiredTiger library
      

      BT:

      #0  __pthread_kill_implementation (threadid=255858973929760, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
      #1  0x0000e8b489ecf244 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      #2  0x0000e8b489e8a67c in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3  0x0000e8b489e77130 in __GI_abort () at ./stdlib/abort.c:79
      #4  0x0000e8b48a22a1e0 in __wt_abort (session=session@entry=0xc58333f9ac70) at /home/ubuntu/wiredtiger/src/os_common/os_abort.c:31
      #5  0x0000e8b48a2d2de8 in __wt_panic_func (session=session@entry=0xc58333f9ac70, error=error@entry=-31802, func=func@entry=0xe8b48a318390 <__PRETTY_FUNCTION__.2> "__blkcache_read_corrupt", line=line@entry=39, 
          category=category@entry=WT_VERB_DEFAULT, fmt=fmt@entry=0xe8b48a318198 "%s: fatal read error: %s") at /home/ubuntu/wiredtiger/src/support/err.c:572
      #6  0x0000e8b48a06319c in __blkcache_read_corrupt (session=session@entry=0xc58333f9ac70, error=error@entry=-31802, addr=addr@entry=0xe8b3cf40cd81 "", addr_size=addr_size@entry=16, 
          fail_msg=fail_msg@entry=0xe8b48a3182d8 "unencrypted block for which encryption configured") at /home/ubuntu/wiredtiger/src/block_cache/block_io.c:39
      #7  0x0000e8b48a0645cc in __wt_blkcache_read_multi (session=session@entry=0xc58333f9ac70, buf=buf@entry=0xe8b3cf40cd10, buf_count=buf_count@entry=0xe8b3cf40cd20, block_meta=block_meta@entry=0xe8b3cf40cd38, addr=addr@entry=0xe8b3cf40cd81 "", 
          addr_size=16) at /home/ubuntu/wiredtiger/src/block_cache/block_io.c:511
      #8  0x0000e8b48a0cb7f0 in __page_read (session=session@entry=0xc58333f9ac70, ref=ref@entry=0xe8b3a06c2c00, flags=flags@entry=256) at /home/ubuntu/wiredtiger/src/btree/bt_read.c:234
      #9  0x0000e8b48a0cc6fc in __wt_page_in_func (session=session@entry=0xc58333f9ac70, ref=ref@entry=0xe8b3a06c2c00, flags=flags@entry=256, func=func@entry=0xe8b48a3251d0 <__PRETTY_FUNCTION__.5> "__wt_row_search", line=line@entry=576)
          at /home/ubuntu/wiredtiger/src/btree/bt_read.c:414
      #10 0x0000e8b48a11e89c in __wt_page_swap_func (session=session@entry=0xc58333f9ac70, held=held@entry=0xc58336119a80, want=want@entry=0xe8b3a06c2c00, flags=256, func=func@entry=0xe8b48a3251d0 <__PRETTY_FUNCTION__.5> "__wt_row_search", 
          line=line@entry=576) at /home/ubuntu/wiredtiger/src/include/btree_inline.h:2291
      #11 0x0000e8b48a1200bc in __wt_row_search (cbt=cbt@entry=0xe8b3640ddf80, srch_key=srch_key@entry=0xe8b3640de0a0, insert=insert@entry=true, leaf=leaf@entry=0x0, leaf_safe=leaf_safe@entry=false, leaf_foundp=leaf_foundp@entry=0x0)
          at /home/ubuntu/wiredtiger/src/btree/row_srch.c:576
      #12 0x0000e8b48a091f88 in __cursor_row_search (leaf_foundp=0x0, leaf=0x0, insert=true, cbt=0xe8b3640ddf80) at /home/ubuntu/wiredtiger/src/btree/bt_cursor.c:573
      #13 __wt_btcur_insert (cbt=cbt@entry=0xe8b3640ddf80) at /home/ubuntu/wiredtiger/src/btree/bt_cursor.c:1184
      #14 0x0000e8b48a182678 in __curfile_insert (cursor=0xe8b3640ddf80) at /home/ubuntu/wiredtiger/src/cursor/cur_file.c:389
      #15 0x0000e8b48a1a1a7c in __clayered_put (reserve=false, position=false, value=0xe8b3cf40e2b0, key=0xe8b3650b6520, clayered=0xe8b3650b6400, session=0xc58333f9ac70) at /home/ubuntu/wiredtiger/src/cursor/cur_layered.c:1398
      #16 __clayered_insert (cursor=0xe8b3650b6400) at /home/ubuntu/wiredtiger/src/cursor/cur_layered.c:1540
      #17 0x0000c583082282a0 in row_insert (tinfo=tinfo@entry=0xc583415a7760, positioned=positioned@entry=false) at /home/ubuntu/wiredtiger/test/format/ops.c:2062
      #18 0x0000c58308229c48 in table_op (tinfo=tinfo@entry=0xc583415a7760, intxn=intxn@entry=true, iso_level=iso_level@entry=ISOLATION_SNAPSHOT, op=<optimized out>, op@entry=INSERT) at /home/ubuntu/wiredtiger/test/format/ops.c:800
      #19 0x0000c5830822af1c in ops (arg=0xc583415a7760) at /home/ubuntu/wiredtiger/test/format/ops.c:1327
      #20 0x0000e8b489ecd5b8 in start_thread (arg=0x0) at ./nptl/pthread_create.c:442
      #21 0x0000e8b489f35edc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79
      

              Assignee:
              Mariam Mojid
              Reporter:
              Sid Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: