On Sat, Mar 07, 2009 at 09:18:27PM +0000, Tim Bunce wrote:
> On Sat, Mar 07, 2009 at 03:05:15PM -0500, Andy Grundman wrote:
> > Unfortunately I run into another bug trying to run it without  
> > compression (it dies on a 'use warnings'):

Any particular reason you were running it without compression?

> > NYTPROF=savesrc=1:use_db_sub=1:compress=0 perl -d:NYTProf  
> > slimserver.pl 2>&1 && ls -l nytprof.out
> > fwrite error 2: No such file or directory at 
> > /System/Library/Perl/5.8.8/warnings.pm line 134.
> > BEGIN failed--compilation aborted at /System/Library/Perl/5.8.8/warnings.pm 
> > line 134.
> > 
> > Line 134 is:
> > use Carp ();
> > 
> > Anything helpful I can provide with trace output?
> 
> No need, I can reproduce it: 
> 
> NYTPROF=savesrc=1:use_db_sub=1:compress=0 perl -d:NYTProf -e 'use warnings;'
> fwrite error 2: No such file or directory at 
> /usr/local/perl58-i/lib/site_perl/5.8.6/darwin-thread-multi-2level/Devel/NYTProf.pm
>  line 39.
> BEGIN failed--compilation aborted at 
> /usr/local/perl58-i/lib/5.8.6/warnings.pm line 134.
> 
> It's very odd that changing any of those three options makes the problem
> go away. Very odd. I'll go dig...

Um, nasty memory corruptions, with assorted symptoms including core dumps.
I thought it was just with old perls (perl 5.8.x where x <= 8, and perl
5.10.y where y==0) as it occurs readily with them, but I've just
reproduced it with 5.8.9 (though sadly not as a core dump).

So suspicion now falls on compress=0...

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