Failed: unit-test-hook-tiered-with-delays on ! Ubuntu 20.04 [WiredTiger (develop) @ 1d974de6]

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Test Python
    • None

      unit-test-hook-tiered-with-delays failed on ! Ubuntu 20.04

      Host: N/A
      Project: WiredTiger (develop)
      Commit: diff: WT-14804 Fix crash when printing an invalid dhandle's name on sweep walk (#12038)

      A bug was introduced in commit
      https://github.com/wiredtiger/wiredtiger/commit/aa8b5a7c0c7cd13d5c08ce5c3566ee1ee9078864
      , in `__sweep_file_dhandle_check_and_reset_tod` function which calls
      `_wt_conn_dhandle_find`. Inside `_wt_conn_dhandle_find()` we find a
      dhandle and assign the `session->dhandle` to it.
      Later inside the sweep walk, `__sweep_check_session_callback` is called,
      but the dhandle might already been deleted but `session->dhandle` still
      points to that handle, when it tries to print the session's dhandle
      name, it will point to an invalid pointer.
      This PR fixes it by assigning back the session's dhandle to null after
      calling `__wt_conn_dhandle_find()` to avoid this bug from happening. | 23 Jun 25 00:22 UTC
      Evergreen Subscription: ; Evergreen Event:

      Task Logs (unit-test-hook-tiered-with-delays)

            Assignee:
            Linh Tran
            Reporter:
            Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: