[Webkit-unassigned] [Bug 106768] New: m_initiatorMap has keys for already deleted CachedResources.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 14 01:54:21 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106768
Summary: m_initiatorMap has keys for already deleted
CachedResources.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: loislo at chromium.org
CC: japhet at chromium.org, simonjam at chromium.org,
vsevik at chromium.org
I fixed instrumentation for CachedResourceLoader (added m_initiatorMap in reportMemoryUsage method)
As a result I got a crash in inspector-protocol/nmi-webaudio-leak-test.html layout test.
It happened because Native Memory profiler iterates through instrumented objects members
and all container values. In the current case it iterates through the keys
in m_initiatorMap and visits them. Looks like the lifetime of the map doesn't
correlates with the lifetime of the CachedResources.
Usually it crashes when profiler visits a document from a previous test.
It happens almost always because DRT doesn't forces GC between tests.
https://bugs.webkit.org/attachment.cgi?id=182522&action=review
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list