disagg: test_prepare29.py crash in Cursor.remove

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-10-10
    • 3

      Running this test under the disagg hook gives a crash:

      $ gdb --args python3 ../test/suite/run.py -v 2 --hook disagg test_prepare29.py -s 2Thread 1 "python3" received signal SIGABRT, Aborted.
      0x0000fffff769f200 in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      (gdb) bt
      #0  0x0000fffff769f200 in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      #1  0x0000fffff765a67c in raise () from /lib/aarch64-linux-gnu/libc.so.6
      #2  0x0000fffff7647130 in abort () from /lib/aarch64-linux-gnu/libc.so.6
      #3  0x0000fffff6bdaeac in __wt_abort (session=0x81f330) at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/os_common/os_abort.c:31
      #4  0x0000fffff6ccb99c in __wt_panic_func (session=0x81f330, error=-31804, func=0xfffff6da3428 <__PRETTY_FUNCTION__.42> "__clayered_open_stable", 
          line=312, category=WT_VERB_DEFAULT, fmt=0xfffff6da2be0 "Layered table could not access stable table on leader")
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/support/err.c:572
      #5  0x0000fffff6b209b0 in __clayered_open_stable (clayered=0x9089e0, leader=true)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/cursor/cur_layered.c:312
      #6  0x0000fffff6b21264 in __clayered_open_cursors (session=0x81f330, clayered=0x9089e0, update=false)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/cursor/cur_layered.c:566
      #7  0x0000fffff6b20478 in __clayered_enter (clayered=0x9089e0, reset=false, update=false, iteration=false)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/cursor/cur_layered.c:152
      #8  0x0000fffff6b29a04 in __clayered_remove (cursor=0x9089e0) at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/cursor/cur_layered.c:1634
      #9  0x0000fffff6ee15e8 in _wrap_Cursor_remove (self=0xfffff70f8d60, args=0xfffff70408b0)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/build/lang/python/CMakeFiles/wiredtiger_python.dir/wiredtigerPYTHON_wrap.c:4305
      #10 0x0000fffff799ff38 in cfunction_vectorcall_O (func=0xfffff7139800, args=0xfffff717b828, nargsf=<optimized out>, kwnames=<optimized out>)
       

      Note: this ticket is primarily concerned with understanding and fixing the abort/crash. That alone may not fix the test, and it's okay to defer and regular logic failures to another ticket. However, if the fix allows the test to pass, please remove the test/tests from the test/hook_disagg.fail list so they will be tested regularly in Evergreen.

      Even though this is a prepare test (not prioritized at the moment), we'd like to fix the condition that leads to the crash.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: