Bug 264949 - CHECKED_POINTER_DEBUG prints unreliable stacktrace information
Summary: CHECKED_POINTER_DEBUG prints unreliable stacktrace information
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-16 07:28 PST by Claudio Saavedra
Modified: 2023-11-23 07:29 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>