<?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>69513</bug_id>
          
          <creation_ts>2011-10-06 03:48:52 -0700</creation_ts>
          <short_desc>[WK2] [GTK] WebKitWebProcess asserts in ASSERT(m_state != CLOSED)</short_desc>
          <delta_ts>2011-11-02 08:07:39 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>69523</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro G. Castro">alex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kaustubh.ra</cc>
    
    <cc>mrobinson</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>479049</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2011-10-06 03:48:52 -0700</bug_when>
    <thetext>This is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007fd44021d710 in WebCore::EventSource::didFail (this=0x2354c40, error=...) at ../../../Source/WebCore/page/EventSource.cpp:256
256	    ASSERT(m_state != CLOSED);
(gdb) bt
#0  0x00007fd44021d710 in WebCore::EventSource::didFail (this=0x2354c40, error=...) at ../../../Source/WebCore/page/EventSource.cpp:256
#1  0x00007fd44016b6dc in WebCore::DocumentThreadableLoader::didFail (this=0x2357bf0, loader=0x2358de0, error=...) at ../../../Source/WebCore/loader/DocumentThreadableLoader.cpp:288
#2  0x00007fd4401c0c6d in WebCore::SubresourceLoader::willCancel (this=0x2358de0, error=...) at ../../../Source/WebCore/loader/SubresourceLoader.cpp:224
#3  0x00007fd4401b7582 in WebCore::ResourceLoader::cancel (this=0x2358de0, error=...) at ../../../Source/WebCore/loader/ResourceLoader.cpp:370
#4  0x00007fd4401b74c3 in WebCore::ResourceLoader::cancel (this=0x2358de0) at ../../../Source/WebCore/loader/ResourceLoader.cpp:350
#5  0x00007fd440161717 in WebCore::cancelAll (loaders=...) at ../../../Source/WebCore/loader/DocumentLoader.cpp:71
#6  0x00007fd440163e78 in WebCore::DocumentLoader::stopLoadingSubresources (this=0x22ac600) at ../../../Source/WebCore/loader/DocumentLoader.cpp:748
#7  0x00007fd4401624e1 in WebCore::DocumentLoader::stopLoading (this=0x22ac600) at ../../../Source/WebCore/loader/DocumentLoader.cpp:258
#8  0x00007fd4401767e0 in WebCore::FrameLoader::stopAllLoaders (this=0x2279d18, clearProvisionalItemPolicy=WebCore::ShouldClearProvisionalItem) at ../../../Source/WebCore/loader/FrameLoader.cpp:1601
#9  0x00007fd440176838 in WebCore::FrameLoader::stopForUserCancel (this=0x2279d18, deferCheckLoadComplete=false) at ../../../Source/WebCore/loader/FrameLoader.cpp:1617
#10 0x00007fd43fb8a234 in WebKit::WebPage::stopLoading (this=0x2256c10) at ../../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:597
#11 0x00007fd43fafe9b4 in WKBundlePageStopLoading (pageRef=0x2256c10) at ../../../Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:131
#12 0x00007fd3fa32d0a3 in WTR::InjectedBundlePage::stopLoading (this=0x22be0c0) at ../../../Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:294
#13 0x00007fd3fa32a87a in WTR::InjectedBundle::done (this=0x22396d0) at ../../../Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:214
#14 0x00007fd3fa32e095 in WTR::InjectedBundlePage::dump (this=0x22be0c0) at ../../../Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:586
#15 0x00007fd3fa333c61 in WTR::LayoutTestController::notifyDone (this=0x22ab250) at ../../../Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:170
#16 0x00007fd3fa33ad16 in WTR::JSLayoutTestController::notifyDone (context=0x7fd3f96d7088, thisObject=0x7fd3f96d2ba0, argumentCount=0, arguments=0x7fff65d2f688, exception=0x7fff65d2f728) at DerivedSources/InjectedBundle/JSLayoutTestController.cpp:191
#17 0x00007fd43e987532 in JSC::JSCallbackFunction::call (exec=0x7fd3f96d7088) at ../../../Source/JavaScriptCore/API/JSCallbackFunction.cpp:73
#18 0x00007fd43ea548b8 in JSC::cti_op_call_NotJSFunction (args=0x7fff65d2f860) at ../../../Source/JavaScriptCore/jit/JITStubs.cpp:2323
#19 0x00007fd43ea4fd61 in JSC::JITThunks::tryCacheGetByID (callFrame=0x7fd3f96d2ba0, codeBlock=0x3ea2147e, returnAddress=..., baseValue=..., 
    propertyName=&quot;䡕荈წ襈譈襈ꕠ￻譈襈￼쏉䡕荈წ襈襈譈譈襈䣖잉쿨ﭒ짿郃䡕荈⃬襈襈譈襈詰�襈⻫譈譈塀蕈瓀䠕䖋䣠ᖋ諺b襈렐\001\000\341\267\253譈譈\340\241\200襈荈ༀ삕삄왵¸\000준郃䡕䡓䡸綉䢈疉䢀䖋䢀잉�\357\265\205蓿瓀ᐲ�䟩\001䠀䖋䢀잉燨ﴛ䣿䖉䣠䖋䢈잉凨ﲖ䣿䖉䣘䖋䢈잉퇨ﶉ䣿䖉ï\000譈譈桀襈큅荈큽ༀ첄\000䠀䗇¸\000䠀喋䢀䖍䢐횉襈⁆�赈롕譈�譈譌큅襈뫑\003\000襈䣞잉ａ䣐䖉䣈䖍䢐잉ᗨﮰ䣿䖋䢸삅ぴ譈롕譈聅襈䣖잉䧨\357\267\237䣿&quot;..., slot=..., stubInfo=0x7fd3f96d1320) at ../../../Source/JavaScriptCore/jit/JITStubs.cpp:940
#20 0x00007fff65d2f880 in ?? ()
#21 0x00007fd3f96d1320 in ?? ()
#22 0x0000000000000008 in ?? ()
#23 0x00007fd300000001 in ?? ()
#24 0x00007fd3fad782d9 in ?? ()
#25 0x00007fd43e998ba1 in JSC::Register::Register (this=0xe8c78948de894810) at ../../../Source/JavaScriptCore/interpreter/Register.h:93</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479051</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2011-10-06 03:51:57 -0700</bug_when>
    <thetext>Same problem with the test:

http/tests/eventsource/eventsource-reconnect.html

Changing the summary of the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489949</commentid>
    <comment_count>2</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2011-10-25 03:46:18 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Same problem with the test:
&gt; 
&gt; http/tests/eventsource/eventsource-reconnect.html
&gt; 
&gt; Changing the summary of the bug.

This test is working fine in my setup...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493803</commentid>
    <comment_count>3</comment_count>
      <attachid>113145</attachid>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-11-01 02:25:55 -0700</bug_when>
    <thetext>Created attachment 113145
Patch

Yes, these tests works on latest WK2-Gtk platform. Un-skipping tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493882</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-11-01 06:47:31 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Created an attachment (id=113145) [details]
&gt; Patch
&gt; 
&gt; Yes, these tests works on latest WK2-Gtk platform. Un-skipping tests.

Can you confirm that you tested this with a debug build and not a release one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494458</commentid>
    <comment_count>5</comment_count>
    <who name="Kaustubh Atrawalkar">kaustubh.ra</who>
    <bug_when>2011-11-01 23:59:02 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Created an attachment (id=113145) [details] [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; Yes, these tests works on latest WK2-Gtk platform. Un-skipping tests.
&gt; 
&gt; Can you confirm that you tested this with a debug build and not a release one?

Yes, I tested them on debug build. Alejandro, can u confirm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494569</commentid>
    <comment_count>6</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2011-11-02 05:50:04 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Yes, I tested them on debug build. Alejandro, can u confirm?

Yep, it is currently working for me also, thanks for the help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494627</commentid>
    <comment_count>7</comment_count>
      <attachid>113145</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-11-02 08:07:35 -0700</bug_when>
    <thetext>Comment on attachment 113145
Patch

Clearing flags on attachment: 113145

Committed r99061: &lt;http://trac.webkit.org/changeset/99061&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494628</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-11-02 08:07:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113145</attachid>
            <date>2011-11-01 02:25:55 -0700</date>
            <delta_ts>2011-11-02 08:07:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>69513_patch.txt</filename>
            <type>text/plain</type>
            <size>1392</size>
            <attacher name="Kaustubh Atrawalkar">kaustubh.ra</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDk4OTQxKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTEtMTEtMDEgIEthdXN0dWJoIEF0cmF3YWxr
YXIgIDxrYXVzdHViaEBtb3Rvcm9sYS5jb20+CisKKyAgICAgICAgW1dLMl0gW0dUS10gV2ViS2l0
V2ViUHJvY2VzcyBhc3NlcnRzIGluIEFTU0VSVChtX3N0YXRlICE9IENMT1NFRCkKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTY5NTEzCisKKyAgICAgICAg
VW5za2lwIHBhc3NpbmcgdGVzdHMuCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BT
ISkuCisKKyAgICAgICAgKiBwbGF0Zm9ybS9ndGstd2syL1NraXBwZWQ6CisKIDIwMTEtMTEtMDEg
IEFuZHJleSBLb3N5YWtvdiAgPGNhc2VxQGNocm9taXVtLm9yZz4KIAogICAgICAgICBVbnJldmll
d2VkIGdhcmRlbmluZyAoZml4ZWQgcGxhdGZvcm0gcXVhbGlmaWVycyBmb3IgdmlzaWJpbGl0eS1p
bWFnZS1sYXllcnMuaHRtbCkKSW5kZXg6IExheW91dFRlc3RzL3BsYXRmb3JtL2d0ay13azIvU2tp
cHBlZAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9wbGF0Zm9ybS9ndGstd2syL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