On Sat, Jan 24, 2004 at 07:23:24AM -0500, Jeff Trawick wrote:
url above now points to patch which implements these changes vote added to apache-1.3/STATUS
Segfaults here (linux-2.4.23_pre8 - --enable-module=most --enable-shared=max)
With mod_backtrace_13 enabled:
#0 0x401291fc in strcasecmp () from /lib/libc.so.6 #1 0x08055240 in ap_find_command (name=0x8099a74 "ClearModuleList", cmds=0x40262020) at http_config.c:964 #2 0x08055294 in ap_find_command_in_modules (cmd_name=0x8099a74 "ClearModuleList", mod=0xbfffc570) at http_config.c:978 #3 0x0805540d in ap_handle_command (parms=0xbfffe650, config=0x8095c9c, l=0xbfffc5b0 "ClearModuleList") at http_config.c:1021 #4 0x0805551d in ap_srm_command_loop (parms=0xbfffe650, config=0x8095c9c) at http_config.c:1044 #5 0x08055d11 in ap_process_resource_config (s=0x809575c, fname=0x8095e3c "/opt/run/trawick-1.3/conf/httpd.conf", p=0x8095724, ptemp=0x8099744) at http_config.c:1332 #6 0x08056639 in ap_read_config (p=0x8095724, ptemp=0x8099744, confname=0x808e220 "conf/httpd.conf") at http_config.c:1616 #7 0x080620a6 in main (argc=1, argv=0xbfffe7a4) at http_main.c:5528 #8 0x400c7d8c in __libc_start_main () from /lib/libc.so.6
the trace looks similar with mod_whatkilledus_13. Without either of them it looks fine.
groan :( the problem was in the proof-of-concept modules; they neglected to add a null entry at the end of the command table, as shown below:
static const command_rec command_table[] = {
{
"WKUFile", cmd_file, NULL, RSRC_CONF, TAKE1,
"the filename of the mod_whatkilledus_13 logfile"
}
, <-
{ <-
NULL <-
} <-
};sample modules updated, core patch unchanged, and of course THANKS :)
