> -----Original Message-----
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 12:37 AM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: bleedperl problems with 1.3
> 
> 
> On Mon, 14 May 2001, Geoffrey Young wrote:
> 
> > 
> > ah ha - Doug's patch to op.c that was applied Saturday 
> seems to be the
> > culprit - if I back it out the call to bootstrap() works again.
> > 
> > BTW, this wasn't just hanging up Dispatch.pm, but anything 
> that was using
> > Apache::ExtUtils, like Apache:RefererBlock...
> 
> hmm, might just be uncovering a bug in mod_perl.  i have not 
> been able to
> reproduce yet, but this patch might help.  and/or the patch 
> to op.c after
> it.  once i can reproduce it, i'll figure out whats up.

arg, if you can't reproduce it...

anyway, no combination of the below patches seemed to work.

I think it has something to do with PerlWarn and the second pass of
httpd.conf - see below for my boiled down httpd.conf and a trace.  If I
comment out PerlWarn everything starts as expected.

HTH

--Geoff

ServerType standalone
ServerRoot /usr/local/apache
ServerAdmin [EMAIL PROTECTED]
ServerName spinnaker.laserlink.net
ServerTokens Full

PidFile logs/httpd.pid
Port 80
User nobody
Group nobody

AccessConfig    /dev/null
ResourceConfig  /dev/null

Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

MinSpareServers 2
MaxSpareServers 5
StartServers 3
MaxClients 150
MaxRequestsPerChild 5000

PerlModule Apache::RefererBlock
PerlFixupHandler Apache::RefererBlock
RefBlockMimeTypes text/html
RefBlockDebug Off
PerlSetEnv MOD_PERL_TRACE all
PerlWarn On

__END__

with PerlWarn On:

loading perl module 'Apache'...ok
perl_startup: perl aleady running...ok
loading perl module 'Apache'...ok
cmd_cleanup: SvREFCNT($Apache::RefererBlock::$obj) == 1
cmd_cleanup: SvREFCNT($Apache::RefererBlock::$obj) == 1
cleanup_sv: SvREFCNT(0x82dc54c)==1
loading perl module 'Apache'...ok
Processing config directory: /usr/local/apache/conf/httpd.conf
 Processing config file: /usr/local/apache/conf/httpd.conf/whole.conf
loading perl module 'Apache'...ok
PerlModule: arg='Apache::RefererBlock'
loading perl module 'Apache::RefererBlock'...not ok
Syntax error on line 34 of /usr/local/apache/conf/httpd.conf/whole.conf:
Undefined subroutine called at
/src/bleedperl/lib/site_perl/5.7.1/i686-linux-thread-multi/Apache/RefererBlo
ck.pm line 13.
Compilation failed in require at (eval 10) line 3.


without PerlWarn:

loading perl module 'Apache'...ok
perl_startup: perl aleady running...ok
loading perl module 'Apache'...ok
cmd_cleanup: SvREFCNT($Apache::RefererBlock::$obj) == 1
cmd_cleanup: SvREFCNT($Apache::RefererBlock::$obj) == 1
cleanup_sv: SvREFCNT(0x82e2f2c)==1
loading perl module 'Apache'...ok
Processing config directory: /usr/local/apache/conf/httpd.conf
 Processing config file: /usr/local/apache/conf/httpd.conf/whole.conf
loading perl module 'Apache'...ok
PerlModule: arg='Apache::RefererBlock'
loading perl module 'Apache::RefererBlock'...ok
init `PerlFixupHandler' stack
perl_cmd_push_handlers: @PerlFixupHandler, 'Apache::RefererBlock'
pushing `Apache::RefererBlock' into `PerlFixupHandler' handlers
blessing cmd_parms=(0xbffff7cc)
blessing cmd_parms=(0xbffff7cc)
perl_cmd_setenv: 'MOD_PERL_TRACE' = 'all'
 Processing config file: /usr/local/apache/conf/httpd.conf/~file
loading perl module 'Apache'...ok
`PerlRestartHandler' push_handlers() stack is empty
PerlRestartHandler handlers returned -1
[Tue May 15 09:44:29 2001] [notice] Apache/1.3.20-dev (Unix)
mod_perl/1.25_01-dev configured -- resuming normal operations
perl_init_ids: uid=99, euid=99, gid=99, egid=99
`PerlChildInitHandler' push_handlers() stack is empty
PerlChildInitHandler handlers returned -1
perl_init_ids: uid=99, euid=99, gid=99, egid=99
`PerlChildInitHandler' push_handlers() stack is empty
PerlChildInitHandler handlers returned -1
perl_init_ids: uid=99, euid=99, gid=99, egid=99
`PerlChildInitHandler' push_handlers() stack is empty
PerlChildInitHandler handlers returned -1
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to