<?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>124545</bug_id>
          
          <creation_ts>2013-11-18 16:09:23 -0800</creation_ts>
          <short_desc>ARM64 CRASH: Debug builds crash in emitPointerValidation()</short_desc>
          <delta_ts>2013-11-18 16:33:01 -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>All</rep_platform>
          <op_sys>All</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="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>aestes</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>951854</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2013-11-18 16:09:23 -0800</bug_when>
    <thetext>The function emitPointerValidation() uses push()/pop() in debug builds.  These aren&apos;t implemented in the ARM64 macro assembler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951859</commentid>
    <comment_count>1</comment_count>
      <attachid>217246</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2013-11-18 16:25:06 -0800</bug_when>
    <thetext>Created attachment 217246
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951860</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-11-18 16:26:56 -0800</bug_when>
    <thetext>Attachment 217246 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/JavaScriptCore/ChangeLog&apos;, u&apos;Source/JavaScriptCore/jit/ThunkGenerators.cpp&apos;]&quot; exit_code: 1
Source/JavaScriptCore/ChangeLog:8:  Line contains tab character.  [whitespace/tab] [5]
Source/JavaScriptCore/ChangeLog:9:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951861</commentid>
    <comment_count>3</comment_count>
      <attachid>217246</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-11-18 16:27:45 -0800</bug_when>
    <thetext>Comment on attachment 217246
Patch

&gt; Source/JavaScriptCore/ChangeLog:10
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +
&gt; +	Changed emitPointerValidation() to use pushToSave() and popToRestore() as
&gt; +	all macro assemblers have an implementation of these functions.
&gt; +

Please fix indentation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951864</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2013-11-18 16:29:04 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 217246 [details])
&gt; &gt; Source/JavaScriptCore/ChangeLog:10
&gt; &gt; +        Reviewed by NOBODY (OOPS!).
&gt; &gt; +
&gt; &gt; +	Changed emitPointerValidation() to use pushToSave() and popToRestore() as
&gt; &gt; +	all macro assemblers have an implementation of these functions.
&gt; &gt; +
&gt; 
&gt; Please fix indentation.

Done.  Still setting up a new machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951870</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2013-11-18 16:33:01 -0800</bug_when>
    <thetext>Committed r159469: &lt;http://trac.webkit.org/changeset/159469&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>217246</attachid>
            <date>2013-11-18 16:25:06 -0800</date>
            <delta_ts>2013-11-18 16:27:45 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>124545.patch</filename>
            <type>text/plain</type>
            <size>1483</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTU5NDY2KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBA
CisyMDEzLTExLTE4ICBNaWNoYWVsIFNhYm9mZiAgPG1zYWJvZmZAYXBwbGUuY29tPgorCisgICAg
ICAgIEFSTTY0IENSQVNIOiBEZWJ1ZyBidWlsZHMgY3Jhc2ggaW4gZW1pdFBvaW50ZXJWYWxpZGF0
aW9uKCkKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEy
NDU0NQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisJQ2hhbmdlZCBl
bWl0UG9pbnRlclZhbGlkYXRpb24oKSB0byB1c2UgcHVzaFRvU2F2ZSgpIGFuZCBwb3BUb1Jlc3Rv
cmUoKSBhcworCWFsbCBtYWNybyBhc3NlbWJsZXJzIGhhdmUgYW4gaW1wbGVtZW50YXRpb24gb2Yg
dGhlc2UgZnVuY3Rpb25zLgorCisgICAgICAgICogaml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UFIpOwogI2Vs
c2UKICAgICBVTlVTRURfUEFSQU0oaml0KTsKICAgICBVTlVTRURfUEFSQU0ocG9pbnRlckdQUik7
Cg==
</data>
<flag name="review"
          id="240351"
          type_id="1"
          status="+"
          setter="fpizlo"
    />
          </attachment>
      

    </bug>

</bugzilla>