Line 3186 in mod_include is hit when it has run through the whole brigade and
found no tags. It is just forwarding the brigade. This will be the normal
case for files that get parsed unnecessarily. This seems to work for me.
No brigades are harmed in this process. I suspect that there is another
problem, not mod_include this time. :)  I'm still tracking a different core
dump in mod_include. Hopefully I'll have it fixed soon.

Paul J. Reder

Doug MacEachern wrote:

> not sure if this is related to the bucket list change or mod_includes 
> changes or what, but i just checked in a test adapted from modperl that 
> dumps core.  stacktrace below from t/TEST t/modules/include2.t
> 
> #0  0x0815a897 in ?? () at eval.c:41
> 41      eval.c: No such file or directory.
>         in eval.c
> #1  0x4001dbe3 in apr_brigade_cleanup (data=0x81c77a0)
>     at 
>/home/dougm/apache/farm/src/httpd-2.0-cvs/srclib/apr-util/buckets/apr_brigade.c:86
> #2  0x4001dc3c in apr_brigade_destroy (b=0x81c77a0)
>     at 
>/home/dougm/apache/farm/src/httpd-2.0-cvs/srclib/apr-util/buckets/apr_brigade.c:97
> #3  0x0807f731 in core_output_filter (f=0x81c7548, b=0x81c77a0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/core.c:3758
> #4  0x08075bc0 in ap_pass_brigade (next=0x81c7548, bb=0x81cc418)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/util_filter.c:534
> #5  0x08063bce in ap_http_header_filter (f=0x81cfb40, b=0x81cc418)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/modules/http/http_protocol.c:1472
> #6  0x08075bc0 in ap_pass_brigade (next=0x81cfb40, bb=0x81cc418)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/util_filter.c:534
> #7  0x08078a0a in ap_content_length_filter (f=0x81cfb28, b=0x81cc418)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/protocol.c:1263
> #8  0x08075bc0 in ap_pass_brigade (next=0x81cfb28, bb=0x81cc498)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/util_filter.c:534
> #9  0x4031692f in send_parsed_content (bb=0xbffff344, r=0x81cf1c0, f=0x81cbad8)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/modules/filters/mod_include.c:3186
> #11 0x08075bc0 in ap_pass_brigade (next=0x81cbad8, bb=0x81cbbf0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/util_filter.c:534
> #12 0x0807e723 in default_handler (r=0x81cf1c0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/core.c:3247
> #13 0x0806950f in ap_run_handler (r=0x81cf1c0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/config.c:193
> #14 0x08069b8d in ap_invoke_handler (r=0x81cf1c0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/config.c:373
> #15 0x080665dd in ap_process_request (r=0x81cf1c0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/modules/http/http_request.c:261
> #16 0x08061355 in ap_process_http_connection (c=0x81c7270)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/modules/http/http_core.c:291
> #17 0x0807379b in ap_run_process_connection (c=0x81c7270)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/connection.c:85
> #18 0x08073b42 in ap_process_connection (c=0x81c7270, csd=0x81c71a0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/connection.c:207
> #19 0x08067d6f in child_main (child_num_arg=0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/mpm/prefork/prefork.c:675
> #20 0x08067ef8 in make_child (s=0x80a5f10, slot=0)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/mpm/prefork/prefork.c:770
> #21 0x08067f6d in startup_children (number_to_start=1)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/mpm/prefork/prefork.c:793
> #22 0x080683a0 in ap_mpm_run (_pconf=0x80a41c0, plog=0x80ce268, s=0x80a5f10)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/mpm/prefork/prefork.c:1016
> #23 0x0806e644 in main (argc=6, argv=0xbffff654)
>     at /home/dougm/apache/farm/src/httpd-2.0-cvs/server/main.c:618
> #24 0x401d9507 in __libc_start_main (main=0x806de50 <main>, argc=6, 
>     ubp_av=0xbffff654, init=0x805eb14 <_init>, fini=0x808cd10 <_fini>, 
>     rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff64c)
>     at ../sysdeps/generic/libc-start.c:129
> 
> 
> 
> 


-- 
Paul J. Reder
-----------------------------------------------------------
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein


Reply via email to