test/format (mode=switch) [Elegant stepdown bugs] SIGSEGV in __split_internal_unlock during eviction from layered drain worker

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Reconciliation
    • Storage Engines - Transactions
    • 432.55
    • SE Transactions - 2026-07-03, SE Transactions - 2026-07-17
    • 3

      Context

      This bug was discovered during testing on the dedicated elegant step-down feature branch https://github.com/wiredtiger/wiredtiger/compare/develop...wt-17785-enable-elegant-stepdown-mainine. Currently, step-down restarts for test/format. In this branch, we are replacing the restart with a synchronous, elegant step-down triggered via reconfigure(role=follower). This ticket captures one of the bugs as a result of elegant stepdown.

      Evergreen Task / Link

      https://spruce.mongodb.com/version/6a2a86c547495a0008de33fc/tasks and https://spruce.mongodb.com/version/6a2a873eeb4696000715ceed/tasks

      Example task (single occurrence so far): Amazon2023 ARM64 Release Non-standalone / data-validation-1

      Logs & Stack Trace

      Program terminated with signal SIGSEGV, Segmentation fault.
      #0 __wt_atomic_store_uint32_relaxed (vp=0x120, v=4294967295) at src/include/gcc.h:408
      #1 __wt_spin_unlock at src/include/mutex_inline.h:207
      #2 __split_internal_unlock at src/btree/bt_split.c:1276
      #3 __split_parent_climb at src/btree/bt_split.c:1401
      #4 __split_multi_lock (ref=0x0) at src/btree/bt_split.c:2423
      #5 __wt_split_multi at src/btree/bt_split.c:2441
      #6 __evict_page_dirty_update at src/evict/evict_page.c:673
      #7 __wt_evict at src/evict/evict_page.c:478
      #11 __wt_txn_begin at src/include/txn_inline.h:1980
      #12 __layered_clear_ingest_table (uri=file:T00003.wt_ingest) at src/conn/conn_layered_ingest.c:142
      #13 __layered_drain_worker_run at src/conn/conn_layered_ingest.c:837
      

            Assignee:
            Shoufu Du
            Reporter:
            Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: