Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 4082 invoked from network); 18 Aug 2005 19:13:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 19:13:06 -0000 Received: (qmail 16921 invoked by uid 500); 18 Aug 2005 19:12:58 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 16902 invoked by uid 500); 18 Aug 2005 19:12:58 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 16886 invoked by uid 99); 18 Aug 2005 19:12:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 12:12:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gozer@ectoplasm.org designates 66.34.202.202 as permitted sender) Received: from [66.34.202.202] (HELO minerva.ectoplasm.org) (66.34.202.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 12:13:16 -0700 Received: from minerva.ectoplasm.org (localhost.localdomain [127.0.0.1]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id 94EC65EB32; Thu, 18 Aug 2005 12:12:55 -0700 (PDT) Received: from [192.168.10.200] (unknown [192.168.10.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id CB82B5EB1E; Thu, 18 Aug 2005 12:12:53 -0700 (PDT) Message-ID: <4304DDB4.5020708@ectoplasm.org> Date: Thu, 18 Aug 2005 12:12:52 -0700 From: "Philippe M. Chiasson" User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Lack CC: modperl@perl.apache.org Subject: Re: make test fails (Solaris and Linux, same problem) References: <4304D0CC.851843EE@ggr.co.uk> In-Reply-To: <4304D0CC.851843EE@ggr.co.uk> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigD98324EC6FAE538C4E63087E" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD98324EC6FAE538C4E63087E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Gordon Lack wrote: > 1. Problem Description: > > The server core dumps when running make test. > > This happens on both Solaris and Linux systems (with the equivalent > perl, Apache and mod_perl configurations). > > Having got the core dump info I added some printf statements to the > start of ap_pcw_walk_files_config in modperl_pcw.c to print the values > of dconf, dconf->sec_file and dconf->sec_file->elts. > > This showed: > > GML dconf: ab0e0 > GML dconf->sec_file: 2 > > (and then a SIGSEGV trying to use this "2" as a point to get to > dconf->sec_file->elts). > > This 2 looks decidely unpointer-like. Could Apache and mod_perl differ > over what they think is in a core_dir_config struct and hence > dconf->sec_file refer to a different offset? This strange kind of segfaults is usually the syptoms of disagreements in large-file support in httpd/apr/perl. Detecting these kind of configuration problems has been discussed before, but it's not quite as easy as it sounds ;-) You can see one of the original discussions about this here: http://marc.theaimsgroup.com/?t=111686169600002&r=1&w=2 And it's evolution into a solution here: http://marc.theaimsgroup.com/?l=apache-modperl-dev&w=2&r=1&s=segfaulting+apache+in+ap_pcw_walk_files_&q=t -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5 --------------enigD98324EC6FAE538C4E63087E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDBN20yzKhB4jDpaURA7zZAKDHmCNPkNEX52QpNQ8upGN8otTRfACgpqan QallLraZ/EEBvHZDeBzhpI0= =VOLz -----END PGP SIGNATURE----- --------------enigD98324EC6FAE538C4E63087E--