Hi:
I am trying to profile a mod_perl app running Apache/2.2.14 (Ubuntu)
with Perl 5.10.1 and Devel::NYTProf 4.0.5 which I built locally.

For some reason when I upgraded to this version, NYTProf makes a call
finish_profile() after one of the initialization hooks completes
(probably PerlOpenLogsHandler) but then leaves the NYTP_file pointer
"out" set to NULL even though the program is still running. A few
seconds later, when Apache loads the PerlPostConfigHandler, it
segfaults at FileHandle.xs:504 trying to write into the profile file,
which has now been closed.

I pored over the docs but don't see any mention of this. The system
seemed to be working okay with the Ubuntu package libdevel-nytprof-
perl (version 3) and I'm not aware of anything else that changed...

To try to make sure I'm running without threads, I am using
"apache2ctl -X"; I also have ThreadsPerChild and MaxClients set to 1
but to seemingly no avail. This worked with v3 and is now segfaulting.

Am I missing something here?

Thank you very much,
/m

-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to