Arnaud Blancher wrote:
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>

Sorry Arnaud, I can't reproduce it. Please file a proper bug report: http://perl.apache.org/bugs/

BTW, you should start to get used to the mp2 syntax:

s/PerlSendHeader On/PerlOptions +ParseHeaders/

;)

__________________________________________________________________
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



Reply via email to