Bug 69513 - [WK2] [GTK] WebKitWebProcess asserts in ASSERT(m_state != CLOSED)
Summary: [WK2] [GTK] WebKitWebProcess asserts in ASSERT(m_state != CLOSED)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 69523
  Show dependency treegraph
 
Reported: 2011-10-06 03:48 PDT by Alejandro G. Castro
Modified: 2011-11-02 08:07 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2011-11-01 02:25 PDT, Kaustubh Atrawalkar
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro G. Castro 2011-10-06 03:48:52 PDT
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="䡕荈წ襈譈襈ꕠ譈襈쏉䡕荈წ襈襈譈譈襈䣖잉쿨ﭒ짿郃䡕荈⃬襈襈譈襈詰�襈⻫譈譈塀蕈瓀䠕䖋䣠ᖋ諺b襈렐\001\000\341\267\253譈譈\340\241\200襈荈ༀ삕삄왵¸\000준郃䡕䡓䡸綉䢈疉䢀䖋䢀잉�\357\265\205蓿瓀ᐲ�䟩\001䠀䖋䢀잉燨ﴛ䣿䖉䣠䖋䢈잉凨ﲖ䣿䖉䣘䖋䢈잉퇨ﶉ䣿䖉ï\000譈譈桀襈큅荈큽ༀ첄\000䠀䗇¸\000䠀喋䢀䖍䢐횉襈⁆�赈롕譈�譈譌큅襈뫑\003\000襈䣞잉a䣐䖉䣈䖍䢐잉ᗨﮰ䣿䖋䢸삅ぴ譈롕譈聅襈䣖잉䧨\357\267\237䣿"..., 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
Comment 1 Alejandro G. Castro 2011-10-06 03:51:57 PDT
Same problem with the test:

http/tests/eventsource/eventsource-reconnect.html

Changing the summary of the bug.
Comment 2 Sergio Villar Senin 2011-10-25 03:46:18 PDT
(In reply to comment #1)
> Same problem with the test:
> 
> http/tests/eventsource/eventsource-reconnect.html
> 
> Changing the summary of the bug.

This test is working fine in my setup...
Comment 3 Kaustubh Atrawalkar 2011-11-01 02:25:55 PDT
Created attachment 113145 [details]
Patch

Yes, these tests works on latest WK2-Gtk platform. Un-skipping tests.
Comment 4 Martin Robinson 2011-11-01 06:47:31 PDT
(In reply to comment #3)
> Created an attachment (id=113145) [details]
> Patch
> 
> 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?
Comment 5 Kaustubh Atrawalkar 2011-11-01 23:59:02 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=113145) [details] [details]
> > Patch
> > 
> > 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?

Yes, I tested them on debug build. Alejandro, can u confirm?
Comment 6 Alejandro G. Castro 2011-11-02 05:50:04 PDT
(In reply to comment #5)
> Yes, I tested them on debug build. Alejandro, can u confirm?

Yep, it is currently working for me also, thanks for the help.
Comment 7 WebKit Review Bot 2011-11-02 08:07:35 PDT
Comment on attachment 113145 [details]
Patch

Clearing flags on attachment: 113145

Committed r99061: <http://trac.webkit.org/changeset/99061>
Comment 8 WebKit Review Bot 2011-11-02 08:07:39 PDT
All reviewed patches have been landed.  Closing bug.