On Fri, Jun 25, 2010 at 10:40, Alex Hunsaker <[email protected]> wrote:
>>On Fri, Jun 25, 2010 at 04:47, Tim Bunce <[email protected]> wrote:
>
>>> Ok lets try disabling some things:
>>> # NYTPROF="subs=0:blocks=0:stmts=0:savesrc=0" httpd
>>> Segmentation fault
>
>> Um. With subs=0 the resolve_sub_to_cv() shouldn't be called so I suspect
>> this is a different problem.

> I tried with trace=99 but I just have a zero length log file :-( I
> think ill need a debug enable perl to get anywhere with this one.  BTW
> this problem and the strange "Undefined subroutine &main:: with
> start=no" go away when im not using Archive::Zip.

Yay! I traced it from Archive::Zip to File::Temp to this bit of perl:
{
 ...
  # Set up an end block to use these arrays
  END {
    local($., $@, $!, $^E, $?);
    cleanup();
  }
}

If I comment out the local and clean() and have everything else in the
starting block commented out, it still segfaults.  If I comment out
just the END it works.  Then I verified If I stuck { END { } } instead
of using File::Temp it still broke

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