net-ssh2 icon indicating copy to clipboard operation
net-ssh2 copied to clipboard

Apache: seg fault on attempt to preload Net::SSH2

Open sezal opened this issue 4 years ago • 0 comments

apache 2.2 + mod_perl + stock perl 5.16 on Amazon Linux. Attempt to load module during apache startup (via PerlModule Net::SSH2) results in

[notice] seg fault or similar nasty error detected in the parent process
$ dmesg
[5002184.643651] httpd[31627]: segfault at 7fa75829d4a0 ip 00007fa75829d4a0 sp 00007ffcd340a368 error 14 in libnss_dns-2.17.so[7fa75ba73000+6000]
[5002193.090187] httpd[31662]: segfault at 7fd5f37e74a0 ip 00007fd5f37e74a0 sp 00007fff7489a158 error 14 in libnss_dns-2.17.so[7fd5f6fbd000+6000]
[5014444.902321] httpd[23538]: segfault at 7fe41af674c0 ip 00007fe41af674c0 sp 00007ffc13063c18 error 14 in librt-2.17.so[7fe41b7a5000+7000]

At the same time module loads in child processes (less optimal) fine.

sezal avatar Aug 31 '21 05:08 sezal