<?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>97698</bug_id>
          
          <creation_ts>2012-09-26 10:47:32 -0700</creation_ts>
          <short_desc>DownloadManager crash in multipart tests</short_desc>
          <delta_ts>2012-09-26 11:21:22 -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>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>97565</dup_id>
          
          <bug_file_loc></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="Jussi Kukkonen (jku)">jussi.kukkonen</reporter>
          <assigned_to name="Jussi Kukkonen (jku)">jussi.kukkonen</assigned_to>
          <cc>cdumez</cc>
    
    <cc>lucas.de.marchi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>728728</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen (jku)">jussi.kukkonen</who>
    <bug_when>2012-09-26 10:47:32 -0700</bug_when>
    <thetext>Using the patch for multipart enabling in bug 94515, there&apos;s a crash on efl port in these:
  http/tests/multipart/multipart-replace-non-html-content
  http/tests/multipart/policy-ignore-crash.php


crash log for WebProcess (pid &lt;unknown&gt;):
STDOUT: &lt;empty&gt;
STDERR: ASSERTION FAILED: m_downloads.contains(download-&gt;downloadID())
STDERR: /home/jku/intel/src/WebKit/Source/WebKit2/WebProcess/Downloads/DownloadManager.cpp(76) : void WebKit::DownloadManager::downloadFinished(WebKit::Download*)
STDERR: 1   0x7ffa062381e5 WebKit::DownloadManager::downloadFinished(WebKit::Download*)
STDERR: 2   0x7ffa0623684b WebKit::Download::didFail(WebCore::ResourceError const&amp;, CoreIPC::DataReference const&amp;)
STDERR: 3   0x7ffa062fa17b WebKit::DownloadClient::downloadFailed(WebCore::ResourceError const&amp;)
STDERR: 4   0x7ffa062fa5f0 WebKit::DownloadClient::didReceiveResponse(WebCore::ResourceHandle*, WebCore::ResourceResponse const&amp;)
STDERR: 5   0x7ffa062f9a1b WebKit::Download::startWithHandle(WebKit::WebPage*, WebCore::ResourceHandle*, WebCore::ResourceResponse const&amp;)
STDERR: 6   0x7ffa062380b1 WebKit::DownloadManager::convertHandleToDownload(unsigned long, WebKit::WebPage*, WebCore::ResourceHandle*, WebCore::ResourceRequest const&amp;, WebCore::ResourceResponse const&amp;)
STDERR: 7   0x7ffa062a3168 WebKit::WebFrame::convertHandleToDownload(WebCore::ResourceHandle*, WebCore::ResourceRequest const&amp;, WebCore::ResourceResponse const&amp;)
STDERR: 8   0x7ffa062815bc WebKit::WebFrameLoaderClient::download(WebCore::ResourceHandle*, WebCore::ResourceRequest const&amp;, WebCore::ResourceResponse const&amp;)
STDERR: 9   0x7ffa09257970 WebCore::MainResourceLoader::continueAfterContentPolicy(WebCore::PolicyAction, WebCore::ResourceResponse const&amp;)
STDERR: 10  0x7ffa09257ea6 WebCore::MainResourceLoader::continueAfterContentPolicy(WebCore::PolicyAction)
STDERR: 11  0x7ffa09257de0 WebCore::MainResourceLoader::callContinueAfterContentPolicy(void*, WebCore::PolicyAction)
STDERR: 12  0x7ffa0925c8b6 WebCore::PolicyCallback::call(WebCore::PolicyAction)
STDERR: 13  0x7ffa0925d6f9 WebCore::PolicyChecker::continueAfterContentPolicy(WebCore::PolicyAction)
STDERR: 14  0x7ffa062a3021 WebKit::WebFrame::didReceivePolicyDecision(unsigned long, WebCore::PolicyAction, unsigned long)
STDERR: 15  0x7ffa0627ea1d WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse(void (WebCore::PolicyChecker::*)(WebCore::PolicyAction), WebCore::ResourceResponse const&amp;, WebCore::ResourceRequest const&amp;)
STDERR: 16  0x7ffa0925d1b4 WebCore::PolicyChecker::checkContentPolicy(WebCore::ResourceResponse const&amp;, void (*)(void*, WebCore::PolicyAction), void*)
STDERR: 17  0x7ffa092584c2 WebCore::MainResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&amp;)
STDERR: 18  0x7ffa0926ae2f WebCore::ResourceLoader::didReceiveResponse(WebCore::ResourceHandle*, WebCore::ResourceResponse const&amp;)
STDERR: 19  0x7ffa09d8041c
STDERR: 20  0x7ffa03fb9e7e g_simple_async_result_complete
STDERR: 21  0x7ffa03fb9f18
STDERR: 22  0x7ffa040ef695 g_main_context_dispatch
STDERR: 23  0x7ffa03bb7b67
STDERR: 24  0x7ffa03bb21d4
STDERR: 25  0x7ffa03bb2c95
STDERR: 26  0x7ffa03bb2f97 ecore_main_loop_begin
STDERR: 27  0x7ffa09d67f6d WebCore::RunLoop::run()
STDERR: 28  0x7ffa062fc450 WebProcessMainEfl
STDERR: 29  0x40096c main
STDERR: 30  0x7ffa047ceead __libc_start_main
STDERR: 31  0x400869
STDERR: LEAK: 1 WebPageProxy
STDERR: LEAK: 1 WebContext</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>728752</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-09-26 11:05:59 -0700</bug_when>
    <thetext>Looks like a duplicate of Bug 97565.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>728779</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen (jku)">jussi.kukkonen</who>
    <bug_when>2012-09-26 11:21:22 -0700</bug_when>
    <thetext>Yes it does, thanks.

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

    </bug>

</bugzilla>