Description of problem: Perl with requires causes SIGSEGV Version-Release number of selected component (if applicable): 4:5.20.2-325.fc22 How reproducible: 100% Steps to Reproduce: 1. perl -e "require(Encode)" 2. 3. Actual results: SIGSEGV "Segmentation fault (core dumped)" Expected results: No Segmentation fault Additional info: Fails on *any* requires Program received signal SIGSEGV, Segmentation fault. 0x00007ffff170202e in boot_Encode (my_perl=0x603010, cv=0x6e1c00) at Encode.c:1547 1547 dVAR; dXSARGS; backtrace: #0 0x00007ffff170202e in boot_Encode (my_perl=0x603010, cv=0x6e1c00) at Encode.c:1547 #1 0x00000036e3ccd67b in Perl_pp_entersub (my_perl=0x603010) at pp_hot.c:2794 #2 0x00000036e3cc5f06 in Perl_runops_standard (my_perl=0x603010) at run.c:42 #3 0x00000036e3c559c0 in S_run_body (oldscope=<optimized out>, my_perl=<optimized out>) at perl.c:2456 #4 perl_run (my_perl=0x603010) at perl.c:2372 #5 0x0000000000400d29 in main (argc=3, argv=0x7fffffffe2b8, env=0x7fffffffe2d8) at perlmain.c:114
Correction: May not fail on *every* requires Does fail on 'require(List::Util)' #0 0x00007ffff1702bde in boot_List__Util (my_perl=0x604010, cv=0x654948) at ListUtil.c:1793 #1 0x00000036e3ccd67b in Perl_pp_entersub (my_perl=0x604010) at pp_hot.c:2794 #2 0x00000036e3cc5f06 in Perl_runops_standard (my_perl=0x604010) at run.c:42 #3 0x00000036e3c559c0 in S_run_body (oldscope=<optimized out>, my_perl=<optimized out>) at perl.c:2456 #4 perl_run (my_perl=0x604010) at perl.c:2372 #5 0x0000000000400d29 in main (argc=3, argv=0x7fffffffe2a8, env=0x7fffffffe2c8) at perlmain.c:114
I guess you mix XS modules compiled for old new new perl after upgrading your Fedora. For example you installed Encode from CPAN and you try to load Encode module compiled against perl 5.18 to with perl 5.20. Please note that perl releases between major versions are not guaranteed to be ABI-compatible. Is that your case?
Working with Petr, we determined the issue in my case was installing CPAN modules in a prior version. The workaround that resolved the issue was to remove the contents of /usr/local/share/perl5 and /usr/local/lib64/perl5.