W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

[Bug 6524] New: “Use of uninitialized value / substr outside of string” errors filling server logs

From: <bugzilla@wiggum.w3.org>
Date: Tue, 03 Feb 2009 00:16:30 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-6524-169@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6524

           Summary: “Use of uninitialized value / substr outside of string”
                    errors filling server logs
           Product: Validator
           Version: 0.8.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: check
        AssignedTo: ot@w3.org
        ReportedBy: ot@w3.org
         QAContact: www-validator-cvs@w3.org


The following errors are not critical to the function of the validator, but
cause countless lines of error output to apache's error log. They should be
fixed/muted.

# cat error.log | grep "[error]" | sed 's/.*client.*] //' | sed 's|, referer:
http://validator.w3.org/||' | head -100000 | sort | uniq -c | sort -nr | head

  63640 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1720.
  26691 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1727.
   1735 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 2040.
   1735 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 2016.
   1590 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1739.
   1531 check: Use of uninitialized value $line in substr at
/usr/local/validator/httpd/cgi-bin/check line 1739.
    952 File does not exist: /usr/local/validator/htdocs/favicon.ico
    171 check: Use of uninitialized value $line in substr at
/usr/local/validator/httpd/cgi-bin/check line 1747.
    171 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 1742.
    170 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1724.

Line numbers relevant only to 0.8.4 release


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 3 February 2009 00:16:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT