<?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>30700</bug_id>
          
          <creation_ts>2009-10-22 18:03:50 -0700</creation_ts>
          <short_desc>fast/media/mq-transform-02.html failed on Leopard Commit Bot</short_desc>
          <delta_ts>2009-10-25 22:29:00 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>darin</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>157071</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-22 18:03:50 -0700</bug_when>
    <thetext>fast/media/mq-transform-02.html failed on Leopard Bot

https://bugs.webkit.org/show_bug.cgi?id=30669#c5
https://bugs.webkit.org/show_bug.cgi?id=28284#c10

I think it is that I just upgraded QuickTime on the commit-queue machine and now the compositing is not longer disabled due to the version check in DRT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157077</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-10-22 18:22:38 -0700</bug_when>
    <thetext>Eric, which Leopard build bot did these tests fail on?  I don’t see any link to the buildbot results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157198</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 11:19:59 -0700</bug_when>
    <thetext>commit bot.  Sorry if that wasn&apos;t clear.

To resolve this I think I just need to update the version check in DumpRenderTree.

Before I do that, I need to know if a fix for rdar://problem/7189153 has already been shipped in QuickTime.

This started failing when I installed QuickTime 7.6.4 on the commit-bot.

#if defined(BUILDING_ON_LEOPARD)
    // Disable hardware composititing to avoid timeouts and crashes from buggy CoreVideo teardown code.
    // https://bugs.webkit.org/show_bug.cgi?id=28845 and rdar://problem/7228836
    SInt32 qtVersion;
    OSErr err = Gestalt(gestaltQuickTimeVersion, &amp;qtVersion);
    assert(err == noErr);
    // Bug 7228836 exists in at least 7.6.3 and 7.6.4, hopefully it will be fixed in 7.6.5.
    // FIXME: Once we know the exact versions of QuickTime affected, we can update this check.
    if (qtVersion &lt;= 0x07640000)
        [preferences setAcceleratedCompositingEnabled:NO];
    else
#endif
        [preferences setAcceleratedCompositingEnabled:YES];

Is the current check in DumpRenderTree.mm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157203</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 11:28:35 -0700</bug_when>
    <thetext>According to:
    OSErr err = Gestalt(gestaltQuickTimeVersion, &amp;qtVersion);
    printf(&quot;\n\nQuickTime version: %lx\n\n&quot;, qtVersion);

My quicktime version is:
QuickTime version: 7648000

So I&apos;ll update the version check:
    if (qtVersion &lt;= 0x07640000)
 assuming that the QuickTime crasher still isn&apos;t fixed.

I guess the leopard build bots haven&apos;t upgraded quicktime versions yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157209</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-10-23 11:33:02 -0700</bug_when>
    <thetext>Yes, oddly, Leopard gets QT 7.6.4, and SL has 7.6.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157210</commentid>
    <comment_count>5</comment_count>
      <attachid>41737</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 11:35:24 -0700</bug_when>
    <thetext>Created attachment 41737
update qtVersion check</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157211</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 11:37:42 -0700</bug_when>
    <thetext>Doing a version check here at all is a little strange as these two tests will fail for anyone who has a new enough version of QuickTime on leopard.  I&apos;m assuming QuickTime hasn&apos;t been fixed yet and have posted a patch to disable HW compositing under 7.6.4.8 (which is what the commit-bot got installed on it yesterday).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157221</commentid>
    <comment_count>7</comment_count>
      <attachid>41737</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2009-10-23 11:47:04 -0700</bug_when>
    <thetext>Comment on attachment 41737
update qtVersion check

&gt; -    // Bug 7228836 exists in at least 7.6.3 and 7.6.4, hopefully it will be fixed in 7.6.5.
&gt; +    // Bug 7228836 exists in at least 7.6.3 through 7.6.4.8, hopefully it will be fixed in 7.6.5.

This comment is incorrect. The version is encoded in BCD where the third byte is the &quot;release stage&quot;, and 80 indicates the final release (see http://developer.apple.com/mac/library/technotes/tn/tn1132.html).

r=me with a fixed comment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157227</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-23 11:57:52 -0700</bug_when>
    <thetext>Committed r49984: &lt;http://trac.webkit.org/changeset/49984&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157634</commentid>
    <comment_count>9</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-10-25 16:28:15 -0700</bug_when>
    <thetext>If it was me, I would have done:

    &lt; 0x07650000

or:

    &lt;= 0x0764FFFF

We&apos;ll probably be OK with 0x07648000, but back when we originally designed this BCD scheme (and one of the first things I did my first time at Apple was write the technical note describing it), there was such a thing as &quot;final 2&quot; and such, which would have some nonzero digits in the low byte. It may be that QuickTime won&apos;t do such a thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157678</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-25 22:29:00 -0700</bug_when>
    <thetext>I agree.  &quot;&lt; 0x07650000&quot; would have been cleaner.  If 7.6.5 doesn&apos;t have the fix I&apos;ll do that for 7.6.6. :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41737</attachid>
            <date>2009-10-23 11:35:24 -0700</date>
            <delta_ts>2009-10-23 11:47:04 -0700</delta_ts>
            <desc>update qtVersion check</desc>
            <filename>bug-30700-20091023113522.patch</filename>
            <type>text/plain</type>
            <size>1445</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCBhMmQ0MTVlLi44NDU1Mzc2IDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMTAt
MjMgIEVyaWMgU2VpZGVsICA8ZXJpY0B3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIGZhc3QvbWVkaWEvbXEtdHJhbnNmb3JtLTAyLmh0
bWwgZmFpbGVkIG9u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ml4ZWQgaW4gNy42LjUuCisgICAgLy8gQnVnIDcyMjg4MzYgZXhpc3RzIGluIGF0IGxl
YXN0IDcuNi4zIHRocm91Z2ggNy42LjQuOCwgaG9wZWZ1bGx5IGl0IHdpbGwgYmUgZml4ZWQgaW4g
Ny42LjUuCiAgICAgLy8gRklYTUU6IE9uY2Ugd2Uga25vdyB0aGUgZXhhY3QgdmVyc2lvbnMgb2Yg
UXVpY2tUaW1lIGFmZmVjdGVkLCB3ZSBjYW4gdXBkYXRlIHRoaXMgY2hlY2suCi0gICAgaWYgKHF0
VmVyc2lvbiA8PSAweDA3NjQwMDAwKQorICAgIGlmIChxdFZlcnNpb24gPD0gMHgwNzY0ODAwMCkK
ICAgICAgICAgW3ByZWZlcmVuY2VzIHNldEFjY2VsZXJhdGVkQ29tcG9zaXRpbmdFbmFibGVkOk5P
XTsKICAgICBlbHNlCiAjZW5kaWY=
</data>
<flag name="review"
          id="23186"
          type_id="1"
          status="+"
          setter="eric.carlson"
    />
          </attachment>
      

    </bug>

</bugzilla>