apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject Re: [PATCH] Re: Frankentables
Date Mon, 19 May 2003 00:36:58 GMT
I just applied the patch (both the APR and httpd parts) and ran
the httpd-test regression tests.  Something is broken:

Failed Test             Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
apache/acceptpathinfo.t               36    2   5.56%  13 26
apache/limits.t                       10    1  10.00%  5
modules/alias.t                       62    1   1.61%  1
modules/negotiation.t                 98    8   8.16%  1 17 40 49 63 86
94 98
modules/setenvif.t                   111   47  42.34%  1-3 7-9 14-15
19-21 25-
                                                       27 31-33 37-39
43-45 50-
                                                       51 55-57 61-63
68-69 73-
                                                       75 79 81 86-87 91
93 98-
                                                       102

There were a lot of segfaults, too.  It looks like the index
within the table is getting corrupted.  Here's an example:

(gdb) bt
#0  apr_table_setn (t=0x818a090, key=0x80b86ab "ETag",
    val=0x8182af0 "\"518034-1f-b5d91b00\"") at apr_tables.c:692
#1  0x0807b0ca in ap_set_etag (r=0x8188540) at http_protocol.c:2806
#2  0x0809cb2f in default_handler (r=0x8188540) at core.c:3340
#3  0x0808bace in ap_run_handler (r=0x8188540) at config.c:195
#4  0x0808bfe6 in ap_invoke_handler (r=0x8188540) at config.c:401
#5  0x0807bc2b in ap_process_request (r=0x8188540) at http_request.c:288
#6  0x08077e41 in ap_process_http_connection (c=0x817e5f0) at
http_core.c:292
#7  0x0809494e in ap_run_process_connection (c=0x817e5f0) at
connection.c:85
#8  0x0808a61a in child_main (child_num_arg=135831996) at prefork.c:652
#9  0x0808a7d0 in make_child (s=0x81122d0, slot=0) at prefork.c:747
#10 0x0808a86f in startup_children (number_to_start=1) at prefork.c:765
#11 0x0808af61 in ap_mpm_run (_pconf=0x0, plog=0x810cd20, s=0x81122d0)
    at prefork.c:982
#12 0x0808fcb3 in main (argc=7, argv=0xbfffd854) at main.c:671
#13 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) p next_elt
$6 = (apr_table_entry_t *) 0x6860b8f0
(gdb) p (apr_table_entry_t *) t->a.elts
$7 = (struct apr_table_entry_t *) 0x818a1b0
(gdb) p hash
$8 = 5
(gdb) p t->index_first[hash]
$9 = 134611440
(gdb)



Mime
View raw message