<?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>124697</bug_id>
          
          <creation_ts>2013-11-20 22:06:24 -0800</creation_ts>
          <short_desc>REGRESSION(r159599): webkitdirs.pm spits out warnings at lines 851 and 852</short_desc>
          <delta_ts>2013-11-21 06:39:19 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</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>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>124581</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Manuel Rego Casasnovas">rego</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>eocanha</cc>
    
    <cc>nick.diego</cc>
    
    <cc>rego</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>952938</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-11-20 22:06:24 -0800</bug_when>
    <thetext>After http://trac.webkit.org/changeset/159599, I&apos;m getting errors like the one below everywhere:
server:git-webkit rniwa$ Tools/Scripts/run-webkit-tests --debug LayoutTests/fast/dom LayoutTests/fast/html LayoutTests/fast/forms LayoutTests/svg LayoutTests/html5lib/
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 851.
Use of uninitialized value in splice at /Volumes/Data/git-webkit/Tools/Scripts/webkitdirs.pm line 852.

We&apos;re also seeing them on various builders on build.webkit.org.

Please fix it ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953000</commentid>
    <comment_count>1</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2013-11-21 01:55:43 -0800</bug_when>
    <thetext>BTW, this causes that Tools/Scripts/run-launcher ignores the arguments at least in GTK+ port.

For example the following case will ignore the URL:
Tools/Scripts/run-launcher --gtk http://www.webkit.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953020</commentid>
    <comment_count>2</comment_count>
      <attachid>217543</attachid>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2013-11-21 03:34:36 -0800</bug_when>
    <thetext>Created attachment 217543
Patch

This fix the warnings for me. It was trying to access to first element of an array when array has 0 elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953029</commentid>
    <comment_count>3</comment_count>
      <attachid>217543</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-11-21 04:23:42 -0800</bug_when>
    <thetext>Comment on attachment 217543
Patch

Clearing flags on attachment: 217543

Committed r159616: &lt;http://trac.webkit.org/changeset/159616&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>953030</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-11-21 04:23:44 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>217543</attachid>
            <date>2013-11-21 03:34:36 -0800</date>
            <delta_ts>2013-11-21 04:23:41 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-124697-20131121123635.patch</filename>
            <type>text/plain</type>
            <size>1385</size>
            <attacher name="Manuel Rego Casasnovas">rego</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTU5NjExCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNmYwNDhiOTg3MjhiY2UzNjc0NDBjOWJkMjkyMjg5Mjdk
MDAyN2FkYy4uMDRkNzIzZjk1Mzg3YzMxMWYyNjc5YWVjYTYyMTQ4ZjUyN2MxMGIzNCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDEzLTExLTIxICBNYW51ZWwgUmVnbyBDYXNhc25vdmFzICA8cmVnb0BpZ2FsaWEuY29t
PgorCisgICAgICAgIFJFR1JFU1NJT04ocjE1OTU5OSk6IHdlYmtpdGRpcnMucG0gc3BpdHMgb3V0
IHdhcm5pbmdzIGF0IGxpbmVzIDg1MSBhbmQg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