hi all,

i test all my scripts which this version of mod perl
and i have the message :
[notice] child pid 3541 exit signal Segmentation fault (11)
in the error_log all the times but not the first one when i call the script

if i remove
print header();
and put
print "Content-Type: text/plain\n\n";

it's ok
does some thing specific to do with CGI.pm (v 3.04) and mod_perl  ?

#-----------------------------
#!/usr/bin/perl -w

use strict;
use Carp ();
local $SIG{__WARN__} = \&Carp::cluck;

use CGI qw(:standard);
# notice] child pid 3541 exit signal Segmentation fault (11)
print header();

# ok :
# print "Content-Type: text/plain\n\n";

1;
#-----------------------------
Alias /publishing-lib/ /home/publishing3/publishing-lib/
<Directory /home/publishing3/publishing-lib>
   SetHandler perl-script
   PerlResponseHandler ModPerl::Registry
   Options ExecCGI
   allow from all
   PerlSendHeader On
 </Directory>


thanks Arnaud.


-- 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



Reply via email to