Bug 264949

Summary: CHECKED_POINTER_DEBUG prints unreliable stacktrace information
Product: WebKit Reporter: Claudio Saavedra <csaavedra>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Claudio Saavedra 2023-11-16 07:28:57 PST
Debugging a CheckedPtr crash by enabling CHECKED_POINTER_DEBUG prints a list of stacktraces for the dangling references of a CheckedPtr, but for some reason the number of stacktraces doesn't match the amount of reference leaks. In the bug I am debugging, m_count is 1, but there are 9 stacktraces. That makes debugging CheckedPtr tricky, as I am not sure which of those is the one that is really leaked.
Comment 1 Radar WebKit Bug Importer 2023-11-23 07:29:13 PST
<rdar://problem/118748319>