<?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>172020</bug_id>
          
          <creation_ts>2017-05-11 22:17:30 -0700</creation_ts>
          <short_desc>[WinCairo] ASSERTION FAILED: !m_resource-&gt;errorOccurred()</short_desc>
          <delta_ts>2017-05-14 22:20:53 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>170432</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1307772</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-05-11 22:17:30 -0700</bug_when>
    <thetext>I see the following assertion faiure while loading https://maps.google.com/.

&gt; ASSERTION FAILED: !m_resource-&gt;errorOccurred()
&gt; C:\webkit\ga\Source\WebCore\loader\SubresourceLoader.cpp(395) : WebCore::SubresourceLoader::didReceiveDataOrBuffer

Callstack:

&gt; WTF.dll!WTFCrash() Line 292	C++
&gt; WebKit.dll!WebCore::SubresourceLoader::didReceiveDataOrBuffer(const char * data, int length, WTF::RefPtr&lt;WebCore::SharedBuffer&gt; &amp;&amp; buffer, __int64 encodedDataLength, WebCore::DataPayloadType dataPayloadType) Line 395	C++
&gt; WebKit.dll!WebCore::SubresourceLoader::didReceiveData(const char * data, unsigned int length, __int64 encodedDataLength, WebCore::DataPayloadType dataPayloadType) Line 373	C++
&gt; WebKit.dll!WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle * __formal, const char * data, unsigned int length, int encodedDataLength) Line 644	C++
&gt; WebKit.dll!WebCore::writeCallback(void * ptr, unsigned __int64 size, unsigned __int64 nmemb, void * data) Line 346	C++
&gt; libcurl.dll!Curl_client_chop_write(connectdata * conn, int type, char * ptr, unsigned __int64 len) Line 436	C
&gt; libcurl.dll!readwrite_data(SessionHandle * data, connectdata * conn, SingleRequest * k, int * didwhat, bool * done) Line 742	C
&gt; libcurl.dll!Curl_readwrite(connectdata * conn, SessionHandle * data, bool * done) Line 1064	C
&gt; libcurl.dll!multi_runsingle(Curl_multi * multi, timeval now, SessionHandle * data) Line 1535	C
&gt; libcurl.dll!curl_multi_perform(void * multi_handle, int * running_handles) Line 1811	C
&gt; WebKit.dll!WebCore::ResourceHandleManager::downloadTimerCallback() Line 661	C++
&gt; [External Code]	
&gt; WebKit.dll!WebCore::Timer::fired() Line 135	C++
&gt; WebKit.dll!WebCore::ThreadTimers::sharedTimerFiredInternal() Line 121	C++
&gt; WebKit.dll!WebCore::ThreadTimers::setSharedTimer::__l8::&lt;lambda&gt;() Line 70	C++
&gt; [External Code]	
&gt; WebKit.dll!WebCore::MainThreadSharedTimer::fired() Line 53	C++
&gt; WebKit.dll!WebCore::TimerWindowWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 90	C++
&gt; [External Code]	
&gt; WebKit.dll!WebKitMessageLoop::run(HACCEL__ * hAccelTable) Line 97	C++
&gt; MiniBrowserLib.dll!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 189	C++
&gt; MiniBrowserLib.dll!dllLauncherEntryPoint(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 857	C++
&gt; MiniBrowser.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 249	C++
&gt; [External Code]	

I tested with WinCairo port, debug build, trunk@216673.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1307839</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-05-12 03:19:39 -0700</bug_when>
    <thetext>https://maps.gstatic.com/mapfiles/maps_lite/images/spinner_color.gif
This is the URL of the subresouce.
WinCairo port can&apos;t show all GIF images fron http: at the moment (Bug 170432).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308566</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-05-14 22:20:53 -0700</bug_when>
    <thetext>After Bug 170432 has been fixed, all GIF are shown and I don&apos;t see this assertion failure.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>