Re: Help with $r being corrupted

2007-05-04 Thread Jonathan Vanasco
On May 4, 2007, at 8:02 PM, Victor Danilchenko wrote: I am not sure if it's the same type of error, but the idea of recording the PID is a great one -- if it is the problem, then forcing the error-prone child to commit suicide might indeed be the answer. I will add it to the error reporti

Re: Help with $r being corrupted

2007-05-04 Thread Victor Danilchenko
;)){ $r = Apache->request; $r->child_terminate; # i'd still kill off the child anyway } HTH Adam -Original Message- From: Victor Danilchenko [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 6:51 PM To: Frank Wiles Cc: modperl@perl.apache.org Subject: R

Re: Help with $r being corrupted

2007-05-04 Thread Victor Danilchenko
Perrin Harkins wrote: On 5/2/07, Victor Danilchenko <[EMAIL PROTECTED]> wrote: I suspect this is a Perl issue, as I have noticed that generally, funny things seem to occasionally happen with the symbol table (i.e. methods getting forgotten ever once in a while) in the perl code. I don

Re: Help with $r being corrupted

2007-05-04 Thread Perrin Harkins
On 5/2/07, Victor Danilchenko <[EMAIL PROTECTED]> wrote: I suspect this is a Perl issue, as I have noticed that generally, funny things seem to occasionally happen with the symbol table (i.e. methods getting forgotten ever once in a while) in the perl code. I don't think it's a general

RE: Help with $r being corrupted

2007-05-04 Thread Adam Prime x443
ref($r) ne 'Apache::Filter')){ $r = Apache->request; $r->child_terminate; # i'd still kill off the child anyway } HTH Adam -Original Message----- From: Victor Danilchenko [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 6:51 PM To: Frank Wiles Cc: modperl@perl

Re: Help with $r being corrupted

2007-05-03 Thread Victor Danilchenko
Frank Wiles wrote: Actually it isn't an issue of methods being forgotten, more likely you aren't using Apache2::RequestUtil in your code. Preferably preloading it. Well, the production code which has this problem is running under mod_perl 1 and Apache 1.3 right now, but I do load

Re: Help with $r being corrupted

2007-05-03 Thread Frank Wiles
On Wed, 02 May 2007 22:57:59 -0400 Victor Danilchenko <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a custom handler which is supposed to do some stuff > with the request, and run it through the Mason parser. The trouble is > that ever once in a while -- rarely -- the request object

Help with $r being corrupted

2007-05-02 Thread Victor Danilchenko
Hi all, I have a custom handler which is supposed to do some stuff with the request, and run it through the Mason parser. The trouble is that ever once in a while -- rarely -- the request object comes to my handler method corrupted. The error I usually get is that dir_config method is