<?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>149619</bug_id>
          
          <creation_ts>2015-09-29 02:29:48 -0700</creation_ts>
          <short_desc>[ARM] REGRESSION(r190289): It made 374 tests crash on 32 bit ARM Linux</short_desc>
          <delta_ts>2015-09-30 15:30:05 -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>JavaScriptCore</component>
          <version>Other</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>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>108645</blocked>
    
    <blocked>148664</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>msaboff</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1129188</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-09-29 02:29:48 -0700</bug_when>
    <thetext>https://trac.webkit.org/changeset/190289 made 374 tests crash on 32 bit ARM Linux platforms. (81 different tests)

EFL ARMv7 Thumb2 instructuon set: https://build.webkit.org/builders/EFL%20Linux%20ARMv7%20Thumb2%20Release/builds/15412
EFL ARMv7 &quot;traditional&quot; ARM instruction set: https://build.webkit.org/builders/EFL%20Linux%20ARMv7%20Traditional%20Release/builds/15278
GTK ARM &quot;whatever&quot;: https://build.webkit.org/builders/GTK%20Linux%20ARM%20Release/builds/8640</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1129415</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-09-29 14:41:54 -0700</bug_when>
    <thetext>Should this be duped to bug 149647 now (the rollout bug)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1129666</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-30 14:16:47 -0700</bug_when>
    <thetext>I think I found the issue.  In LowLevelAssembler.asm, the macro prepareForTailCall had the following construct:

    if ARM or SH4 or ARM64 or C_LOOP or MIPS
        addp 2 * PtrSize, sp
        subi 2 * PtrSize, temp2
        loadp PtrSize[cfr], lr
    else
        addp PtrSize, sp
        subi PtrSize, temp2
        loadp PtrSize[cfr], temp3
        storep temp3, [sp]
    end

The &quot;if ARM or SH4 ...&quot; case accounts for having a link register.  The problem is that this if should also take into account the other ARM variants.  It should read:
    if ARM or ARMv7_TRADITIONAL or ARMv7 or SH4 or ARM64 or C_LOOP or MIPS

Running all JSC regression tests now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1129671</commentid>
    <comment_count>3</comment_count>
      <attachid>262191</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-30 14:34:15 -0700</bug_when>
    <thetext>Created attachment 262191
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1129688</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-30 15:30:05 -0700</bug_when>
    <thetext>Landed as part of change set r190370: &lt;http://trac.webkit.org/changeset/190370&gt;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>262191</attachid>
            <date>2015-09-30 14:34:15 -0700</date>
            <delta_ts>2015-09-30 14:37:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>149619.patch</filename>
            <type>text/plain</type>
            <size>1441</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTkwMzY3KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBA
CisyMDE1LTA5LTMwICBNaWNoYWVsIFNhYm9mZiAgPG1zYWJvZmZAYXBwbGUuY29tPgorCisgICAg
ICAgIFtBUk1dIFJFR1JFU1NJT04ocjE5MDI4OSk6IEl0IG1hZGUgMzc0IHRlc3RzIGNyYXNoIG9u
IDMyIGJpdCBBUk0gTGludXgKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2lkPTE0OTYxOQorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgor
CisgICAgICAgIE5lZWQgdG8gY2hlY2sgZm9yIEFSTXY3X1RSQURJVElPTkFMIGFuZCBBUk12NyBp
biBhZGRpdGlvbiB0byBBUk0gaW4gImlmIgorICAgICAgICBzdGF0ZW1lbnQgdG8gaGFuZGxlIHBs
YXRmb3JtcyB3aXRoIGEgbGluayByZWdpc3Rlci4KKyAgICAgICAgCisgICAgICAgICogbGxpbnQv
TG93TGV2ZWxJbnRlcnByZXRlci5hc206CisgICAgICAgIChwcmVwYXJlRm9yVGFpbENhbGwpOgor
CiAyMDE1LTA5LTMwICBLZWl0aCBNaWxsZXIgIDxrZWl0aF9taWxsZXJAYXBwbGUuY29tPgogCiAg
ICAgICAgIFtFUzZdIEFkZCBUeXBlZEFycmF5LnByb3RvdHlwZSBmdW5jdGlvbmFsaXR5LgpJbmRl
eDogU291cmNlL0phdmFTY3JpcHRDb3JlL2xsaW50L0xvd0xldmVsSW50ZXJwcmV0ZXIuYXNtCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9sbGludC9Mb3dMZXZlbEludGVycHJl
dGVyLmFzbQkocmV2aXNpb24gMTkwMzY3KQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL2xsaW50
L0xvd0xldmVsSW50ZXJwcmV0ZXIuYXNtCSh3b3JraW5nIGNvcHkpCkBAIC03NTMsNyArNzUzLDcg
QEAgbWFjcm8gcHJlcGFyZUZvclRhaWxDYWxsKGNhbGxlZSwgdGVtcDEsIAogICAgIGFkZGkgU3Rh
Y2tBbGlnbm1lbnQgLSAxICsgQ2FsbEZyYW1lSGVhZGVyU2l6ZSwgdGVtcDIKICAgICBhbmRpIH5T
dGFja0FsaWdubWVudE1hc2ssIHRlbXAyCiAKLSAgICBpZiBBUk0gb3IgU0g0IG9yIEFSTTY0IG9y
IENfTE9PUCBvciBNSVBTCisgICAgaWYgQVJNIG9yIEFSTXY3X1RSQURJVElPTkFMIG9yIEFSTXY3
IG9yIFNINCBvciBBUk02NCBvciBDX0xPT1Agb3IgTUlQUwogICAgICAgICBhZGRwIDIgKiBQdHJT
aXplLCBzcAogICAgICAgICBzdWJpIDIgKiBQdHJTaXplLCB0ZW1wMgogICAgICAgICBsb2FkcCBQ
dHJTaXplW2Nmcl0sIGxyCg==
</data>
<flag name="review"
          id="287362"
          type_id="1"
          status="+"
          setter="fpizlo"
    />
          </attachment>
      

    </bug>

</bugzilla>