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:
Tatsuhiko Miyagawa
Date:
October 8, 2003 14:43
Subject:
Re: 5.8.1: Segfault with $Config and File::Find?
Message ID:
86fzi31k47.wl%miyagawa@edge.co.jp
At Wed, 8 Oct 2003 21:28:21 +0100,
Dave Mitchell wrote:
> > 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

Starting program: /usr/local/bin/perl /home/miyagawa/local/bin/perlmodulelist
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x281f1a95 in readdir_r () from /usr/lib/libc_r.so.4
(gdb) bt
#0  0x281f1a95 in readdir_r () from /usr/lib/libc_r.so.4
#1  0x80e2139 in Perl_pp_readdir ()
#2  0x80ab1a1 in Perl_runops_standard ()
#3  0x8061d09 in S_run_body ()
#4  0x80619d8 in perl_run ()
#5  0x805e816 in main ()
#6  0x805e6f5 in _start ()
(gdb)


should I rebuild perl to show full backtrace?

-- 
Tatsuhiko Miyagawa <miyagawa@edge.co.jp>

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