Tatsuhiko Miyagawa <miyagawa@edge.co.jp> writes: > 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? > FYI: no segfault with a threaded perl 5.8.1 on a slightly newer FreeBSD (4.6). Regards, Slaven -- Slaven Rezic - slaven@rezic.de babybike - routeplanner for cyclists in Berlin handheld (e.g. Compaq iPAQ with Linux) version of bbbike http://bbbike.sourceforge.netThread Previous | Thread Next