-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Test Python
-
None
-
Storage Engines, Storage Engines - Transactions
-
None
-
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:
- is caused by
-
WT-14804 Fix crash when printing an invalid dhandle's name on sweep walk
-
- Closed
-
- is duplicated by
-
WT-14849 failed: unit-test-hook-tiered-with-delays on ubuntu2004 [wiredtiger @ 1d974de6]
-
- Closed
-
- is related to
-
WT-14841 Move three connection flags to server flags and make preserve prepared a connection flag
-
- Closed
-
- related to
-
WT-14849 failed: unit-test-hook-tiered-with-delays on ubuntu2004 [wiredtiger @ 1d974de6]
-
- Closed
-