You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Neeme Vool <ne...@eenet.ee> on 2001/02/27 17:33:29 UTC

Re: Setting %udat Cookie expiry time


I remember that similar problem was, but I'm not sure. Anyway, having
Embperl 1.3.1 I get such errors in my apache log:

18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Path'!
18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::PathNdx'!
18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::CurrPackage'!
18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::CreateAliases'!
18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::SetupSession'!
[Tue Feb 27 18:32:04 2001] [warn] [26277]ERR:  32: Line 1: Warning in Perl
code: 18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::ExecuteReq'!
18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::CleanupSession'!
18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Error'!
18:32:4 27.1.101 - TIGHT LOOP:  can't
`HTML::Embperl::DOC::_9::FreeRequest'!



Neeme Vool

Tel: +372 7 302 113
Fax: +372 7 302 111
E-mail: Neeme.Vool@eenet.ee



Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Neeme Vool <ne...@eenet.ee>.



> > BUT, if I remove this I'll get errors that just like my EmbperlObject
> > files can't do Path, or PathNdx or CleanupSession etc.
> >
>
> This normaly happen when the @ISA array is corrupted. Are any of your
> scripts changing the @ISA array ?
No, they don't.
>
> When does this happen ? Always ? Sometimes ? If sometimes, could it be that
> another script is always executed before by the same Apache child and
> corrupts the @ISA array ?
It happens sometimes. Where from I shoult search scripts that should be
executed before mine? I know that in parent directory is handler
Apache::Regisrty, nut I override it by HTML::EmbperlObject.

Neeme Vool


Re: @ISA corrupted (was: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path)

Posted by Gerald Richter <ri...@ecos.de>.
>
> Is it possible that Apache's Registry module corrupts Embperls ISA array?
>

Angus, reported that there seems to be a relation to Apache::Registry, but
so far I didn't have found out what's wrong.

Have you any chance to isolate the Apache::Registry script that causes the
problem ? Is it a single script or does it occur with all Apache::registry
scripts ? If it is a single script, does it occur everytime when this script
is execute (by the same Apache child) before the Embperl page ? If, yes
could you send it to me ?

Gerald

P.S. I am just about to take off to the 3rd German Perl Workshop
(www.perlworkshop.de) which starts today until Friday. I hope I have a
chance to check my email there, so we can continue to debug this




Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Neeme Vool <ne...@eenet.ee>.


> Neeme, great that you found the problem, but I like to understand it a
> little better. Normaly it's no problem if you use "my" expressions. So there
> must be something special here, that triggers the problem. First of all I
> would like to know, if this is the same problem that two or three others
> atready reported.
I think that I have screwed things a little up.
>
> Could you send us some of the error messages from your error log, after you
> have removed the "TIGHT LOOP" code ?
>
excerpt from logs is here:
@ISA corrupted HTML::Embperl::Req must be a base class of
HTML::Embperl::DOC::_10 at
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 848.
[Wed Feb 28 08:03:22 2001] [error] Can't locate object method "Path" via
package "HTML::Embperl::DOC::_10" at
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 851.


> Is there are message, that say "@ISA corrupted" ?
>
> Do you use these variables, you have declared with my later on in your
> script ?
I'm totally blamed, seems like the point is not there.
This morning I simply clickes my pages and I noticed a behaviour that if
Apache runs some times other pages which by way are Apache::Registry
scripts, and the I click my pages I'll get messages about corrupted ISA.
If the I click some times continously my pages, error messages disappear
soon and all works normal. Then I let Apache run other scripts and all
starts over again.

Is it possible that Apache's Registry module corrupts Embperls ISA array?

And finally I'll get error messages even with this simple page

[-$self=shift-]
<html>
blah
</html>


Neeme Vool


Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Gerald Richter <ri...@ecos.de>.
> >
> I localized it. It depends of usage my expressions.
> for example
>                 my ($name,@value)=split(/\s+/,$param);
>
> causes crashes, but
>
>                 ($name,@value)=split(/\s+/,$param);
>
> works excellent.
>

Neeme, great that you found the problem, but I like to understand it a
little better. Normaly it's no problem if you use "my" expressions. So there
must be something special here, that triggers the problem. First of all I
would like to know, if this is the same problem that two or three others
atready reported.

Could you send us some of the error messages from your error log, after you
have removed the "TIGHT LOOP" code ?

Is there are message, that say "@ISA corrupted" ?

Do you use these variables, you have declared with my later on in your
script ?

Is this code inside a subroutine ?

Do the errors always occur when you execute the page, or only sometimes ?

It would be great if you could give us these details, so I can see if it's
an Embperl problem (and fix it) or a problem of your code

Thanks

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Neeme Vool <ne...@eenet.ee>.


> >
> > BUT, if I remove this I'll get errors that just like my EmbperlObject
> > files can't do Path, or PathNdx or CleanupSession etc.
> >
>
> This normaly happen when the @ISA array is corrupted. Are any of your
> scripts changing the @ISA array ?
>
> When does this happen ? Always ? Sometimes ? If sometimes, could it be that
> another script is always executed before by the same Apache child and
> corrupts the @ISA array ?
>
I localized it. It depends of usage my expressions.
for example
if (@param)
{
        foreach $param (@param)
        {
                my ($name,@value)=split(/\s+/,$param);
                $params{$name}=join(' ',@value);
        }
}

causes crashes, but

if (@param)
{
        foreach $param (@param)
        {
                ($name,@value)=split(/\s+/,$param);
                $params{$name}=join(' ',@value);
        }
}

works excellent.

Neeme Vool


Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Gerald Richter <ri...@ecos.de>.
>
> BUT, if I remove this I'll get errors that just like my EmbperlObject
> files can't do Path, or PathNdx or CleanupSession etc.
>

This normaly happen when the @ISA array is corrupted. Are any of your
scripts changing the @ISA array ?

When does this happen ? Always ? Sometimes ? If sometimes, could it be that
another script is always executed before by the same Apache child and
corrupts the @ISA array ?

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Neeme Vool <ne...@eenet.ee>.


> >
> > Im sorry, I left a confusing subject.
> > Real problem is here:
> >
>
> Sorry, but it's still confusing to me. What did you done when you get this
> message ? I never seen it before, nor can't I find it anywhere in the Perl
> source tree.
>
> Try to make a grep over your sources if you find the error message anywhere.
>
> > > I remember that similar problem was, but I'm not sure. Anyway, having
> > > Embperl 1.3.1 I get such errors in my apache log:
> > >
> > > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Path'!
> > > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::PathNdx'!

So, I found that servers admin himself has written a bit of code into a
startup.pl

sub UNIVERSAL::AUTOLOAD
 {
 if ($UNIVERSAL::AUTOLOAD =~ /::DESTROY$/)
  {
  *$UNIVERSAL::AUTOLOAD = sub {};
  }
  else
  {
  my ($s,$m,$t,$pv,$tu,$as)=localtime();
  warn "$t:$m:$s $pv.$tu.$as - TIGHT LOOP!!!: $class can't
`$UNIVERSAL::AUTOLOAD'!\n";
  }
 }

BUT, if I remove this I'll get errors that just like my EmbperlObject
files can't do Path, or PathNdx or CleanupSession etc.

Neeme Vool


Re: Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Gerald Richter <ri...@ecos.de>.

>
>
> Im sorry, I left a confusing subject.
> Real problem is here:
>

Sorry, but it's still confusing to me. What did you done when you get this
message ? I never seen it before, nor can't I find it anywhere in the Perl
source tree.

Try to make a grep over your sources if you find the error message anywhere.

Gerald



> >
> >
> > I remember that similar problem was, but I'm not sure. Anyway, having
> > Embperl 1.3.1 I get such errors in my apache log:
> >
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Path'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::PathNdx'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::CurrPackage'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::CreateAliases'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::SetupSession'!
> > [Tue Feb 27 18:32:04 2001] [warn] [26277]ERR:  32: Line 1: Warning in
Perl
> > code: 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::ExecuteReq'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::CleanupSession'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Error'!
> > 18:32:4 27.1.101 - TIGHT LOOP:  can't
> > `HTML::Embperl::DOC::_9::FreeRequest'!
> >
> >
> >
> > Neeme Vool
> >
> > Tel: +372 7 302 113
> > Fax: +372 7 302 111
> > E-mail: Neeme.Vool@eenet.ee
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>


Sorry, problem was TIGHT LOOP: can't `HTML::Embperl::DOC::_9::Path

Posted by Neeme Vool <ne...@eenet.ee>.

Im sorry, I left a confusing subject.
Real problem is here:

>
>
> I remember that similar problem was, but I'm not sure. Anyway, having
> Embperl 1.3.1 I get such errors in my apache log:
>
> 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Path'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::PathNdx'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::CurrPackage'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::CreateAliases'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::SetupSession'!
> [Tue Feb 27 18:32:04 2001] [warn] [26277]ERR:  32: Line 1: Warning in Perl
> code: 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::ExecuteReq'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::CleanupSession'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::SubReq'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't `HTML::Embperl::DOC::_9::Error'!
> 18:32:4 27.1.101 - TIGHT LOOP:  can't
> `HTML::Embperl::DOC::_9::FreeRequest'!
>
>
>
> Neeme Vool
>
> Tel: +372 7 302 113
> Fax: +372 7 302 111
> E-mail: Neeme.Vool@eenet.ee
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>