<?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>108632</bug_id>
          
          <creation_ts>2013-02-01 06:54:17 -0800</creation_ts>
          <short_desc>REGRESSION(r137994): It made JSC tests hang and layout tests fail on ARM Thumb2 / Linux</short_desc>
          <delta_ts>2013-03-05 07:58:00 -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>DUPLICATE</resolution>
          <dup_id>111441</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>
          
          <blocked>108645</blocked>
    
    <blocked>65766</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Gabor Rapcsanyi">rgabor</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>gaborb</cc>
    
    <cc>galpeter</cc>
    
    <cc>hausmann</cc>
    
    <cc>loki</cc>
    
    <cc>ojan.autocc</cc>
    
    <cc>ossy</cc>
    
    <cc>psychon</cc>
    
    <cc>rgabor</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>822724</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-01 06:54:17 -0800</bug_when>
    <thetext>Tested on QtWebKit, but it might be valid on other platforms too.

- r137993 (with r138032 buildfix applied): http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7810
- r137994 (with r138032 buildfix applied): http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7703</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>822842</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-01 09:10:40 -0800</bug_when>
    <thetext>- ToT (r141579) - http://cute1.inf.u-szeged.hu:8010/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7809 - JSC tests still hang and inspector tests still crash
- ToT (r141590) with reverted r137994 and r138474 - http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7811 - JSC tests pass, but inspector tests still crash (maybe related to other bug too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>833843</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-15 03:25:05 -0800</bug_when>
    <thetext>The bug is still valid on ToT . :-/ Are you going to fix it or should 
we revert the buggy patch until somebody find the proper fix?

r142785 - http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7876
r142785 (with reverted r137994 and r138474) - http://trac.webkit.org/changeset/142785</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>833844</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-15 03:25:44 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; The bug is still valid on ToT . :-/ Are you going to fix it or should 
&gt; we revert the buggy patch until somebody find the proper fix?
&gt; 
&gt; r142785 - http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7876
&gt; r142785 (with reverted r137994 and r138474) - 
ooops, wrong URL, here is the correct one: http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7877</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>834016</commentid>
    <comment_count>4</comment_count>
    <who name="Uli Schlachter">psychon</who>
    <bug_when>2013-02-15 07:42:04 -0800</bug_when>
    <thetext>Assuming you mean me with &quot;you&quot;: Nope, no idea what I could do about this. I don&apos;t see how the patch could cause hangs unless mprotect() is painfully slow on ARM and gets called too often. Also, I don&apos;t have any ARM devices to experiment with.

So the best that I can suggest: Restrict the #if OS(LINUX) in OSAllocatorPosix.cpp to also exclude ARM so that on these devices overcommit is still used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>840982</commentid>
    <comment_count>5</comment_count>
      <attachid>190062</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2013-02-25 08:10:12 -0800</bug_when>
    <thetext>Created attachment 190062
Patch

Patch re-enables overcommit on ARM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841650</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-25 22:38:30 -0800</bug_when>
    <thetext>Just a note: It caused problem with only with ARM Thumb2 assembler, but didn&apos;t with ARM traditional assembler on the same hardware. So I think the problem
is something else here. Maybe a hidden bug was revealed by changing allocator.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842916</commentid>
    <comment_count>7</comment_count>
      <attachid>190062</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-27 04:01:49 -0800</bug_when>
    <thetext>Comment on attachment 190062
Patch

rs=me as workaround until proper fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842917</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-27 04:02:41 -0800</bug_when>
    <thetext>I checked this patch on the bot and it fixed most of the failures on Thumb2:
http://build.webkit.sed.hu/builders/ARMv7%20Linux%20Qt5%20Release%20%28Test%29/builds/7938

The remaining ~150 inspector crash is unrelated to this bug, needs more investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842924</commentid>
    <comment_count>9</comment_count>
      <attachid>190062</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-27 04:11:11 -0800</bug_when>
    <thetext>Comment on attachment 190062
Patch

Clearing flags on attachment: 190062

Committed r144170: &lt;http://trac.webkit.org/changeset/144170&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842925</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-27 04:11:16 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842964</commentid>
    <comment_count>11</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-02-27 05:32:59 -0800</bug_when>
    <thetext>Reopen, because only the workaround landed, we need to find the root 
of the problem. (rgabor said he will check it)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>847680</commentid>
    <comment_count>12</comment_count>
    <who name="Gabor Rapcsanyi">rgabor</who>
    <bug_when>2013-03-05 07:54:04 -0800</bug_when>
    <thetext>I opened a new bug for this: https://bugs.webkit.org/show_bug.cgi?id=111441</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>847682</commentid>
    <comment_count>13</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-03-05 07:58:00 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 111441 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190062</attachid>
            <date>2013-02-25 08:10:12 -0800</date>
            <delta_ts>2013-02-27 04:11:11 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-108632-20130225170757.patch</filename>
            <type>text/plain</type>
            <size>1969</size>
            <attacher name="Simon Hausmann">hausmann</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