Bug 15017
Summary: | ASSERTION FAILED: size == 0 || size >= m_encodedSize in WebCore::CachedResource::setEncodedSize | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Lilek <dev+webkit> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://laserjock.wordpress.com/2007/08/18/gsoc-ubuntu-bootloader-manager-02/ |
Matt Lilek
I'm hitting this assert when I middle click the four thumbnails towards the top of this page to open them in background tabs. size >= m_encodedSize is causing this to be hit.
ASSERTION FAILED: size == 0 || size >= m_encodedSize
(/Users/matt/Code/WebKit/WebCore/loader/CachedResource.cpp:159 void WebCore::CachedResource::setEncodedSize(unsigned int))
Thread 0 Crashed:
0 com.apple.WebCore 0x0112d9d8 WebCore::CachedResource::setEncodedSize(unsigned) + 132 (CachedResource.cpp:159)
1 com.apple.WebCore 0x0112d12c WebCore::CachedImage::data(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) + 396 (CachedImage.cpp:197)
2 com.apple.WebCore 0x01130ab4 WebCore::Loader::didReceiveData(WebCore::SubresourceLoader*, char const*, int) + 372 (loader.cpp:208)
3 com.apple.WebCore 0x01492d60 WebCore::SubresourceLoader::didReceiveData(char const*, int, long long, bool) + 180 (SubresourceLoader.cpp:180)
4 com.apple.WebCore 0x01490d50 WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, int, int) + 108
5 com.apple.WebCore 0x0146472c -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] + 300 (ResourceHandleMac.mm:422)
6 com.apple.Foundation 0x92c13624 -[NSURLConnection(NSURLConnectionInternal) _sendDidReceiveDataCallback] + 564
7 com.apple.Foundation 0x92c11ac4 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 488
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Geoffrey Garen
I couldn't reproduce this.
The backtrace shows that you were loading a subresource for a webpage, but clicking a thumbnail on this site opens a stand-alone image, not a webpage. Are you sure you have the steps to reproduce right?
Matt Lilek
I can't reproduce this now either, but I definitely could last night. One difference I noticed is that now there's that bloody annoying snap preview crap which I think was timing out last night or wasn't otherwise appearing.
I'll leave this open for now and try it a couple more times then close it if I can't reproduce.
Matt Lilek
I just hit this again when opening <http://bugs.webkit.org/attachment.cgi?id=16123&action=view> from Mail to Safari 3.0.3 Beta with r25251 on Tiger.
mitz
Bug 15191 is in Radar.
*** This bug has been marked as a duplicate of 15191 ***