<?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>81773</bug_id>
          
          <creation_ts>2012-03-21 06:20:46 -0700</creation_ts>
          <short_desc>[EFL] Crash in fast/dom/navigator-detached-nocrash.html</short_desc>
          <delta_ts>2012-03-22 17:35:21 -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>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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Raphael Kubo da Costa (:rakuco)">rakuco</reporter>
          <assigned_to name="Raphael Kubo da Costa (:rakuco)">rakuco</assigned_to>
          <cc>abarth</cc>
    
    <cc>d-r</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>kihong.kwon</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>s.choi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>584066</commentid>
    <comment_count>0</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-03-21 06:20:46 -0700</bug_when>
    <thetext>DumpRenderTree has been crashing on fast/dom/navigator-detached-nocrash.html for some time.

Backtrace:
#0  0x080bb052 in WebCore::Frame::page (this=0x0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/page/Frame.h:351
#1  0xb46bc62a in WebCore::BatteryManager::BatteryManager (this=0x824e3d8, context=0x824cbb8, navigator=0x834e720) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/Modules/battery/BatteryManager.cpp:47
#2  0xb46bc477 in WebCore::BatteryManager::create (context=0x824cbb8, navigator=0x834e720) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/Modules/battery/BatteryManager.cpp:36
#3  0xb46b942b in WebCore::NavigatorBattery::webkitBattery (context=0x824cbb8, navigator=0x834e720) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/Modules/battery/NavigatorBattery.cpp:44
#4  0xb49705fd in WebCore::jsNavigatorWebkitBattery (exec=0xad9ff0c8, slotBase=...) at /home/rakuco/dev/webkit/WebKit/WebKitBuild/Debug-efl/Debug/DerivedSources/WebCore/JSNavigator.cpp:318
#5  0x080ad9fd in JSC::PropertySlot::getValue (this=0xbfffdb1c, exec=0xad9ff0c8, propertyName=...) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/runtime/PropertySlot.h:75
#6  0xb7497437 in JSC::JSValue::get (this=0xbfffdbb4, exec=0xad9ff0c8, propertyName=..., slot=...) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/runtime/JSObject.h:801
#7  0xb7497335 in JSC::JSValue::get (this=0xbfffdbb4, exec=0xad9ff0c8, propertyName=...) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/runtime/JSObject.h:787
#8  0xb75471ac in JSC::cti_op_get_by_val (args=0xbfffdc00) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/jit/JITStubs.cpp:2458
#9  0xb75418b7 in JSC::JITThunks::tryCacheGetByID (callFrame=0xae74ea00, codeBlock=0xfffffffb, returnAddress=..., baseValue=..., propertyName=..., slot=..., stubInfo=0xbfffdc38) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/jit/JITStubs.cpp:970
#10 0xbfffdc38 in ?? ()
#11 0xb750f9bf in JSC::JITCode::execute (this=0xad99fd70, registerFile=0x82552ac, callFrame=0xad9ff040, globalData=0x8180160) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/jit/JITCode.h:127
#12 0xb750ccbf in JSC::Interpreter::executeCall (this=0x82552a0, callFrame=0xad9efcb4, function=0xae74f340, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/interpreter/Interpreter.cpp:1270
#13 0xb75cb952 in JSC::call (exec=0xad9efcb4, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/rakuco/dev/webkit/WebKit/Source/JavaScriptCore/runtime/CallData.cpp:39
#14 0xb46d8812 in WebCore::JSMainThreadExecState::call (exec=0xad9efcb4, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/bindings/js/JSMainThreadExecState.h:56
#15 0xb46ff043 in WebCore::JSEventListener::handleEvent (this=0x8234450, scriptExecutionContext=0x824cbb8, event=0x82222a0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/bindings/js/JSEventListener.cpp:133
#16 0xb3d8614a in WebCore::EventTarget::fireEventListeners (this=0x8186fa0, event=0x82222a0, d=0x8187094, entry=...) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/dom/EventTarget.cpp:231
#17 0xb3d85fdd in WebCore::EventTarget::fireEventListeners (this=0x8186fa0, event=0x82222a0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/dom/EventTarget.cpp:198
#18 0xb41222b1 in WebCore::DOMWindow::dispatchEvent (this=0x8186fa0, prpEvent=..., prpTarget=...) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/page/DOMWindow.cpp:1651
#19 0xb412206e in WebCore::DOMWindow::dispatchLoadEvent (this=0x8186fa0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/page/DOMWindow.cpp:1625
#20 0xb3d28d00 in WebCore::Document::dispatchWindowLoadEvent (this=0x824cab0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/dom/Document.cpp:3741
#21 0xb3d23ab4 in WebCore::Document::implicitClose (this=0x824cab0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/dom/Document.cpp:2304
#22 0xb4079121 in WebCore::FrameLoader::checkCallImplicitClose (this=0x8166568) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/FrameLoader.cpp:799
#23 0xb4078ecf in WebCore::FrameLoader::checkCompleted (this=0x8166568) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/FrameLoader.cpp:745
#24 0xb4078c21 in WebCore::FrameLoader::finishedParsing (this=0x8166568) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/FrameLoader.cpp:678
#25 0xb3d2b8b2 in WebCore::Document::finishedParsing (this=0x824cab0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/dom/Document.cpp:4486
#26 0xb3f7fae7 in WebCore::HTMLTreeBuilder::finished (this=0x8261670) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2818
#27 0xb3f5680a in WebCore::HTMLDocumentParser::end (this=0x81c53c0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:381
#28 0xb3f56925 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x81c53c0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:390
#29 0xb3f559f5 in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x81c53c0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:153
#30 0xb3f5696d in WebCore::HTMLDocumentParser::attemptToEnd (this=0x81c53c0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:402
#31 0xb3f56a2e in WebCore::HTMLDocumentParser::finish (this=0x81c53c0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:429
#32 0xb406faee in WebCore::DocumentWriter::endIfNotLoadingMainResource (this=0x826cb54) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/DocumentWriter.cpp:249
#33 0xb406fa0a in WebCore::DocumentWriter::end (this=0x826cb54) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/DocumentWriter.cpp:224
#34 0xb4061fa9 in WebCore::DocumentLoader::finishedLoading (this=0x826ca98) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/DocumentLoader.cpp:294
#35 0xb407ea5e in WebCore::FrameLoader::finishedLoading (this=0x8166568) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/FrameLoader.cpp:2058
#36 0xb40930fc in WebCore::MainResourceLoader::didFinishLoading (this=0x82856a8, finishTime=0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/MainResourceLoader.cpp:480
#37 0xb40a4cbb in WebCore::ResourceLoader::didFinishLoading (this=0x82856a8, finishTime=0) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/loader/ResourceLoader.cpp:452
#38 0xb4b28866 in WebCore::readCallback (source=0x814f4c0, asyncResult=0x8156678, data=0x824fb50) at /home/rakuco/dev/webkit/WebKit/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:662
#39 0xb7bac5b8 in async_ready_callback_wrapper (source_object=0x814f4c0, res=0x8156678, user_data=0x824fb50) at ginputstream.c:470
#40 0xb7bbf6e0 in g_simple_async_result_complete (simple=0x8156678) at gsimpleasyncresult.c:744
#41 0xb7bbf753 in complete_in_idle_cb_for_thread (_data=0x8281f10) at gsimpleasyncresult.c:812
#42 0xb7a2d3b0 in g_idle_dispatch (source=0xae605d38, callback=0xb7bbf720 &lt;complete_in_idle_cb_for_thread&gt;, user_data=0x8281f10) at gmain.c:4632
#43 0xb7a2f97a in g_main_dispatch (context=0x8156080) at gmain.c:2513
#44 g_main_context_dispatch (context=0x8156080) at gmain.c:3050
#45 0xb7d68f4d in _ecore_glib_select__locked (ecore_timeout=0xbfffe8f8, efds=0xbfffe878, wfds=0xbfffe7f8, rfds=0xbfffe778, ecore_fds=10, ctx=0x8156080) at ecore_glib.c:171
#46 _ecore_glib_select (ecore_fds=10, rfds=0xbfffe778, wfds=0xbfffe7f8, efds=0xbfffe878, ecore_timeout=0xbfffe8f8) at ecore_glib.c:205
#47 0xb7d62b9c in _ecore_main_select (timeout=0) at ecore_main.c:1419
#48 0xb7d6359a in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1801
#49 0xb7d63a07 in ecore_main_loop_begin () at ecore_main.c:906
#50 0x0809770b in runTest (cTestPathOrURL=0xbfffed05 &quot;../../../LayoutTests/fast/dom/navigator-detached-no-crash.html&quot;) at /home/rakuco/dev/webkit/WebKit/Tools/DumpRenderTree/efl/DumpRenderTree.cpp:248
#51 0x08097ef4 in main (argc=2, argv=0xbfffeaa4) at /home/rakuco/dev/webkit/WebKit/Tools/DumpRenderTree/efl/DumpRenderTree.cpp:409</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>584076</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-03-21 06:31:13 -0700</bug_when>
    <thetext>Kihong, do you think you could take a look - looks like it&apos;s coming from the Battery API direction?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>584078</commentid>
    <comment_count>2</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-03-21 06:32:08 -0700</bug_when>
    <thetext>The buildbot logs do not help much, but the text was just failing at least until r111005, and the crash goes back as far as r111188.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>585733</commentid>
    <comment_count>3</comment_count>
      <attachid>133354</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-03-22 14:52:47 -0700</bug_when>
    <thetext>Created attachment 133354
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>585743</commentid>
    <comment_count>4</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-03-22 15:03:59 -0700</bug_when>
    <thetext>Committed r111770: &lt;http://trac.webkit.org/changeset/111770&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>133354</attachid>
            <date>2012-03-22 14:52:47 -0700</date>
            <delta_ts>2012-03-22 14:55:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-81773-20120322185401.patch</filename>
            <type>text/plain</type>
            <size>1897</size>
            <attacher name="Raphael Kubo da Costa (:rakuco)">rakuco</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTExNzU2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZjI0MTlmOWY1NjMyOTdl
NjQ0MjM0ZGMxMzdmZTdlNTdhNWMwYWNhMy4uMzNmMzlmYTBmNzIyNmE2ZGUxM2FhN2M4NzA5NjI2
NWZlYjNkMTlhNyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIzIEBACisyMDEyLTAzLTIyICBSYXBo
YWVsIEt1Ym8gZGEgQ29zdGEgIDxyYWt1Y29ARnJlZUJTRC5vcmc+CisKKyAgICAgICAgQ3Jhc2gg
aW4gZmFzdC9kb20vbmF2aWdhdG9yLWRldGFjaGVkLW5vY3Jhc2guaHRtbAorICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9ODE3NzMKKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBCYXR0ZXJ5TWFuYWdlcjo6Y3JlYXRl
KCkgYmxpbmR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YWM5ZDE2Li5lMGQwNGRj
OWQ3ZTMxYjU3MTBmNzk0MTg0MGY5MjI5NmFjNTdmMTI4IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2Vi
Q29yZS9Nb2R1bGVzL2JhdHRlcnkvTmF2aWdhdG9yQmF0dGVyeS5jcHAKKysrIGIvU291cmNlL1dl
YkNvcmUvTW9kdWxlcy9iYXR0ZXJ5L05hdmlnYXRvckJhdHRlcnkuY3BwCkBAIC0zOSw2ICszOSw5
IEBAIE5hdmlnYXRvckJhdHRlcnk6On5OYXZpZ2F0b3JCYXR0ZXJ5KCkKIAogQmF0dGVyeU1hbmFn
ZXIqIE5hdmlnYXRvckJhdHRlcnk6OndlYmtpdEJhdHRlcnkoU2NyaXB0RXhlY3V0aW9uQ29udGV4
dCogY29udGV4dCwgTmF2aWdhdG9yKiBuYXZpZ2F0b3IpCiB7CisgICAgaWYgKCFuYXZpZ2F0b3It
PmZyYW1lKCkpCisgICAgICAgIHJldHVybiAwOworCiAgICAgTmF2aWdhdG9yQmF0dGVyeSogbmF2
aWdhdG9yQmF0dGVyeSA9IE5hdmlnYXRvckJhdHRlcnk6OmZyb20obmF2aWdhdG9yKTsKICAgICBp
ZiAoIW5hdmlnYXRvckJhdHRlcnktPm1fYmF0dGVyeU1hbmFnZXIpCiAgICAgICAgIG5hdmlnYXRv
ckJhdHRlcnktPm1fYmF0dGVyeU1hbmFnZXIgPSBCYXR0ZXJ5TWFuYWdlcjo6Y3JlYXRlKGNvbnRl
eHQsIG5hdmlnYXRvcik7Cg==
</data>
<flag name="review"
          id="137318"
          type_id="1"
          status="+"
          setter="abarth"
    />
    <flag name="commit-queue"
          id="137319"
          type_id="3"
          status="+"
          setter="abarth"
    />
          </attachment>
      

    </bug>

</bugzilla>