I'm having a weird problem with certain modules causing perl scripts to segfault. The errors in the log are like
[Thu May 20 03:19:31 2004] [notice] child pid 10522 exit signal Segmentation fault (11) The module causing the problems is Sys::Hostname. The perl script has the line use Sys::Hostname; in it. If I comment out this line, the script work fine with no Segmentation fault. However, if I add Sys::Hostname to the bottom of my mod_perl.conf file httpd fails to start entirely (it segfaults and dies immediately). If I add Sys::Hostname anywhere above the Image::Size module in mod_perl.conf, things work fine. I've had this happen a lot lately. I recently moved News::NNTPClient to the top of the mod_perl.conf list (from the middle) and a different script started working again. I haven't tried recompiling with debugging enabled yet to track it down further, but the fact that it's intermittent and reproducible dependent on positioning eems to indicate that it's something with mod_perl. Any ideas? I'm using Apache 1.3.31 (also tried under 1.3.29) with the following additional modules/libraries. I can provide my full compile flags, etc. if necessary. mod_perl 1.29 mod_interchange 1.30 mod_auth_kerb 4.13 mod_ssl 2.8.17-1.3.31 mod_php 4.3.6 mod_gzip 1.3.26.1a openssl 0.9.7d mm 1.3.0 Thanks for any tips, Chris -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html