...in /usr/local/apache2_0_31/corefiles/httpd.core.1

#0  0x2815c990 in kill () from /usr/lib/libc.so.4
#1  0x28198a7e in abort () from /usr/lib/libc.so.4
#2  0x806836e in ap_log_assert (szExp=0x8082359 "totalread > 0",
    szFile=0x8082284 "http_protocol.c", nLine=664) at log.c:586
#3  0x805ed10 in ap_http_filter (f=0x8140388, b=0x813f798,
    mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=29)
    at http_protocol.c:664
#4  0x806f534 in ap_get_brigade (next=0x8140388, bb=0x813f798,
    mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=8192)
    at util_filter.c:418
#5  0x8076541 in net_time_filter (f=0x813f7b8, b=0x813f798,
    mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=8192) at core.c:3023
#6  0x806f534 in ap_get_brigade (next=0x813f7b8, bb=0x813f798,
    mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=8192)
    at util_filter.c:418
#7  0x8060015 in ap_get_client_block (r=0x813f048,
    buffer=0xbfbfd78c "whatu\001\006\b\xb4\xdf\b\bHp\023\b9", bufsiz=8192)
    at http_protocol.c:1490
#8  0x281bd848 in cgi_handler (r=0x813f048) at mod_cgi.c:642
#9  0x8064d57 in ap_run_handler (r=0x813f048) at config.c:185
#10 0x80652f3 in ap_invoke_handler (r=0x813f048) at config.c:359
#11 0x806232c in ap_process_request (r=0x813f048) at http_request.c:290
#12 0x805dd53 in ap_process_http_connection (c=0x8124120) at http_core.c:287
#13 0x806d643 in ap_run_process_connection (c=0x8124120) at connection.c:84
#14 0x806d958 in ap_process_connection (c=0x8124120, csd=0x8124048)
    at connection.c:231
#15 0x8063854 in child_main (child_num_arg=216) at prefork.c:722
#16 0x80639ae in make_child (s=0x809a8d8, slot=216) at prefork.c:812
#17 0x8063bdd in perform_idle_server_maintenance (p=0x8099010) at prefork.c:953
#18 0x8063f56 in ap_mpm_run (_pconf=0x8099010, plog=0x80bf010, s=0x809a8d8)
    at prefork.c:1126
#19 0x8069676 in main (argc=1, argv=0xbfbffb30) at main.c:498
#20 0x805d95d in _start ()

(gdb) p r->the_request
$1 = 0x813f7f8 "POST / HTTP/1.1"
(gdb) p r->hostname
$2 = 0x8140370 "search.apache.org"
(gdb) fr 3
#3  0x805ed10 in ap_http_filter (f=0x8140388, b=0x813f798,
    mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=29)
    at http_protocol.c:664
664         AP_DEBUG_ASSERT(totalread > 0);
(gdb) list
659         /* How many bytes did we just read? */
660         apr_brigade_length(b, 0, &totalread);
661
662         /* If this happens, we have a bucket of unknown length.  Die because
663          * it means our assumptions have changed. */
664         AP_DEBUG_ASSERT(totalread > 0);
665
666         if (ctx->state != BODY_NONE) {
667             ctx->remaining -= totalread;
668         }

Greg

Reply via email to