Apache2::Reload Segmentation Fault
[prev]
[thread]
[next]
[Date index for 2005/04/23]
I am running Apache 2.0.52 on a solaris 8 box with mod_perl-2.0.0-RC5. I
previously had problems using Apache::Reload with mod_perl 1.99_19 version
back in December and gave up trying to find a fix. I thought I would try
again with the RC5 version but after having upgraded from mod_perl 1.99_12
to RC5 I am getting segmentation fault errors when the Apache2::Reload
module is present in my httpd.conf file and a change is then made in a
module and the web page that is created via the changed module is then
called up. I know that the segmentation fault is related to the
Apache2::Reload module because the segmentation fault errors don't appear
when the same change is made in the module (i.e. a simple print statement)
but without Apache2::Reload being present in the httpd.conf file.
My httpd.conf contains the following with respect to Apache2::Reload
PerlRequire "/opt/prod/apache/programs/startup.pl"
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
My startup.pl file starts with the following, with the modules in the
Apache2 and Melior namespaces being listed after this beginning part
BEGIN {
use lib "/opt/prod/apache";
use lib "/opt/prod/apache/nfs";
use lib "/opt/prod/apache/test-mck/mck-cgi";
use lib "/opt/prod/apache/Apache2";
use lib "/opt/prod/apache/Melior";
use CGI::Carp qw(carpout);
open(LOG, ">>/opt/prod/apache/logs/error_log") or die "Unable to append to
/opt/prod/apache1/logs/error_log: $! [See the 'startup.pl' program - 1]\n";
carpout(*LOG);
}
The following is a sample of the segmentation fault errors I am getting when
Apache2::Reload is listed in the httpd.conf file
[Fri Apr 22 20:59:17 2005] [notice] child pid 22432 exit signal Segmentation
fault (11)
[Fri Apr 22 20:59:17 2005] [notice] child pid 22431 exit signal Segmentation
fault (11)
[Fri Apr 22 20:59:25 2005] [notice] child pid 22433 exit signal Segmentation
fault (11)
[Fri Apr 22 20:59:30 2005] [notice] child pid 22434 exit signal Segmentation
fault (11)
[Fri Apr 22 20:59:31 2005] [notice] child pid 22435 exit signal Segmentation
fault (11)
[Fri Apr 22 20:59:32 2005] [notice] child pid 22436 exit signal Segmentation
fault (11)
And the same things happen when 'PerlSetVar ReloadDebug On' debug mode is
turned on (below is a sample from the error_log file with the debug mode
turned on).
[Fri Apr 22 20:09:14 2005] [notice] child pid 21682 exit signal Segmentation
fault (11)
Again, the segmentation faults only occur when Apache2::Reload is loaded and
changes are then made to the modules in the Apache2 namespace. Any help on
this would be appreciated.
Thanks, Vince Moneymaker
 |
(message missing)
|
 |
 |
Apache2::Reload Segmentation Fault
Vincent Moneymaker 04:35 on 23 Apr 2005
|