<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>15017</bug_id>
          
          <creation_ts>2007-08-19 23:35:08 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: size == 0 || size &gt;= m_encodedSize in WebCore::CachedResource::setEncodedSize</short_desc>
          <delta_ts>2007-09-12 11:25:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15191</dup_id>
          
          <bug_file_loc>http://laserjock.wordpress.com/2007/08/18/gsoc-ubuntu-bootloader-manager-02/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Lilek">dev+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1921</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-08-19 23:35:08 -0700</bug_when>
    <thetext>I&apos;m hitting this assert when I middle click the four thumbnails towards the top of this page to open them in background tabs.  size &gt;= m_encodedSize is causing this to be hit.

ASSERTION FAILED: size == 0 || size &gt;= 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&lt;WebCore::SharedBuffer&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1856</commentid>
    <comment_count>1</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2007-08-20 15:54:52 -0700</bug_when>
    <thetext>I couldn&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-08-20 16:39:18 -0700</bug_when>
    <thetext>I can&apos;t reproduce this now either, but I definitely could last night.  One difference I noticed is that now there&apos;s that bloody annoying snap preview crap which I think was timing out last night or wasn&apos;t otherwise appearing.

I&apos;ll leave this open for now and try it a couple more times then close it if I can&apos;t reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1434</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2007-08-26 09:19:45 -0700</bug_when>
    <thetext>I just hit this again when opening &lt;http://bugs.webkit.org/attachment.cgi?id=16123&amp;action=view&gt; from Mail to Safari 3.0.3 Beta with r25251 on Tiger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>599</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-09-12 10:55:33 -0700</bug_when>
    <thetext>Bug 15191 is in Radar.

*** This bug has been marked as a duplicate of 15191 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>