On Fri, Oct 31, 2008 at 09:58:26AM +0100, Gisle Aas wrote:
> 
> On Fri, Oct 31, 2008 at 01:19, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I have a process which either: core dumps, or to avoid that I use
> > _exit(). This is because of a bug in the SVN Perl Swig bindings that I
> > can't fix right now.
> >
> > Consequently, the nytprof file doesn't get finished properly and I get
> > the error:
> >
> > inflate failed, error -5 ((null)) at end of input file - is it
> > truncated? at /home/auffmar/gmd-sandbox/gmdroot/gmd/app_perl/sun4-
> > solaris/Devel/NYTProf/Data.pm line 74.
> >
> > Is there any way for me to work around this either by asking nytprof
> > to make up missing data (like DProf handles garbled data) or by making
> > a call in my END/exit handler to finish off the nytprof file manually?
> 
> You should be able to work around this by calling DB::finish_profile()
> from you program before you call _exit.
> 
> Should this function be documented?

Yes, I've done that now. (Not checked in yet as it included with a major
doc update talking about clock sources.)

Tim.

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