On Tue, Jun 09, 2009 at 09:12:01PM +0100, Tim Bunce wrote: > > On Mon, Jun 08, 2009 at 02:51:21PM -0700, Joshua ben Jore wrote: > > > > On Mon, Jun 8, 2009 at 2:12 PM, Joshua ben Jore<[email protected]> wrote: > > > On Mon, Jun 8, 2009 at 12:41 PM, Joshua ben Jore<[email protected]> wrote: > > >> Using r759, I'm getting a segmentation fault somewhere during report > > >> generation. Anyone else seeing problems? I'm suspecting Tim's recent > > >> "(eval 0)" code in r750. Attached a profile. BTW, to test this stuff > > >> easier, file names for source can be faked with #line X "XXX" > > >> directives in the source. > > > > Got it. The faked-up file didn't exist hard enough yet. Will commit > > later when I have a test. > > I suspect that's papering over the cracks (I've just checked in a > similar patch). > > The puzzle is why the fid for "/unknown-eval-invoker" hadn't already > been seen. The code in the profiler recurses into get_file_id in order > to ensure that that fid gets emitted before the fid that refers to it. > > And in my tests that's exactly what happens during profiling: > Fid 2 is /unknown-eval-invoker (eval 0:0) 0x82 sz0 mt0 > Fid 1 is (eval 0) (eval 2:1) 0x22 sz0 mt0 > > Can you look into that?
I've also checked in a test. Let me know if you can reproduce the problem with the current trunk. 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] -~----------~----~----~----~------~----~------~--~---
