Re: 1.22_01-dev: Modification of a read-only value ...
On Wed, 5 Apr 2000, Oleg Bartunov wrote: > Yes ! It works now after I add Apache::Table to my startup.pl excellent. Apache::Table is now loaded by default if it's enabled (footprint is small), problem solved.
Re: 1.22_01-dev: Modification of a read-only value ...
On Tue, 4 Apr 2000, Doug MacEachern wrote: > Date: Tue, 4 Apr 2000 14:27:28 -0700 (PDT) > From: Doug MacEachern <[EMAIL PROTECTED]> > To: Oleg Bartunov <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: 1.22_01-dev: Modification of a read-only value ... > > > No, this doesn't fixed the problem. I applied your patch to current cvs > > hmm, does the problem go away if you add this to httpd.conf: > > PerlModule Apache::Table Yes ! It works now after I add Apache::Table to my startup.pl > > ? that's my only suspect, since the first time you access $r->headers_in > it will 'require Apache::Table', which might confuse the stack pointer. > Got that, why it worked before :0) Oleg > _ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83
Re: 1.22_01-dev: Modification of a read-only value ...
> No, this doesn't fixed the problem. I applied your patch to current cvs hmm, does the problem go away if you add this to httpd.conf: PerlModule Apache::Table ? that's my only suspect, since the first time you access $r->headers_in it will 'require Apache::Table', which might confuse the stack pointer.
Re: 1.22_01-dev: Modification of a read-only value ...
On Sun, 2 Apr 2000, Doug MacEachern wrote: > Date: Sun, 2 Apr 2000 21:20:09 -0700 (PDT) > From: Doug MacEachern <[EMAIL PROTECTED]> > To: Oleg Bartunov <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: 1.22_01-dev: Modification of a read-only value ... > > On Sun, 2 Apr 2000, Oleg Bartunov wrote: > > > Hi, > > > > With 1.22_01-dev I got an error: > > > > [Sun Apr 2 16:50:03 2000] [error] Modification of a read-only value attempted at >/usr/local/apache/lib/perl/My/ProxyRemoteAddr.pm line 15, chunk 1. > > hmm, 1.22_01-dev is supposed to fix that problem, does it make a > difference if you backout this change? No, this doesn't fixed the problem. I applied your patch to current cvs Oleg > > --- src/modules/perl/mod_perl.c 2000/03/31 05:16:05 1.112 > +++ src/modules/perl/mod_perl.c 2000/04/03 04:19:53 > @@ -1562,7 +1562,6 @@ > if(stash) /* check again */ > is_method = perl_handler_ismethod(stash, method); > #endif > - SPAGAIN; /* reset stack pointer after require() */ > } > > if(!is_method && !defined_sub) { > _ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83
Re: 1.22_01-dev: Modification of a read-only value ...
On Sun, 2 Apr 2000, Oleg Bartunov wrote: > Hi, > > With 1.22_01-dev I got an error: > > [Sun Apr 2 16:50:03 2000] [error] Modification of a read-only value attempted at >/usr/local/apache/lib/perl/My/ProxyRemoteAddr.pm line 15, chunk 1. hmm, 1.22_01-dev is supposed to fix that problem, does it make a difference if you backout this change? --- src/modules/perl/mod_perl.c 2000/03/31 05:16:05 1.112 +++ src/modules/perl/mod_perl.c 2000/04/03 04:19:53 @@ -1562,7 +1562,6 @@ if(stash) /* check again */ is_method = perl_handler_ismethod(stash, method); #endif - SPAGAIN; /* reset stack pointer after require() */ } if(!is_method && !defined_sub) {