Bug 19182 - Assertion failure in ApplicationCacheGroup::addEntry when reloading a page with a cache manifest
Summary: Assertion failure in ApplicationCacheGroup::addEntry when reloading a page wi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-05-21 23:15 PDT by Adam Roben (:aroben)
Modified: 2008-06-03 10:09 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2008-05-21 23:15:55 PDT
I'm seeing an assertion failure in ApplicationCacheGroup::didFinishLoading when reloading a page with a cache manifest.

1. Go to <http://webkit.org/misc/DatabaseExample.html>
2. Reload

ASSERTION FAILED: m_cacheBeingUpdated

 	WebKit_debug.dll!WebCore::ApplicationCacheGroup::didFinishLoading(WebCore::ResourceHandle * handle=0x069f11d8)  Line 389	C++
 	WebKit_debug.dll!WebCore::didFinishLoading(_CFURLConnection * conn=0x060d2b48, const void * clientInfo=0x069f11d8)  Line 118 + 0x1e bytes	C++
 	CFNetwork_debug.dll!sendDidFinishLoadingCallback(_CFURLConnection * conn=0x060d2b48, CFURLConnectionQueueElement * event=0x0012f710)  Line 1413 + 0x1b bytes	C
Comment 1 Mark Rowe (bdash) 2008-05-21 23:16:28 PDT
<rdar://problem/5955218>
Comment 2 Adam Roben (:aroben) 2008-05-21 23:20:08 PDT
Here's the correct backtrace. The assertion is in ApplicationCacheGroup::addEntry:

>	WebKit_debug.dll!WebCore::ApplicationCacheGroup::addEntry(const WebCore::String & url={...}, unsigned int type=4)  Line 637 + 0x2e bytes	C++
 	WebKit_debug.dll!WebCore::ApplicationCacheGroup::didFinishLoadingManifest()  Line 509 + 0x16 bytes	C++
 	WebKit_debug.dll!WebCore::ApplicationCacheGroup::didFinishLoading(WebCore::ResourceHandle * handle=0x069f11d8)  Line 389	C++
 	WebKit_debug.dll!WebCore::didFinishLoading(_CFURLConnection * conn=0x060d2b48, const void * clientInfo=0x069f11d8)  Line 118 + 0x1e bytes	C++

Comment 3 Anders Carlsson 2008-06-03 10:09:45 PDT
Committed revision 34343.