I'm trying to debug flaky test failures:
The tests all have stacks like:
Stack Trace:
RELADDR FUNCTION FILE:LINE
06c76627 void base::allocator::(anonymous namespace)::DanglingRawPtrReleased<(base::features::DanglingPtrMode)0, (base::features::DanglingPtrType)1>(unsigned int) partition_alloc_support.cc:0:0
06d42cac partition_alloc::internal::DanglingRawPtrReleased(unsigned int) dangling_raw_ptr_checks.cc:0:0
02c4c6ed base::internal::RawPtrBackupRefImpl<false, false>::ReleaseInternal(unsigned int) raw_ptr_backup_ref_impl.cc:0:0
09008fd8 autofill::AutofillDataModelChange<autofill::AutofillProfile>::~AutofillDataModelChange() personal_data_manager.cc:0:0
0904d997 base::internal::BindState<base::RepeatingCallback<void (autofill::AutofillProfileDeepChange const&)>, autofill::AutofillProfileDeepChange>::~BindState() autofill_webdata_backend_impl.cc:0:0
0904d966 base::internal::BindState<base::RepeatingCallback<void (autofill::AutofillProfileDeepChange const&)>, autofill::AutofillProfileDeepChange>::Destroy(base::internal::BindStateBase const*) autofill_webdata_backend_impl.cc:0:0
06b1f74f base::internal::BindStateHolder::~BindStateHolder() callback_internal.cc:0:0
raw_ptr<const DataType, DanglingUntriaged> data_model_
From what I can tell, "DanglingUntriaged" should not cause crashes. The type in the stack is:
base::internal::RawPtrBackupRefImpl<false, false>
I think those template args mean "do crash".
Before I try to add printfs and repro locally, anyone know if I've got something wrong with how raw_ptr works?