justin wrote:
Our modperl servers with apache+modperl >= versions 1.3.28 and modperl
1.28, crash randomly with
[Tue Mar 9 18:02:17 2004] [notice] child pid 10940 exit signal Segmentation fault (11)
[...]
How can I best debug this? perhaps capture the segv and do a stack trace
or write a core file? it only happens in production, or if it happens in
dev, then I need a production-like request rate anyway.
Configure the system to allow core files dumping as explained here:
http://perl.apache.org/docs/2.0/devel/debug/c.html#Getting_the_core_File_Dumped
once you have the core file, you can get the backtrace to find where it fails:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems
or may be you will have luck with this module:
http://search.cpan.org/dist/Debug-FaultAutoBT/
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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