<?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>126219</bug_id>
          
          <creation_ts>2013-12-24 12:34:24 -0800</creation_ts>
          <short_desc>js/dom/dfg-custom-getter-throw.html and js/dom/dfg-custom-getter-throw-inlined.html hit assertions after r161051</short_desc>
          <delta_ts>2014-03-06 18:25:36 -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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>45994</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>mark.lam</cc>
    
    <cc>oliver</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>962783</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 12:34:24 -0800</bug_when>
    <thetext>js/dom/dfg-custom-getter-throw.html
and
js/dom/dfg-custom-getter-throw-inlined.html
have started hitting assertions after http://trac.webkit.org/changeset/161051

ASSERTION FAILED: exec == topCallFrame || exec == exec-&gt;lexicalGlobalObject()-&gt;globalExec() || exec == exec-&gt;vmEntryGlobalObject()-&gt;globalExec()
/Volumes/Data/slave/mavericks-debug/build/Source/JavaScriptCore/runtime/VM.cpp(634) : JSC::JSValue JSC::VM::throwException(JSC::ExecState *, JSC::JSValue)
1   0x10da505b0 WTFCrash
2   0x10d9f14af JSC::VM::throwException(JSC::ExecState*, JSC::JSValue)
3   0x10f6cb39f WebCore::setDOMException(JSC::ExecState*, int)
4   0x10fbe6119 WebCore::JSXMLHttpRequest::responseText(JSC::ExecState*) const
5   0x10fbe0d3f WebCore::jsXMLHttpRequestResponseText(JSC::ExecState*, long long, long long, JSC::PropertyName)
6   0x3ed880e68ffa

http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK2%20(Tests)/r161053%20(1201)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962784</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 12:36:05 -0800</bug_when>
    <thetext>Looks like this is a fairly recent regression in JSC.

I certainly did not encounter it at r158715, and reverting the WebCore code change in r161051 confirms that the assertion failure exists without the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962797</commentid>
    <comment_count>2</comment_count>
      <attachid>219979</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 12:53:20 -0800</bug_when>
    <thetext>Created attachment 219979
The version of js/dom/dfg-custom-getter-throw.html that reproduces the assertion failure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962798</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-12-24 12:54:32 -0800</bug_when>
    <thetext>&lt;rdar://problem/15723849&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962799</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 12:57:00 -0800</bug_when>
    <thetext>Committed r161059: &lt;http://trac.webkit.org/changeset/161059&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962801</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 12:58:48 -0800</bug_when>
    <thetext>Sorry, didn&apos;t mean to close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987927</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2014-03-06 16:07:16 -0800</bug_when>
    <thetext>Testing with a recent build (r165197), I don&apos;t see this issue manifest anymore.  There also have been numerous changes and bug fixes in the area of exception handling and stack management since the time this bug was filed.  Those changes appear to have resolved the issue. 

There doesn&apos;t seem to be anything left to do for this bug.  Will close.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987973</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-03-06 17:47:05 -0800</bug_when>
    <thetext>Mark, did you unskip the skipped tests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987991</commentid>
    <comment_count>8</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2014-03-06 18:25:36 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Mark, did you unskip the skipped tests?

They were already unskipped.  See https://bugs.webkit.org/show_bug.cgi?id=126219#c4.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>219979</attachid>
            <date>2013-12-24 12:53:20 -0800</date>
            <delta_ts>2013-12-24 12:53:20 -0800</delta_ts>
            <desc>The version of js/dom/dfg-custom-getter-throw.html that reproduces the assertion failure</desc>
            <filename>dfg-custom-getter-throw.html</filename>
            <type>text/html</type>
            <size>834</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9JRVRGLy9EVEQgSFRNTC8vRU4iPgo8aHRtb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