Hi there,

On Wed, 12 Dec 2001, Titus Brown wrote:

> The core dump happens on the dPPDIR call in the beginning of the perl_handler
> function in mod_perl.c (line 820 in the latest dist).  The line expands to:
> 
> #define dPPDIR \
>    perl_dir_config *cld = (perl_dir_config *)get_module_config(r->per_dir_config, 
>&perl_module)
> 
> gdb claims that neither 'r' nor perl_module are NULL or otherwise evil, although
> r->per_dir_config is NULL.  Any ideas?

I'd backtrack to find out why per_dir_config is NULL.  If you look at
ap_get_module_config() in http_config.c you'll see that a segfault is
inevitable if its first argument is NULL.

No, I lied.  I'd try recompiling (make clean in both directories, etc.)
with no funny business first, it's easier than debugging...

73,
Ged.


Reply via email to