Closed Bug 8754 Opened 26 years ago Closed 23 years ago

Errors: Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 224.

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: agrundma, Assigned: justdave)

Details

My Bugzilla installation will send users their passwords via email, but clicking on any of "Go to query page", "Enter new bug", and "Bug Reports" produces a "Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 224." error. It sometimes occurs on line 245. At first I had a Mysql permissions problem where Bugzilla couldn't log into the database, but the error still occurs even after I fixed that. I am running on RedHat Linux 5.2 w/ kernel 2.2.9, Perl 5.004_04, with all perl modules installed, and Mysql 3.22.20a. Any help is much appreciated. -Andy (agrundma@ruby.ddiworld.com)
Please look in your server error log files (probably /etc/httpd/logs/error_log) and see if there are useful error messages then. The "subsitution loop" thing is a problem with redhat's version of perl, I believe.
Here's part of the error_log: Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 245. Use of uninitialized value at /usr/local/apache/htdocs/bugs/reports.cgi line 245 (#1) (W) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign an initial value to your variables. Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 224 (#2) (P) The substitution was looping infinitely. (Obviously, a substitution shouldn't iterate more times than there are characters of input, which is what happened.) See the discussion of substitution in perlop/"Quote and Quote-like Operators". Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 245. Use of uninitialized value at globals.pl line 499 (#1) (W) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign an initial value to your variables. Might have something to do with the uninitialized values?
This went away after I upgraded to Perl 5.005_03.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Closing bug; submitter said it went away with new version of perl.
per Terry, auto-verifying any resolved bug that hasn't been touched since before 2.10 was released.
Status: RESOLVED → VERIFIED
Assignee: terry → justdave
Status: VERIFIED → NEW
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
QA Contact: matty
Version: other → unspecified
moving all closed Bugzilla bugs to the new Bugzilla product. This batch is DUPLICATE/INVALID/WORKSFORME/WONTFIX reassigning to default owner and QA in case of the bug being reopened. Clearing milestones, since we really shouldn't have them on these types of resolutions. Sorry for the spam everyone...
damn, bit by bug 30731. sorry for the respam... one more coming to complete fixing this...
Status: NEW → RESOLVED
Closed: 25 years ago23 years ago
finishing status correction
Status: RESOLVED → VERIFIED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.