perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Homolka, Richard" <>
Subject mod_perl 1.27 core dumping on all requests
Date Tue, 01 Oct 2002 22:37:15 GMT
mod_perl 1.27, apache 1.3.26, Solaris 2.8/Sparc, Perl 5.6, gcc 2.95.2

My problem, I get a consistent core dump in perl_handler(),
mod_perl.c:842 on a standard (non-perl script) request in my server as
specced above.  I've debugged it to where I know what's happening, but
have no clue why it's doing so.

I make a simple request.  I do a telnet, then:
GET / HTTP/1.0[ret][ret]

and the server processes the request.  For some reason it goes though
perl_handler()/mod_perl, my understanding was it wouldn't even go
though perl_handler() unless I configured a directory with SetHandler.

Anyways, it "executes" the macros that start that function, and dies on
the dPPDIR macro (from mod_perl.h).  That macro tries to get the perl
per_directory_config based on the request_req per_dir_config.  The
problem is, the request doesn't have any r->per_dir_config, so it's
NULL, and tries to dereference NULL, and, well, you know what happens.

This has happened with various configurations.  The weird thing is
that it happens at the doc root directory, which has the default
per-dir config from httpd.conf.  Anyone with any ideas?

Richard Homolka
Technical Architecture
Citadel Investment Group L.L.C.

Phone: 312-384-2982
Cell:     312-952-8762

View raw message