Jie Gao wrote:
[...]
Thanks very much. I'll do when I find some time for it. Right now I'm getting
segmentation faults and am going to debug it today.

Sure, please take your time.

BTW, I am getting this in the log:

Undefined subroutine &Apache::Connection::AUTOLOAD called.\n,

It seems that some mod_perl module is trying to do autoload a sub that
does not exist.

I don't think the mod_perl 2.0 core does. Set:

use Carp;
$SIG{__WARN__} = \&Carp::cluck;

at the server startup and it'll tell you who called that.


No, it doesn't give me more info. The lines concerned are:

Oh, wait, it was an error, not a warning. You want:

  $SIG{__DIE__} = \&Carp::confess;

then.

        my $content_type = $r->lookup_uri($r->uri)->content_type;
        if (defined $content_type) {
            print STDERR "content-type is: $content_type\n";
            return Apache::OK if $content_type =~ m:^$content_type_to_ignore/:i;
        }

But I don't see anything involves autoload here.

Yes, but you load other modules. The best way to isolate the faulty modules is to use Geoff's Apache-Test skeleton tarball, linked from here:
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description



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