Closed Bug 509622 Opened 16 years ago Closed 16 years ago

Intermittent error messages when submitting a bug. "Template->process() failed twice"

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: tpascaru, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729) Build Identifier: Bugzilla 3.4.1 Once we upgraded to version 3.4.1, we started to get this intermittent error when submitting bugs. The bug always gets submitted, but the following message appears: Template->process() failed twice. First error: undef error - Undefined subroutine &Bugzilla::Util::ThrowtemplateError called at Bugzilla/Util.pm line 603, <DATA> line 228. Second error: plugin error - Can't locate object method "new" via package "Bugzilla::Template::Plugin::Hook" at C:/Perl/site/lib/Template/Plugins.pm line 121, <DATA> line 228. Reproducible: Sometimes Steps to Reproduce: I have not found a consistent way to reproduce the problem. For some users, they say it happens every time.
Component: Reporting/Charting → Creating/Changing Bugs
This error comes from get_text(). Do you have a plugin which is supposed to call get_text()?
This is pretty much a vanilla installation of Bugzilla. I don't have any plugins (that I know of) installed. Is there a way to find out if anyone is using the get_text() function? This problem started occurring only after upgrading to 3.4.1. One other thing that could be of interest, when running checksetup.pl, I get some warnings at the end regarding precompiled templates. Since the original error has to do with a template, perhaps they are related? The checksetup output is included below: C:\Software\bugzilla>checksetup.pl * This is Bugzilla 3.4.1 on perl 5.8.8 * Running on Win2000 Build 2195 (Service Pack 4) Checking perl modules... Checking for CGI.pm (v3.21) ok: found v3.29 Checking for Digest-SHA (any) ok: found v5.47 Checking for TimeDate (v2.21) ok: found v2.22 Checking for DateTime (v0.28) ok: found v0.50 Checking for DateTime-TimeZone (v0.79) ok: found v0.93 Checking for PathTools (v0.84) ok: found v3.3 Checking for DBI (v1.41) ok: found v1.43 Checking for Template-Toolkit (v2.22) ok: found v2.22 Checking for Email-Send (v2.16) ok: found v2.185 Checking for Email-MIME (v1.861) ok: found v1.863 Checking for Email-MIME-Encodings (v1.313) ok: found v1.313 Checking for Email-MIME-Modifier (v1.442) ok: found v1.444 Checking for URI (any) ok: found v1.35 Checking available perl DBD modules... Checking for DBD-Pg (v1.45) not found Checking for DBD-mysql (v4.00) ok: found v4.005 Checking for DBD-Oracle (v1.19) not found The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.43 Checking for Chart (v1.0) ok: found v2.3 Checking for Template-GD (any) not found Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.43 Checking for XML-Twig (any) ok: found v3.26 Checking for MIME-tools (v5.406) ok: found v5.417 Checking for libwww-perl (any) ok: found v2.036 Checking for PatchReader (v0.9.4) ok: found v0.9.5 Checking for PerlMagick (any) not found Checking for perl-ldap (any) ok: found v0.34 Checking for Authen-SASL (any) not found Checking for RadiusPerl (any) not found Checking for SOAP-Lite (any) ok: found v0.710.08 Checking for HTML-Parser (v3.40) ok: found v3.56 Checking for HTML-Scrubber (any) ok: found v0.08 Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316 Checking for Email-Reply (any) ok: found v1.202 Checking for TheSchwartz (any) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) not found *********************************************************************** * OPTIONAL MODULES * *********************************************************************** * Certain Perl modules are not required by Bugzilla, but by * * installing the latest version you gain access to additional * * features. * * * * The optional modules you do not have installed are listed below, * * with the name of the feature they enable. Below that table are the * * commands to install each module. * *********************************************************************** * MODULE NAME * ENABLES FEATURE(S) * *********************************************************************** * Template-GD * Graphical Reports * * PerlMagick * Optionally Convert BMP Attachments to PNGs * * Authen-SASL * SMTP Authentication * * RadiusPerl * RADIUS Authentication * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * mod_perl * mod_perl * *********************************************************************** * Note For Windows Users * *********************************************************************** * In order to install the modules listed below, you first have to run * * the following command as an Administrator: * * * * ppm repo add theory58S http://theoryx5.uwinnipeg.ca/ppms *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: Template-GD: ppm install Template-GD PerlMagick: ppm install PerlMagick Authen-SASL: ppm install Authen-SASL RadiusPerl: ppm install RadiusPerl TheSchwartz: ppm install TheSchwartz Daemon-Generic: ppm install Daemon-Generic mod_perl: ppm install mod_perl Reading ./localconfig... OPTIONAL NOTE: If you want to be able to use the 'difference between two patches' feature of Bugzilla (which requires the PatchReader Perl module as well), you should install patchutils from: http://cyberelk.net/tim/patchutils/ Checking for DBD-mysql (v4.00) ok: found v4.005 Checking for MySQL (v4.1.2) ok: found v5.0.45-community-nt WARNING: You need to set the max_allowed_packet parameter in your MySQL configuration to at least 3276750. Currently it is set to 1048576. You can set this parameter in the [mysqld] section of your MySQL configuration file. Removing existing compiled templates... Precompiling templates...done. Attempt to free unreferenced scalar: SV 0x5b9c8f8, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c484, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c8bc, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c8e0, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c460, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65680, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba813c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c964, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba81cc, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba81fc, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c8e0, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x4ee3d08, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b68b00, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba8238, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65638, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba81f0, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c7e4, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b68c2c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c94c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65638, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b656c8, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65620, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba8208, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x4d1cdb0, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b656c8, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65620, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba8208, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x4d1cdb0, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b656c8, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65620, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6562c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c814, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b656c8, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b65620, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6562c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c814, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba819c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c82c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6562c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba8148, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba819c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c82c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6562c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba8148, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b6595c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5ba819c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315. Attempt to free unreferenced scalar: SV 0x5b9c82c, Perl interpreter: 0x15d3d3c at Bugzilla/Object.pm line 315.
I suspect that this is a support issue. Those errors sound like you need to upgrade to a later build of ActiveState, there. Probably the best place to follow up on this would be the support list, which is described here: http://www.bugzilla.org/support/
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Yes - I upgraded to ActivePerl-5.10.0.1005-MSWin32-x86-290470.msi and it seemed to fix the problem. There was also an unrelated bug regarding custom fields where setting "Field only appears when:" would show the proper drop-downs, but "is set to:" would always be blank. This was a minor annoyance, and I did not report it. However, both problems seem to be fixed with the new installation of ActivePerl. I was hesitant to upgrade at first since the installation requirements called out for Perl v5.8.1.
Verified invalid per comment 4
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.