<?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>16195</bug_id>
          
          <creation_ts>2007-11-29 18:19:18 -0800</creation_ts>
          <short_desc>REGRESSION: JavaScriptCore and LayoutTest failures</short_desc>
          <delta_ts>2007-11-30 00:56:18 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</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>darin</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62742</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-11-29 18:19:18 -0800</bug_when>
    <thetext>http://build.webkit.org/builders/trunk-mac-ppc-release/builds/9420

This was caused by:
http://trac.webkit.org/projects/webkit/changeset/28186

Which was a fix for:
http://trac.webkit.org/projects/webkit/changeset/28151

r28151 had incorrectly removed { } from an if/else block, leading to the crash.  I fixed that, but either something was wrong in my fix (r28186) or that fix exposed some other bug.  Unfortunately the fixes aren&apos;t properly ordered, so it&apos;s hard to figure out if that uncovered some other bug.

I failed to run *all* of the tests after preparing r28186, I was only running the crashing test at the time.  Oops.

When I get around to fixing this, I&apos;ll do so by reordering the commits on a local git branch and squashing 28186 on top of 28151 and then running git-bisect against the whole set of PCRE fixes looking for where these new regressions occurred.  Then I&apos;ll just stare at the diff until I find the unintended logical change, or I&apos;ll use the diffs in the test results to guide me to the right area.

Unfortunately I don&apos;t have a fully functional computer and internet setup right now (I&apos;m setting up my new apartment) so it might be a day or more before I get to sit down and fix this.  If I&apos;m on IRC (as MacDome) you might want to ask me if I&apos;m working on it before you do.  If I&apos;m not on IRC, I won&apos;t be working on it. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62747</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-11-29 19:06:32 -0800</bug_when>
    <thetext>I seem to have broken case insensitive matching with this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62749</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-11-29 20:03:48 -0800</bug_when>
    <thetext>Ok, so git-bisect has revealed that this fix revealed a bug in r28181.  The test failures are caused by problems in r28181.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62761</commentid>
    <comment_count>3</comment_count>
      <attachid>17600</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-11-30 00:45:41 -0800</bug_when>
    <thetext>Created attachment 17600
2007-11-30  Eric Seidel  &lt;eric@webkit.org&gt;


        Reviewed by Maciej.

        Fix layout test regressions caused by r28186
        http://bugs.webkit.org/show_bug.cgi?id=16195
        change first_byte and req_byte back to shorts instead of chars
        (I think PCRE stuffs information in the high bits)

        * pcre/pcre_internal.h:
---
 JavaScriptCore/ChangeLog            |   11 +++++++++++
 JavaScriptCore/pcre/pcre_internal.h |    4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>17600</attachid>
            <date>2007-11-30 00:45:41 -0800</date>
            <delta_ts>2007-11-30 00:48:03 -0800</delta_ts>
            <desc>2007-11-30  Eric Seidel  &lt;eric@webkit.org&gt;</desc>
            <filename>2007-11-30-Eric-Seidel-eric-webkit.org-.patch</filename>
            <type>text/plain</type>
            <size>1319</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">MWQ0MWIwNTgzNDlhZWNhNjRjNmUyMmU4YzJkNTA1MTA1MzBmYjY1NwpkaWZmIC0tZ2l0IGEvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nIGIvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IGQ0
MzJiMjkuLjk3ZTVkNzEgMTAwNjQ0Ci0tLSBhL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZworKysg
Yi9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAwNy0xMS0zMCAg
RXJpYyBTZWlkZWwgIDxlcmljQHdlYmtpdC5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTWFj
aWVqLgorICAgICAgICAKKyAgICAgICAgRml4IGxheW91dCB0ZXN0IHJlZ3Jlc3Npb25zIGNhdXNl
ZCBieSByMjgxODYKKyAgICAgICAgaHR0cDovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9MTYxOTUKKyAgICAgICAgY2hhbmdlIGZpcnN0X2J5dGUgYW5kIHJlcV9ieXRlIGJhY2sgdG8g
c2hvcnRzIGluc3RlYWQgb2YgY2hhcnMKKyAgICAgICAgKEkgdGhpbmsgUENSRSBzdHVmZnMgaW5m
b3JtYXRpb24gaW4gdGhlIGhpZ2ggYml0cykgCisKKyAgICAgICAgKiBwY3JlL3BjcmVfaW50ZXJu
YWwuaDoKKwogMjAwNy0xMS0yOSAgT2xpdmVyIEh1bnQgIDxvbGl2ZXJAYXBwbGUuY29tPgogCiAg
ICAgICAgIFJldmlld2VkIGJ5IE1hY2llaiBhbmQgRGFyaW4uCmRpZmYgLS1naXQgYS9KYXZhU2Ny
aXB0Q29yZS9wY3JlL3BjcmVfaW50ZXJuYWwuaCBiL0phdmFTY3JpcHRDb3JlL3BjcmUvcGNyZV9p
bnRlcm5hbC5oCmluZGV4IDhjNjk3MzguLmE1NDc3N2QgMTAwNjQ0Ci0tLSBhL0phdmFTY3JpcHRD
b3JlL3BjcmUvcGNyZV9pbnRlcm5hbC5oCisrKyBiL0phdmFTY3JpcHRDb3JlL3BjcmUvcGNyZV9p
bnRlcm5hbC5oCkBAIC01NTgsOCArNTU4LDggQEAgc3RydWN0IEpTUmVnRXhwIHsKICAgICAvLyBq
c1JlZ0V4cEV4ZWN1dGUgJiYganNSZWdFeHBDb21waWxlIGN1cnJlbnRseSBvbmx5IGhvdyB0byBo
YW5kbGUgQVNDSUkKICAgICAvLyBjaGFycyBmb3IgdGhzZSBvcHRpbWl6YXRpb25zLCBob3dldmVy
IGl0IHdvdWxkIGJlIHRyaXZpYWwgdG8gYWRkIHN1cHBvcnQKICAgICAvLyBmb3Igb3B0aW1pemVk
IFVDaGFyIGZpcnN0X2J5dGUvcmVxX2J5dGUgc2NhbnMKLSAgICB1bnNpZ25lZCBjaGFyIGZpcnN0
X2J5dGU7Ci0gICAgdW5zaWduZWQgY2hhciByZXFfYnl0ZTsKKyAgICBwY3JlX3VpbnQxNiBmaXJz
dF9ieXRlOworICAgIHBjcmVfdWludDE2IHJlcV9ieXRlOwogfTsKIAogLyogSW50ZXJuYWwgc2hh
cmVkIGRhdGEgdGFibGVzLiBUaGVzZSBhcmUgdGFibGVzIHRoYXQgYXJlIHVzZWQgYnkgbW9yZSB0
aGFuIG9uZQo=
</data>
<flag name="review"
          id="7573"
          type_id="1"
          status="+"
          setter="oliver"
    />
          </attachment>
      

    </bug>

</bugzilla>