Bug 264949

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

Claudio Saavedra
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-23 07:29:13 PST
Claudio Saavedra
Comment 2 2025-05-16 07:15:43 PDT
Was this macro removed? If yes then I guess this bug can be closed.
Claudio Saavedra
Comment 3 2025-05-16 07:18:02 PDT
It was removed indeed.
Note You need to log in before you can comment on or make changes to this bug.