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.
[ note it works fine with a patched mod_perl ]
I dont see anything we can do about that :-(. Basically it causes a
sort of recursion, If I use the debugging i stuck in
mod_perl_call_list() I see:
call_list: 0x7fb3c0df9e10 # Should be END { eval "END {}" for 1..10 }
call_list: 0x7fb3bac17b08
call_list: 0x7fb3c398cdc8
call_list: 0x7fb3c398cc60
call_list: 0x7fb3c398caf8
call_list: 0x7fb3c398c990
call_list: 0x7fb3c397a820
call_list: 0x7fb3c396c638
call_list: 0x7fb3ba7bebc0
call_list: 0x7fb3bcbf11a0
call_list: 0x7fb3ba933720
call_list: 0x7fb3ba4ceb90
call_list: 0x7fb3c0df9e10 # Hey.. this looks familiar :-(
call_list: 0x7fb3bac17b08
call_list: 0x7fb3ba545280
call_list: 0x7fb3ba0d2818
call_list: 0x7fb3b56d8b40
Undefined subroutine &main:: called.
END failed--call queue aborted.
Would a trace=99 help?
--
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]