“为什么?”;“打印”;是否在Apache2中导致分段错误?

“为什么?”;“打印”;是否在Apache2中导致分段错误?,apache,perl,mod-perl2,Apache,Perl,Mod Perl2,Apache2::RequestIO的打印方法不断导致我的机器出现分段故障。我有一个代码片段readCookie.pm,非常简单: package readCookie; use Apache2::Const -compile => 'OK'; sub handler{ my $r = shift; $r->print("Hello!"); return Apache2::Const::OK; } 1; 但是,在输入之后,我在我的error.log中得到了

Apache2::RequestIO的打印方法不断导致我的机器出现分段故障。我有一个代码片段readCookie.pm,非常简单:

package readCookie;
use Apache2::Const -compile => 'OK';

sub handler{
    my $r = shift;
    $r->print("Hello!");
    return Apache2::Const::OK;
}
1;
但是,在输入之后,我在我的error.log中得到了下面的消息

[Wed Aug 26 18:13:01.966600 2015] [core:notice] [pid 28200:tid 140520226109312] 
AH00052: child pid 28293 exit signal Segmentation fault (11)
还有一个网页说:

No data received
Details
点击细节,我得到了

Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE
有人能告诉我怎么解决这个问题吗?有没有人在Apache2.4.7和Mod_Perl2.0.9中有使用打印方法的成功经验

非常感谢