<?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>109852</bug_id>
          
          <creation_ts>2013-02-14 12:12:16 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: !callFrame-&gt;hadException() on detik.com</short_desc>
          <delta_ts>2013-03-08 16:53:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</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>109838</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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ctruta</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>oliver</cc>
    
    <cc>yong.li.webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>833306</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-14 12:12:16 -0800</bug_when>
    <thetext>Just opening http://www.detik.com and scrolling around a little very frequently results in an assertion failure:

ASSERTION FAILED: !callFrame-&gt;hadException()
/Users/ap/Safari/OpenSource/Source/JavaScriptCore/interpreter/Interpreter.cpp(999) : JSC::JSValue JSC::Interpreter::executeCall(CallFrame *, JSC::JSObject *, JSC::CallType, const JSC::CallData &amp;, JSC::JSValue, const JSC::ArgList &amp;)
1   0x10eeb3c39 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
2   0x10ecc2ac2 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
3   0x1108f6ee2 WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
4   0x1113c526f WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext*)
5   0x1113c4e53 WebCore::ScheduledAction::execute(WebCore::Document*)
6   0x1113c4c94 WebCore::ScheduledAction::execute(WebCore::ScriptExecutionContext*)
7   0x1102e5ae8 WebCore::DOMTimer::fired()

This blocks testing in bug 107228.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>833543</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-14 16:32:47 -0800</bug_when>
    <thetext>Possibly related to bug 109838.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>834502</commentid>
    <comment_count>2</comment_count>
    <who name="Cosmin Truta">ctruta</who>
    <bug_when>2013-02-15 16:48:17 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Possibly related to bug 109838.

I also think it&apos;s a dupe. As I run that bug&apos;s URL with Qt MiniBrowser, it randomly assert-fails either on !globalData.exception or !callFrame-&gt;hadException()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836556</commentid>
    <comment_count>3</comment_count>
    <who name="Cosmin Truta">ctruta</who>
    <bug_when>2013-02-19 11:00:43 -0800</bug_when>
    <thetext>Although I can&apos;t close this bug, I can confirm that it no longer crashes, after changeset 143104.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836611</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-19 11:47:45 -0800</bug_when>
    <thetext>I can&apos;t confirm now, because the site always crashes with an assertion, d-&gt;m_defersLoading != defers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836621</commentid>
    <comment_count>5</comment_count>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2013-02-19 11:58:12 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I can&apos;t confirm now, because the site always crashes with an assertion, d-&gt;m_defersLoading != defers.

This usually means some JS activities were executed when page is being deferred.

I usually use this ASSERT to catch them

bool ScriptController::canExecuteScripts(ReasonForCallingCanExecuteScripts reason)
{
    ...
    if (!allowed &amp;&amp; reason == AboutToExecuteScript)
        m_frame-&gt;loader()-&gt;client()-&gt;didNotAllowScript();
+    if (allowed &amp;&amp; reason == AboutToExecuteScript &amp;&amp; m_frame-&gt;page()-&gt;defersLoading())
+        CRASH();
    return allowed;
}

Both Bug 107453 and Bug 107954 can cause such issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>851625</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-03-08 16:53:08 -0800</bug_when>
    <thetext>I filed bug 111902 about defersLoading assertion.

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

    </bug>

</bugzilla>