Closed Bug 310671 Opened 19 years ago Closed 19 years ago

Running checksetup.pl with Bugzilla 2.20 or Bugzilla 2.21 produces segmentation fault on Centos v3.5, MySQL v4.1.14-standard

Categories

(Bugzilla :: Installation & Upgrading, defect)

x86
Linux
defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: colin.macleod, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050715 Firefox/1.0.6 SUSE/1.0.6-4.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050715 Firefox/1.0.6 SUSE/1.0.6-4.1

When I try to install either Bugzilla v2.20 or v2.21, I get a segmentation fault
running checksetup.pl. This does not happen with Bugzilla v1.18.4,

The hardware is a Dell Poweredge Intel(R) Xeon(TM) CPU 3.20GHz, 2GB memory,
using 80GB SATA hard drive.

This is running RHEL3 clone Centos 3.5, using kernel 2.4.27-2-686. The apache
version is Apache 2.0.46 using perl5 (revision 5.0 version 8 subversion 0).

For the full details of my installed packages, please look at Actual Results
section.

Reproducible: Always

Steps to Reproduce:
Running the following on my system to install clean 2.21.1:

cd /usr/local
tar -zxvf {path-to}/bugzilla-2.21.1.tar.gz
cd bugzilla-2.21.1
./checksetup.pl

Actual Results:  
This is the output from 2.21.1 the first time I run checksetup.pl:

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.10
Checking for    Data::Dumper (any)     ok: found v2.121
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.38)   ok: found v1.48
Checking for      File::Spec (v0.84)   ok: found v3.09
Checking for      File::Temp (any)     ok: found v0.13
Checking for        Template (v2.08)   ok: found v2.14
Checking for      Text::Wrap (v2001.0131) ok: found v2001.0929
Checking for    Mail::Mailer (v1.67)   ok: found v1.67
Checking for    MIME::Base64 (v3.03)   ok: found v3.05
Checking for    MIME::Parser (v5.406)  ok: found v5.417
Checking for        Storable (any)     ok: found v2.06

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v1.41
Checking for     Chart::Base (v1.0)    ok: found v2.3
Checking for     XML::Parser (any)     ok: found v2.34
Checking for       GD::Graph (any)     ok: found v1.43
Checking for GD::Text::Align (any)     ok: found v1.18
Checking for     PatchReader (v0.9.4)  ok: found v0.9.5
Checking for   Image::Magick (any)     ok: found v5.56

Checking user setup ...
Creating data directory (./data) ...
Creating local attachments directory ...
Creating graphs directory...
Creating .htaccess...
Creating ./data/attachments/.htaccess...
Creating Bugzilla/.htaccess...
Creating ./data/.htaccess...
Creating ./template/.htaccess...
Creating ./data/webdot/.htaccess...
Precompiling templates ...
Checking for      DBD::mysql (v2.9003) ok: found v3.0000
Checking for           MySQL (v4.0.14) ok: found v4.1.14-standard

Building Schema object from database...
Adding new table bz_schema ...
Initializing the new Schema storage...
zsh: 15430 segmentation fault  ./checksetup.pl

Expected Results:  
This is the output from Bugzilla 2.18.4 (which is working):

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.10
Checking for    Data::Dumper (any)     ok: found v2.121
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.36)   ok: found v1.48
Checking for      DBD::mysql (v2.1010) ok: found v3.0000
Checking for      File::Spec (v0.82)   ok: found v3.09
Checking for      File::Temp (any)     ok: found v0.13
Checking for        Template (v2.08)   ok: found v2.14
Checking for      Text::Wrap (v2001.0131) ok: found v2001.0929

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v1.41
Checking for     Chart::Base (v1.0)    ok: found v2.3
Checking for     XML::Parser (any)     ok: found v2.34
Checking for       GD::Graph (any)     ok: found v1.43
Checking for GD::Text::Align (any)     ok: found v1.18
Checking for     PatchReader (v0.9.4)  ok: found v0.9.5

Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for    MySQL Server (v3.23.41) ok: found v4.1.14-standard

Populating duplicates table...
Creating duplicates directory...
Adding index for who column in longdescs table...
Adding full-text index for short_desc column in bugs table...
Adding full-text index for thetext column in longdescs table...
There's a typo in my original description. v2.18.4 is working (not 1.18.4 as
stated before).

Sorry!
I found the problem.

The DBD::mysql package from CentOS was installed and conflicting with the CPAN
version.

Working now - sorry to have bothered you.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Reopening. Fixed is reserved for bugs in Bugzilla, not when it wasn't caused by
Bugzilla (like now).
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
Severity: critical → trivial
You need to log in before you can comment on or make changes to this bug.