You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/05/30 21:04:19 UTC

DO NOT REPLY [Bug 42548] New: - INCLUDE negotiating language aborts with APR_POOL_DEBUG

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42548

           Summary: INCLUDE negotiating language aborts with APR_POOL_DEBUG
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jz-2007@heute-morgen.de


If apache/apr is compiled with pool debugging

#define APR_POOL_DEBUG  0x0f
// Don't think this matters, just for completeness
#define ALLOC_STATS

including a language negotiated document with 

<html>
<!--#include virtual="lang.txt" -->
</html>

where lang.txt.en and lang.txt.de are the actual files aborts with a log message

apr_table_overlay: overlay's pool is not an ancestor of p

The backtrace of the coredump is

#0  0xb7c8f947 in raise () from /lib/tls/libc.so.6
#1  0xb7c910c9 in abort () from /lib/tls/libc.so.6
#2  0xb7df73cb in apr_table_overlay (p=0x80fa350, overlay=0x80f1720, base=0x80b1c60)
    at tables/apr_tables.c:819
#3  0x08081219 in ap_internal_fast_redirect (rr=0x80f0a30, r=0x80fa3a8) at
http_request.c:433
#4  0xb7770925 in handle_multi (r=0x80fa3a8) at mod_negotiation.c:3121
#5  0x0806f927 in ap_run_type_checker (r=0x80fa3a8) at request.c:74
#6  0x080716b8 in ap_process_request_internal (r=0x80fa3a8) at request.c:241
#7  0x08071ed4 in ap_sub_req_method_uri (method=0x8090da3 "GET",
new_uri=0x80dd210 "lang.txt", r=0x80c0810,
    next_filter=0x80d2360) at request.c:1630
#8  0x08071f27 in ap_sub_req_lookup_uri (new_uri=0x80dd210 "lang.txt",
r=0x80c0810, next_filter=0x80d2360)
    at request.c:1642
#9  0xb77ee3f8 in handle_include (ctx=0x8101e68, f=0x8101cc0, bb=0x8102088) at
mod_include.c:1668
#10 0xb77ea040 in includes_filter (f=0x8101cc0, b=0x8101e38) at mod_include.c:3383
#11 0x0806d7f6 in default_handler (r=0x80c0810) at core.c:3701
#12 0x08074037 in ap_run_handler (r=0x80c0810) at config.c:157
#13 0x08077121 in ap_invoke_handler (r=0x80c0810) at config.c:371
#14 0x08081b88 in ap_process_request (r=0x80c0810) at http_request.c:258
#15 0x0807ee2e in ap_process_http_connection (c=0x80c0238) at http_core.c:172
#16 0x0807adb7 in ap_run_process_connection (c=0x80c0238) at connection.c:43
#17 0x08085b64 in child_main (child_num_arg=<value optimized out>) at prefork.c:640
#18 0x08085e5a in make_child (s=<value optimized out>, slot=2) at prefork.c:736
#19 0x08085f1a in startup_children (number_to_start=3) at prefork.c:754
#20 0x08086984 in ap_mpm_run (_pconf=0x80a17c8, plog=0x80aa858, s=0x80ef678) at
prefork.c:975
#21 0x08061d1f in main (argc=134879152, argv=0x0) at main.c:717

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42548] - INCLUDE negotiating language aborts with APR_POOL_DEBUG

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42548





------- Additional Comments From rpluem@apache.org  2007-05-30 15:13 -------
Maybe I am confused, but we already have apr_pool_join(r->pool, rr->pool); a few
lines above which should do the trick. Is it possible that we have a sub-sub
request here and deal with a table of the main request, so that we have two
generations of pools involved here for which the join trick does not work?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42548] - INCLUDE negotiating language aborts with APR_POOL_DEBUG

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42548





------- Additional Comments From jz-2007@heute-morgen.de  2007-05-30 20:31 -------
(In reply to comment #2)
> Maybe I am confused, but we already have apr_pool_join(r->pool, rr->pool); a few
> lines above which should do the trick. Is it possible that we have a sub-sub
> request here and deal with a table of the main request, so that we have two
> generations of pools involved here for which the join trick does not work?

Probably yes. lang.txt is included (first sub) and the lookup_uri comes from
language negotiation.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42548] - INCLUDE negotiating language aborts with APR_POOL_DEBUG

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42548>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42548





------- Additional Comments From wrowe@apache.org  2007-05-30 12:37 -------
The scopes are safe (appropriate), but it seems that fast_internal_redirect
(which should die anyways) simply needs an apr_pool_join for the new pool.

Comments?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org