CPAN SIGBUS / SIGSEG on new Opteron x86_64

[email protected] (Brian Gorby)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
Brand new install of CentOS 64-bit 4.2 on an Opteron 246 machine.

perl -v = v5.8.5 built for x86_64-linux-thread-multi

I can't do a thing with CPAN.

On any action, I either get a Bus error:

cpan> install Apache
CPAN: Storable loaded ok
Going to read /home/.../.cpan/Metadata
Going to read /home/.../.cpan/sources/authors/01mailrc.txt.gz
Going to read /home/.../.cpan/sources/modules/02packages.details.txt.gz
   Database was generated on Thu, 19 Jan 2006 08:15:07 GMT
CPAN: HTTP::Date loaded ok
Bus error

GDB says:

Program received signal SIGBUS, Bus error.
[Switching to Thread 182894081088 (LWP 16608)]
0x0000003b86d91b10 in Perl_hv_clear_placeholders ()
    from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
(gdb) backtrace
#0  0x0000003b86d91b10 in Perl_hv_clear_placeholders ()
    from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#1  0x0000003b86d91ee6 in Perl_hv_clear_placeholders ()
    from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#2  0x0000003b86d9279c in Perl_he_dup () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#3  0x0000003b86d931ac in Perl_hv_fetch_ent () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#4  0x0000003b86d9f941 in Perl_pp_helem () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#5  0x0000003b86d827ea in Perl_runops_debug () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#6  0x0000003b86d3b594 in perl_run () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#7  0x00000000004019dc in main ()
(gdb)

Or a Segmentation fault:

cpan> install Apache
CPAN: Storable loaded ok
Going to read /home/.../.cpan/Metadata
Going to read /home/.../.cpan/sources/authors/01mailrc.txt.gz
Going to read /home/.../.cpan/sources/modules/02packages.details.txt.gz
   Database was generated on Thu, 19 Jan 2006 08:15:07 GMT
CPAN: HTTP::Date loaded ok
Going to read /home/.../.cpan/sources/modules/03modlist.data.gz
Segmentation fault

GDB says:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182894081088 (LWP 16614)]
0x00000036cb37178b in _wordcopy_fwd_aligned () from /lib64/tls/libc.so.6
(gdb) backtrace
#0  0x00000036cb37178b in _wordcopy_fwd_aligned () from /lib64/tls/libc.so.6
#1  0x00000036cb370f13 in memmove () from /lib64/tls/libc.so.6
#2  0x0000003b86db399e in Perl_sv_setsv_flags () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#3  0x0000003b86db4f90 in Perl_sv_mortalcopy () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#4  0x0000003b86d9934e in Perl_pp_aassign () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#5  0x0000003b86d827ea in Perl_runops_debug () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#6  0x0000003b86d3a801 in Perl_call_sv () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#7  0x0000002a987e21a7 in XS_Opcode__safe_call_sv ()
    from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/Opcode/Opcode.so
#8  0x0000003b86d9e99b in Perl_pp_entersub () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#9  0x0000003b86d827ea in Perl_runops_debug () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#10 0x0000003b86d3b594 in perl_run () from 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so
#11 0x00000000004019dc in main ()

Any ideas?

-Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.