Hi Greg, Thanks for testing this. I reproduced your TRAP on a cassert build with both patches applied.
v3 folds your change into 0001, with a Co-authored-by line for you. I also added a btree regression test that sets LP_DEAD on the high key of a multi-page index. It crashes without 0003 and gives the new error with it. Thanks, Shihao
v3-0001-pageinspect-validate-line-pointers-before-using-t.patch
Description: Binary data
v3-0002-pageinspect-validate-page-headers-and-BRIN-and-GI.patch
Description: Binary data
