I get a segfault on the first page access to Apache (it's just a
request for / on the server).  Backtrace:

#0  0x402307db in perl_header_parser (r=0x8154e84) at mod_perl.c:1002
#1  0x8052715 in run_method (r=0x8154e84, offset=58, run_all=1)
    at http_config.c:360
#2  0x8052802 in ap_header_parse (r=0x8154e84) at http_config.c:397
#3  0x80613d5 in process_request_internal (r=0x8154e84) at http_request.c:1149
#4  0x80616ed in ap_process_request (r=0x8154e84) at http_request.c:1231
#5  0x805b099 in child_main (child_num_arg=0) at http_main.c:4177
#6  0x805b20c in make_child (s=0x809a114, slot=0, now=956437231)
    at http_main.c:4281
#7  0x805b333 in startup_children (number_to_start=5) at http_main.c:4363
#8  0x805b7dc in standalone_main (argc=2, argv=0xbffffd44) at http_main.c:4651
#9  0x805be9a in main (argc=2, argv=0xbffffd44) at http_main.c:4978

That line of mod_perl.c is "dPPDIR;"
However, r->per_dir_config is NULL, so the get_module_config() call there
ends up dereferencing a NULL pointer to generate the SEGV.

Any hints on what I'm doing wrong, or how to fix this?

Michael
(please cc me on any responses; I've just now subscribed to the list)

Reply via email to