Bug 13060
Summary: | REGRESSION: Repro ASSERT failure in Cache::adjustSize running layout tests | ||
---|---|---|---|
Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | hyatt |
Priority: | P1 | Keywords: | InRadar, LayoutTestFailure, Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Geoffrey Garen
This bug is also in Radar as <rdar://5060208>
* STEPS TO REPRODUCE
run-webkit-tests --leaks fast/dom
[12:47pm] darin: ASSERTION FAILED: delta >= 0 || ((int)m_liveResourcesSize + delta >= 0)
[12:47pm] darin: (/Users/darin/Safari/OpenSource/WebCore/loader/Cache.cpp:352 void WebCore::Cache::adjustSize(bool, int))
Darin says this is reproducible 100% of the time.
-------------------------------------------
<GMT13-Mar-2007 19:52:36GMT> Geoff Garen:
I think this is a regression caused by Hyatt's recent cache changes.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antti Koivisto
CachedScript is dereferenced twice in fast/dom/script-element-gc.html, causing m_liveResourcesSize underflow.
Antti Koivisto
r20194