develooper Front page | perl.perl5.porters | Postings from October 2003

Re: 5.8.1: Segfault with $Config and File::Find?

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
October 8, 2003 13:28
Subject:
Re: 5.8.1: Segfault with $Config and File::Find?
Message ID:
20031008202820.GC10807@fdgroup.com
On Thu, Oct 09, 2003 at 05:10:04AM +0900, Tatsuhiko Miyagawa wrote:
> At Wed, 8 Oct 2003 21:04:16 +0100,
> Dave Mitchell wrote:
> > 
> > I can't reproduce this. However, I notice:
> > 
> > >   %ENV:
> > >     PERL5LIB="/home/miyagawa/local/lib/perl5/site_perl/5.005"
> > >   @INC:
> > >     /home/miyagawa/local/lib/perl5/site_perl/5.005
> > >     /usr/local/lib/perl5/5.8.1/i386-freebsd-thread-multi
> > ...
> > 
> > The 5.005 bit looks a bit suspicicious. Does it still coredump without
> > PERL5LIB set?
> 
> Yes.
> 
>   % unsetenv PERL5LIB
>   % perlmodulelist
>   Segmentation fault
> 
> with print debugging, I figure out it always dies with $inc =
> "/usr/local/lib/perl5/5.8.1" and $_ = "lib". But dunno what it means.


Ok, thanks.  Could you show us a stack backtrace, eg

    $ gdb perl5.8.1
    (gdb) run perlmodulelist
    ...
    [ coredumps ]
    (gdb) bt

-- 
"I do not resent critisism, even when, for the sake of emphasis,
it parts for the time with reality".
Winston Churchill, House of Commons, 22nd Jan 1941.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About