Bug 124697 - REGRESSION(r159599): webkitdirs.pm spits out warnings at lines 851 and 852
Summary: REGRESSION(r159599): webkitdirs.pm spits out warnings at lines 851 and 852
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Manuel Rego Casasnovas
URL:
Keywords: Regression
Depends on:
Blocks: 124581
  Show dependency treegraph
 
Reported: 2013-11-20 22:06 PST by Ryosuke Niwa
Modified: 2013-11-21 06:39 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.35 KB, patch)
2013-11-21 03:34 PST, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-11-20 22:06:24 PST
After http://trac.webkit.org/changeset/159599, I'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're also seeing them on various builders on build.webkit.org.

Please fix it ASAP.
Comment 1 Manuel Rego Casasnovas 2013-11-21 01:55:43 PST
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
Comment 2 Manuel Rego Casasnovas 2013-11-21 03:34:36 PST
Created attachment 217543 [details]
Patch

This fix the warnings for me. It was trying to access to first element of an array when array has 0 elements.
Comment 3 WebKit Commit Bot 2013-11-21 04:23:42 PST
Comment on attachment 217543 [details]
Patch

Clearing flags on attachment: 217543

Committed r159616: <http://trac.webkit.org/changeset/159616>
Comment 4 WebKit Commit Bot 2013-11-21 04:23:44 PST
All reviewed patches have been landed.  Closing bug.