I'm trying to load NYTProf in a mod_perl process, post-fork because I
get segfaults when I try it the normal way. I seem to get this error
alot. Has anyone succeeded at this or know what I need to focus on to
fix this? I think I need to use Enbugger to load the debugger at
runtime too but that's theoretically a-ok. I wrote
http://github.com/jbenjore/Enbugger/blob/206c76c3ee676df29b34daa8d2fc7a7ed408009d/lib/Enbugger/nytprof.pm
as a first stab at this.

I also found I needed to load Errno very early because something along
the way was changing $Config{archname} from darwin-2level to -.

W3M211:Enbugger-2.005 jbenjore$ /opt/perl/bin/nytprofhtml
Generating report...
Reading nytprof.out
inflate failed, error -5 ((null)) at end of input file - is it
truncated? at 
/opt/perl-5.10.0/lib/site_perl/5.10.0/darwin-2level/Devel/NYTProf/Data.pm
line 78.

I'm at r745 which is HEAD right now.

Josh

PS: The case of the filename is wrong. It should be
Enbugger/NYTProf.pm It looked right on my Mac but it apparently
published it to github with the wrong case. Argh. This will be fixed
later.

--~--~---------~--~----~------------~-------~--~----~
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