-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failure routing_filter_prefetch() -> cache_get(), reporting invalid input page addr. #545
Comments
NOTE: With an attempted fix for reported issue in the function (), when you re-run the new test case, we run into this new BTree-pack failure:
This error is triggered by this code in
Curiously, the checker function Seems like an off-by-1 error in the condition check. |
Attn: @ajhconway , @rtjohnso -- Just getting your attention to this long-winded 'test-stabilization' fix attempts I am meandering through in the background: (We should talk in-person for me to make progress on this item.) After fixing the original issue
Debugging this, I confirmed that we only run into this from this code-flow:
And it's a valid failure condition:
There is already code to handle from this failure and cleanup; i.e.
Seems like on L4799 onwards, we do a clean back-out, so no stale BTree-pack should be residual. This happens twice in this test case's run. Then we run into this hard assertion:
The error: trunk_inc_filter(): "filter->addr != 0" is very weird. This means in this code block:
On L4102, we are accessing a Under the debugger we find:
Unclear - why this is an uninitialized filter handle. Or we are getting some wrong data structure in the code above. Curiously, parent_filter also appears 'bogus':
This will need further debugging. |
The original issue reported in this issue (bug in routing_filter_prefetch()) has been fixed and integrated. The sub-issues reported in this thread has been peeled of to its own standalone issue #570. |
In
/main
, [ @sha 4b6e0b1 ], while trying to re-run & validate repro created for issue #458 (branchagurajada/458-mini_destroy_unused-Assert
; new test case large_inserts_stress_test.c), we run into the following assertion using the debug binary:The extended assertion reports:
The input page-address
addr=1034551297
is clearly wrong.The relevant code in
/main
is this:On L644, the
addr + index_page_no
seems incorrect. We should multiply this index by the page-size.The text was updated successfully, but these errors were encountered: