<?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>33084</bug_id>
          
          <creation_ts>2009-12-31 09:21:41 -0800</creation_ts>
          <short_desc>Fix for RVCT -Otime fatal compiler error</short_desc>
          <delta_ts>2010-12-16 09:28:41 -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>S60 Hardware</rep_platform>
          <op_sys>S60 3rd edition</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>
          
          <blocked>32715</blocked>
    
    <blocked>32988</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Norbert Leser">norbert.leser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
    
    <cc>david.leong</cc>
    
    <cc>eric</cc>
    
    <cc>hausmann</cc>
    
    <cc>koshuin</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>s.mathur</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>volodimir.burlik</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>yongjun.zhang</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>176202</commentid>
    <comment_count>0</comment_count>
      <attachid>45713</attachid>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2009-12-31 09:21:41 -0800</bug_when>
    <thetext>Created attachment 45713
Patch for Otime compiler error

RVCT compiler with &quot;-Otime -O3&quot; optimization tries to optimize out inline new&apos;ed pointers that are passed as arguments.
Proposed patch assigns new&apos;ed pointer explicitly outside function call.

This was initially submitted with bug #32988. I separated this out, per suggestion, for independent tracking/fixing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176203</commentid>
    <comment_count>1</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-31 09:23:40 -0800</bug_when>
    <thetext>Attachment 45713 did not pass style-queue:

Failed to run &quot;WebKitTools/Scripts/check-webkit-style&quot; exit_code: 1
JavaScriptCore/API/JSClassRef.cpp:153:  Tab found; better to use spaces  [whitespace/tab] [1]
Total errors found: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176205</commentid>
    <comment_count>2</comment_count>
      <attachid>45714</attachid>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2009-12-31 09:28:25 -0800</bug_when>
    <thetext>Created attachment 45714
Updated patch for 33084 to fix tab issue

Fix for accidental tab.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176206</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-31 09:29:03 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45714 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176300</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-01-01 20:29:53 -0800</bug_when>
    <thetext>norbert, usually you do not need review for build fixes like this one.

please let me know if you want me to land, or set CQ+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176489</commentid>
    <comment_count>5</comment_count>
      <attachid>45714</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-03 18:14:34 -0800</bug_when>
    <thetext>Comment on attachment 45714
Updated patch for 33084 to fix tab issue

Have we filed a bug about this with RVCT?  There will be a zillion of these.  Every ::create() impelmentation in WebCore will have this problem as:
return adoptRef(new Foo);
 is how we create objects in Foo::create().

This definitely needs a RVCT bug number and more explanation. I don&apos;t think you&apos;re going to get far with this type of change in WebCore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177074</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-01-05 01:03:46 -0800</bug_when>
    <thetext>It appears that this happens with normal -O2 and also with -Otime. I can reproduce this issue by executing the commandline manually. This currently breaks the build on the trunk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177125</commentid>
    <comment_count>7</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2010-01-05 06:26:48 -0800</bug_when>
    <thetext>I can confirm from our side as well that this compiler crash occurs even without the special -O options set, using the latest webkit from trunk.

I submitted the bug to RVCT already but still awaiting a bug# assignment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177609</commentid>
    <comment_count>8</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2010-01-06 09:27:35 -0800</bug_when>
    <thetext>Issue can be reproduced with both RVCT 2.2.686 and RVCT 4.0.697.

We have raised case 444841 with ARM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177617</commentid>
    <comment_count>9</comment_count>
      <attachid>45714</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-01-06 09:35:12 -0800</bug_when>
    <thetext>Comment on attachment 45714
Updated patch for 33084 to fix tab issue

This change is not a good idea unless it&apos;s sufficient by itself to work around the issue. I don&apos;t think it&apos;s going to be practical to program around this RVCT bug. As others pointed out, there are hundreds of call sites like this in WebCore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177641</commentid>
    <comment_count>10</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2010-01-06 10:43:59 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 45714 [details])
&gt; This change is not a good idea unless it&apos;s sufficient by itself to work around
&gt; the issue. I don&apos;t think it&apos;s going to be practical to program around this RVCT
&gt; bug. As others pointed out, there are hundreds of call sites like this in
&gt; WebCore.

Darin and Eric, I certainly cannot argue with your points. Since we don&apos;t have the compiler fix yet and don&apos;t know exactly the circumstances that cause the compiler crash, - sure there might potentially be endless places where the compiler can choke.

Thus, I cannot promise anything, but I know that with this single fix in the current webkit code, I can cleanly build for ARM target all the way through.

Since the compiler error can also be reproduced with the latest version of RVCT, I assume that the bug will be tracked with high attention and we can limit the need potential future fixes of this kind, as webkit grows.

Given this context, I ask you to approve this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177643</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 10:46:24 -0800</bug_when>
    <thetext>Do we have a link to the compiler bug?  I think that&apos;s a bare minimum for this ChangeLog.  I get the impression that we don&apos;t know why the compiler is crashing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177646</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-06 10:50:35 -0800</bug_when>
    <thetext>My worries here are:
1. Arbitrary/unnecessary changes to the code for a compiler bug we don&apos;t understand.
2. Changes which are incomplete (why does this only affect JSC and not WebCore??).
3. Changes w/o proper tracking back to a compiler bug so we know when we can revert them.
4. Changes which are not sustainable, such that the compiler is going to break again tomorrow because we don&apos;t understand the real issues, or because we&apos;re not making a proper, easily sustainable work around.

It&apos;s very possible that all of the above concerns are invalid and this patch is the right way to go.  But I think Darin and I could use a bit more convincing here. :)  A link to the compiler bug (assuming it&apos;s available on a public website) would be a step in the right direction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177649</commentid>
    <comment_count>13</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2010-01-06 10:53:18 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; Do we have a link to the compiler bug?  I think that&apos;s a bare minimum for this
&gt; ChangeLog.  I get the impression that we don&apos;t know why the compiler is
&gt; crashing?

Fair request. I don&apos;t know at the moment and will try to get a link.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178195</commentid>
    <comment_count>14</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-01-07 08:50:35 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created an attachment (id=45714) [details]
&gt; Updated patch for 33084 to fix tab issue
&gt; 
&gt; Fix for accidental tab.

As a build issue this is now tracked in staging/4.6/webkit-bug-33084 at git@gitorious.org:+qtwebkit-developers/webkit/qtwebkit.git and merged into qtwebkit-4.6 in commit 3ad0918ee40f7cf185626ca30906d75f3f46fa6a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178240</commentid>
    <comment_count>15</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2010-01-07 10:05:48 -0800</bug_when>
    <thetext>(In reply to comment #13)
&gt; (In reply to comment #11)
&gt; &gt; Do we have a link to the compiler bug?  I think that&apos;s a bare minimum for this
&gt; &gt; ChangeLog.  I get the impression that we don&apos;t know why the compiler is
&gt; &gt; crashing?
&gt; 
&gt; Fair request. I don&apos;t know at the moment and will try to get a link.


These are the official bug (Defect/Enhancement) numbers for this issue from ARM Ltd.:

  RVCT 2.2: DE729564.
  RVCT 4.0: DE729513.

However, since this is proprietary code, what tracking is concerned, it appears to be a one-way street, even for us who filed the bug. We may see a reference to the bug once a patch was released.

Hope, this helps in moving this patch forward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178299</commentid>
    <comment_count>16</comment_count>
    <who name="David Leong">david.leong</who>
    <bug_when>2010-01-07 11:59:30 -0800</bug_when>
    <thetext>Can we flag the changes for RVCT only since this is a RVCT specific bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178322</commentid>
    <comment_count>17</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-01-07 12:40:25 -0800</bug_when>
    <thetext>(In reply to comment #16)
&gt; Can we flag the changes for RVCT only since this is a RVCT specific bug?

We could, but I don&apos;t think that makes things any better. If these really are the only affected sites, I think the change is OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178323</commentid>
    <comment_count>18</comment_count>
      <attachid>45714</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-01-07 12:43:36 -0800</bug_when>
    <thetext>Comment on attachment 45714
Updated patch for 33084 to fix tab issue

I would prefer the name &quot;entry&quot; to the letter &quot;e&quot;.

I would prefer that each call site has a brief comment like this one:

    // Use a local variable here to sidestep an RVCT compiler bug.

I withdraw my earlier exception because you say these are the only 4 sites that need to be patched.

r=me as is</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178553</commentid>
    <comment_count>19</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-01-08 00:54:33 -0800</bug_when>
    <thetext>Thanks Darin for the review! Landed with your suggested modifications.

Committed r52978: &lt;http://trac.webkit.org/changeset/52978&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45713</attachid>
            <date>2009-12-31 09:21:41 -0800</date>
            <delta_ts>2009-12-31 09:28:25 -0800</delta_ts>
            <desc>Patch for Otime compiler error</desc>
            <filename>rvct_Otime_JSClassRef_cpp.patch</filename>
            <type>text/plain</type>
            <size>4077</size>
            <attacher name="Norbert Leser">norbert.leser</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDUyNjgxKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMDktMTItMzEgIE5vcmJlcnQg
TGVzZXIgIDxub3JiZXJ0Lmxl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5kKCk7CiAgICAgICAgIGZvciAoT3BhcXVlSlNDbGFzc1N0YXRpY0Z1bmN0aW9uc1Rh
YmxlOjpjb25zdF9pdGVyYXRvciBpdCA9IGpzQ2xhc3MtPm1fc3RhdGljRnVuY3Rpb25zLT5iZWdp
bigpOyBpdCAhPSBlbmQ7ICsraXQpIHsKICAgICAgICAgICAgIEFTU0VSVCghaXQtPmZpcnN0LT5p
ZGVudGlmaWVyVGFibGUoKSk7Ci0gICAgICAgICAgICBzdGF0aWNGdW5jdGlvbnMtPmFkZChVU3Ry
aW5nOjpSZXA6OmNyZWF0ZUNvcHlpbmcoaXQtPmZpcnN0LT5kYXRhKCksIGl0LT5maXJzdC0+c2l6
ZSgpKSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ldyBTdGF0aWNGdW5jdGlvbkVu
dHJ5KGl0LT5zZWNvbmQtPmNhbGxBc0Z1bmN0aW9uLCBpdC0+c2Vjb25kLT5hdHRyaWJ1dGVzKSk7
CisgICAgICAgICAgICBTdGF0aWNGdW5jdGlvbkVudHJ5KiBlID0gbmV3IFN0YXRpY0Z1bmN0aW9u
RW50cnkoaXQtPnNlY29uZC0+Y2FsbEFzRnVuY3Rpb24sIGl0LT5zZWNvbmQtPmF0dHJpYnV0ZXMp
OworICAgICAgICAgICAgc3RhdGljRnVuY3Rpb25zLT5hZGQoVVN0cmluZzo6UmVwOjpjcmVhdGVD
b3B5aW5nKGl0LT5maXJzdC0+ZGF0YSgpLCBpdC0+Zmlyc3QtPnNpemUoKSksIGUpOwogICAgICAg
ICB9CiAgICAgICAgICAgICAKICAgICB9IGVsc2UK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45714</attachid>
            <date>2009-12-31 09:28:25 -0800</date>
            <delta_ts>2010-01-07 12:43:36 -0800</delta_ts>
            <desc>Updated patch for 33084 to fix tab issue</desc>
            <filename>rvct_Otime_JSClassRef_cpp.patch</filename>
            <type>text/plain</type>
            <size>4070</size>
            <attacher name="Norbert Leser">norbert.leser</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDUyNjgxKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMDktMTItMzEgIE5vcmJlcnQg
TGVzZXIgIDxub3JiZXJ0Lmxlc2VyQG5va2lhLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBSVkNUIGNvbXBpbGVyIHdpdGggIi1PdGltZSAtTzMi
IG9wdGltaXphdGlvbiB0cmllcyB0byBvcHRpbWl6ZSBvdXQgCisgICAgICAgIGlubGluZSBuZXcn
ZWQgcG9pbnRlcnMgdGhhdCBhcmUgcGFzc2VkIGFzIGFyZ3VtZW50cy4KKyAgICAgICAgUHJvcG9z
ZWQgcGF0Y2ggYXNzaWducyBuZXcnZWQgcG9pbnRlciBleHBsaWNpdGx5IG91dHNpZGUgZnVuY3Rp
b24gY2FsbC4KKworICAgICAgICAqIEFQSS9KU0NsYXNzUmVmLmNwcDoKKyAgICAgICAgKE9wYXF1
ZUpTQ2xhc3M6Ok9wYXF1ZUpTQ2xhc3MpOgorICAgICAgICAoT3BhcXVlSlNDbGFzc0NvbnRleHRE
YXRhOjpPcGFxdWVKU0NsYXNzQ29udGV4dERhdGEpOgorCiAyMDA5LTEyLTI5ICBMYXN6bG8gR29t
Ym9zICA8bGFzemxvLjEuZ29tYm9zQG5va2lhLmNvbT4KIAogICAgICAgICBSZXZpZXdlZCBieSBN
YWNpZWogU3RhY2hvd2lhay4KSW5kZXg6IEphdmFTY3JpcHR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GlvbnMtPmFkZChVU3RyaW5nOjpSZXA6OmNyZWF0ZUNvcHlpbmco
aXQtPmZpcnN0LT5kYXRhKCksIGl0LT5maXJzdC0+c2l6ZSgpKSwgZSk7CiAgICAgICAgIH0KICAg
ICAgICAgICAgIAogICAgIH0gZWxzZQo=
</data>
<flag name="review"
          id="27818"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>