On Mon, Jun 28, 2010 at 10:48:45AM -0600, Alex Hunsaker wrote:
> On Mon, Jun 28, 2010 at 10:28, Alex Hunsaker <[email protected]> wrote:
> > On Mon, Jun 28, 2010 at 02:02, Tim Bunce <[email protected]> wrote:
> >> p.p.s. I'll tweak NYTProf to pre-extend PL_endav enough to reduce the
> >> risk of this happening.
> >
> > I thought we might need to check that sv is not NULL in
> > resolve_sub_to_cv().  As it still might get called with NULL.  But I
> > checked out r1319 and everything seems to be working...
> 
> *sigh* I think I spoke to soon with: "END { eval "END { }" for 1..10
> }"; I end up getting:
> Undefined subroutine &main:: called.
> END failed--call queue aborted.

I offered that example as something you could use to file a bug report
against mod_perl without involving NYTProf.  Any behaviour other than
"it works" counts as a useful bug report test case :)

The change I made to NYTProf will only protect mod_perl+NYTProf against
'reasonable' numbers of END blocks being defined at runtime.

You could bump up the constants in
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1319

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