Eviction thread panic due to buffer overflow in transaction state dump

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2026-03-27
    • 1
    • v8.3, v8.2

      During __wt_verbose_dump_txn_one we don't alloc enough buf size for __wt_snprintf, which will cause ERANGE error occasionally if the reserved 512 bytes is not large enough to fit the dump message.
      The fix is simple, just to account the size of txn_err_info->err_msg for the buffer.

            Assignee:
            Zunyi Liu
            Reporter:
            Zunyi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: