httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject Re: mod_include problems (was Re: Showstopper!)
Date Tue, 07 Aug 2001 00:28:17 GMT
On Mon, 6 Aug 2001, Ryan Bloom wrote:

> One of our QA guys at Covalent has just let me know that SSI's are
> broken in 2.0.  Basically, if, else, elif, and that family of SSI's
> don't seem to do what they are supposed to do.

It's not just that... include1.shtml causes a segfault, which I'm still

FYI, the file contains this:

jcw5q@paisley:/tmp/cliff/htdocs/testssi$ cat include1.shtml
<!--#include file="inc-two.shtml"-->
include.shtml body
jcw5q@paisley:/tmp/cliff/htdocs/testssi$ cat inc-two.shtml
inc-two.shtml body

Here's the gdb output:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 9187)]
ap_get_module_config (cv=0x8170624, m=0x8170bf4) at util_debug.c:101
101         return ((void **)cv)[m->module_index];
(gdb) bt
#0  ap_get_module_config (cv=0x8170624, m=0x8170bf4) at util_debug.c:101
#1  0x080a5bb2 in ap_sub_req_lookup_file (new_file=0xbfffaf20
    r=0x816e614, next_filter=0x816f5fc) at request.c:1517
#2  0x08061ef4 in handle_include (ctx=0x81a076c, bb=0xbfffd3d4,
    f=0x816f5e4, head_ptr=0x81a57b8, inserted_head=0xbfffcf74)
    at mod_include.c:784
#3  0x080648d5 in send_parsed_content (bb=0xbfffd3d4, r=0x816e614,
    at mod_include.c:2494
#4  0x08064e87 in includes_filter (f=0x816f5e4, b=0x816f714)
    at mod_include.c:2754
#5  0x0809d2ea in ap_pass_brigade (next=0x816f5e4, bb=0x816f714)
    at util_filter.c:242
#6  0x080a35ea in default_handler (r=0x816e614) at core.c:3002
#7  0x080934d6 in ap_run_handler (r=0x816e614) at config.c:185
#8  0x0809395b in ap_invoke_handler (r=0x816e614) at config.c:344
#9  0x0806c71d in process_request_internal (r=0x816e614) at
#10 0x0806ca9c in ap_process_request (r=0x816e614) at http_request.c:444
#11 0x08068861 in ap_process_http_connection (c=0x816a6c4) at
#12 0x0809bdd6 in ap_run_process_connection (c=0x816a6c4) at
#13 0x08091e5e in child_main (child_num_arg=0) at prefork.c:814
#14 0x08091fc0 in make_child (s=0x8107354, slot=0) at prefork.c:850
#15 0x080920d1 in startup_children (number_to_start=5) at prefork.c:924
#16 0x08092853 in ap_mpm_run (_pconf=0x8105fdc, plog=0x813c18c,
    at prefork.c:1139
#17 0x08097520 in main (argc=2, argv=0xbffff6b4) at main.c:427
#18 0x400c4177 in __libc_start_main (main=0x8097250 <main>, argc=2,
    ubp_av=0xbffff6b4, init=0x805eaa4 <_init>, fini=0x80d8f20 <_fini>,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff6ac)
    at ../sysdeps/generic/libc-start.c:129


   Cliff Woolley
   Charlottesville, VA

View raw message