keenlearner has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I am trying to debug these ambiguous error message generated in apache error_log. I am using mod_perl 2.
Sun Sep 30 18:16:59 2012 notice child pid 4577 exit signal Segmentation fault (11)
I have put debugging message in my code to know where this segmentation fault happen in between my debugging message then I can track which section of the code is causing this. However, this segmentation message always get printed at the last, after my code execution had finish. I think because of buffering, how can I get this segmentation message to get printed immediately ? I already set my debugging message to FH->autoflush(1). But how about this message generated by modperl ?
My code is too big to be shown here.
Thanks.
|
|---|