Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
I'm not sure what your doing that you need to be running setgid though. Me either. Do any of these require setgid that you know of? use APR::Pool (); use Apache::DB (); Apache::DB->init(); use Apache::DBI (); use Apache2::Connection (); use Apache2::Const -compile => qw( OK REDIRECT FORBIDDEN

Re: [QUESTION] pnotes, Template-Toolkit, and a memory leak

2006-06-30 Thread Philip M. Gollucci
Max Kanat-Alexander wrote: But one way or another, this does seem like a bug. That DESTROY handler ought to get called. By saying go out of scope, or holding a reference, he is implying that the reference count is not = 0 ever. When a "object"'s ref count reaches 0, DESTROY is called.

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Philip M. Gollucci
Boysenberry Payne wrote: That helped me get the Debugger working thank you. Now its cutting out with this error in the error log: [Fri Jun 30 17:55:23 2006] [error] [client 127.0.0.1] install_driver(mysql) failed: Insecure $ENV{PATH} while running setgid at /Library/Perl/5.8.1/darwin-thread-mu

Re: [QUESTION] pnotes, Template-Toolkit, and a memory leak

2006-06-30 Thread Max Kanat-Alexander
On Fri, 2006-06-30 at 18:49 -0400, Jonathan Vanasco wrote: > I think its more likely that the bug is in the way Bugzilla uses TT > -- a some reference to the template object is getting stored > persistently ( i think everyone has made a similar mistake ). I've > never had a problem with a pn

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
That helped me get the Debugger working thank you. Now its cutting out with this error in the error log: [Fri Jun 30 17:55:23 2006] [error] [client 127.0.0.1] install_driver(mysql) failed: Insecure $ENV{PATH} while running setgid at /Library/Perl/5.8.1/darwin-thread-multi-2level/Term/ReadKey.

Re: [QUESTION] pnotes, Template-Toolkit, and a memory leak

2006-06-30 Thread Jonathan Vanasco
On Jun 30, 2006, at 6:20 PM, Max Kanat-Alexander wrote: On Fri, 2006-06-30 at 00:37 -0400, Perrin Harkins wrote: HOWEVER: If I "delete $r->pnotes->{template}" before the script ends, there's no memory leak. It sounds like a problem with the DESTROY method in Template::Provider. Can y

Re: [QUESTION] pnotes, Template-Toolkit, and a memory leak

2006-06-30 Thread Max Kanat-Alexander
On Fri, 2006-06-30 at 00:37 -0400, Perrin Harkins wrote: > > HOWEVER: If I "delete $r->pnotes->{template}" before the script ends, > > there's no memory leak. > > It sounds like a problem with the DESTROY method in Template::Provider. > Can you add some logging to that method to see if it g

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Philip M. Gollucci
Boysenberry Payne wrote: [notice] Apache::DB initialized in child 1441 Syntax error on line 74 of /Users/boysie/habitat/apache/conf/perl.conf: mod_perl is already running, too late for PerlSwitches I must be doing something wrong. I'm using the following: Apache/2.0.55 perl5 (revision 5.0 vers

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
When I follow the example, using Apache2::Status instead of Apache::Status I get the following at the prompt: root# httpd -X -D PERLDB Processing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/boysie.conf Instead of the expected: [notice] Apa

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Perrin Harkins
On Fri, 2006-06-30 at 12:57 -0500, Boysenberry Payne wrote: > Are the instructions as: > Home / Documentation / 1.0 / mod_perl 1.0 User Guide / > Still valid for MP2? I can't find anything in the MP2 docs... The Apache::DB docs say it supports mod_perl 2. - Perrin

Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
Are the instructions as: Home / Documentation / 1.0 / mod_perl 1.0 User Guide / Still valid for MP2? I can't find anything in the MP2 docs... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com