Closed Bug 639687 Opened 15 years ago Closed 15 years ago

Segmentation fault on Precompiling templates

Categories

(Bugzilla :: Installation & Upgrading, defect)

Other
Other
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: thadb, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Build Identifier: 3.6.4 and 4.0 This is happening on a FreeBSD 8.2 install on a virtual box. I have Mysql 5.5 and postgresql 9.0.3 installed. The web server I'm using is Apache 2.2.17_1. I have tried this install with both Mysql and Postgresql database backends and I get the same problem every time. When I run checksetup.pl the first time it creates the templates then crashes on precompiling templates. If I re-run checksetup.pl it says "removing existing compiled templates", then goes to Precompiling existing templates and then crashes with the segmentation fault. I started out having this problem on Bugzilla 4.0 using MySQL so I installed 3.6.4 from ports hoping that it would fix the problem. It didn't. I then changed the setup to use PostgreSQL, but I still have the same problem. After much googling I tried reinstalling DBI, and the DBD modules. Still having the same problem. I've double checked all packages and they're all up to date. Is this a possible issue with the fact that it's a virtual machine? Reproducible: Always Steps to Reproduce: 1. Install Perl 5.8.1 2. Install MySQL 5.5 3. Install Apache 2.2 4. Make sure all perl modules are installed and up to date 5. Download and install Bugzilla (either from ports or from the tarball) 6. run checksetup.pl Actual Results: It will get to the Precompiling templates message and then crash with a Segmentation Fault (core dumped). Expected Results: It should have installed the templates and gone on to the configuration options.
Okay. Could you attach (as an attachment) the full output of checksetup.pl?
The virtual machine is not a problem. I have several instances of Bugzilla in a VM (both Windows and Linux) and they work like a charm.
I'm glad to hear it's not the VM. I've done Bugzilla installs on FreeBSD before without any problems so it was the only thing different that I could point out. Hopefully, the checksetup.pl output will be helpful.
I got around this by running checksetup.pl with the --no-templates option. It installed and I can access bugzilla, but the editparms.cgi page keeps coming up blank. Would this have to do with the fact that I skipped the templates step?
Okay. My guess would be that there's something wrong with your Template Toolkit install. How did you install Template Toolkit? Do you have any localizations installed in your Bugzilla?
I've installed with CPAN, from the FreeBSD ports, and from source without any success. I'm currently trying to get it to work with version 2.21 of the Template Toolkit, hoping that will solve the problem.
That is definitely very strange. At the worst you may want to submit the core dump as a bug in Template-Toolkit. I am pretty sure that this is not a bug in Bugzilla itself, though. If you do get some feedback from the TT maintainer and this is fixed in a later version, do let us know, though. We may want to up our requirement if it is a serious issue.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
I was beginning to come to that conclusion. I'll let you know what happens with the TT maintainer. Do you want me to post it here (especially if there's a fix in a later version) or do you have another way you'd prefer I let you know what happened?
Okay. Yeah, just post it here, that'd be good.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: