httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: cvs commit: httpd-2.0/modules/proxy proxy_balancer.c
Date Sun, 26 Sep 2004 15:47:37 GMT
On Sun, Sep 26, 2004 at 06:58:36AM -0000, mturk@apache.org wrote:
> mturk       2004/09/25 23:58:36
> 
>   Modified:    modules/proxy proxy_balancer.c
>   Log:
>   Use the Christian von Roques's idea that makes the election mechanism
>   much simpler. This also removes the need to count the number of free
>   connections per channel.

The SSL proxy tests in the test suite have broken again from one of
these changes.  I get core dumps like below.  Any ideas?

#0  0x0807fc07 in ap_proxy_acquire_connection (
    proxy_function=0x8477540 "\buG\b(pE\b\220\211;\b", conn=0x84575f6,
    worker=0x844c520, s=0x83b8990)
    at /home/joe/src/httpd/2.1c/modules/proxy/proxy_util.c:1494
1494        if (!PROXY_WORKER_IS_USABLE(worker)) {
(gdb) print worker
$1 = (proxy_worker *) 0x844c520
(gdb) print worker->s
$2 = (proxy_worker_stat *) 0x0

fuller backtrace:

#0  0x0807fc07 in ap_proxy_acquire_connection (
    proxy_function=0x8477540 "\buG\b(pE\b\220\211;\b", conn=0x84575f6,
    worker=0x844c520, s=0x83b8990)
    at /home/joe/src/httpd/2.1c/modules/proxy/proxy_util.c:1494
        rv = 0
#1  0x08085f19 in proxy_http_handler (r=0x8477540, worker=0x844c520,
    conf=0x844c388, url=0x84785ae "https://localhost.localdomain:8532/",
    proxyname=0x0, proxyport=0)
    at /home/joe/src/httpd/2.1c/modules/proxy/proxy_http.c:1211
        status = 138769910
        scheme = 0x84575f0 "https"
        proxy_function = 0x80e86df "HTTPS"
        u = 0x0
        backend = (proxy_conn_rec *) 0x0
        is_ssl = 1
        p = (apr_pool_t *) 0x8456e58
        uri = (apr_uri_t *) 0x84575c0
#2  0x0807d925 in proxy_run_scheme_handler (r=0x8477540, 
worker=0x844c520,
    conf=0x844c388, url=0x84785ae "https://localhost.localdomain:8532/",
    proxyhost=0x0, proxyport=38672)
    at /home/joe/src/httpd/2.1c/modules/proxy/mod_proxy.c:1864
        pHook = (proxy_LINK_scheme_handler_t *) 0x0
        n = 0
        rv = 0
#3  0x0807bc12 in proxy_handler (r=0x8477540)
    at /home/joe/src/httpd/2.1c/modules/proxy/mod_proxy.c:724
        url = 0x84785ae "https://localhost.localdomain:8532/"
        scheme = 0x8478830 "https"
        p = 0x0
        p2 = 0x84785ae "https://localhost.localdomain:8532/"
        conf = (proxy_server_conf *) 0x844c388
        proxies = (apr_array_header_t *) 0x844c420
        ents = (struct proxy_remote *) 0x8282978
        i = 0
        rc = 0
        access_status = 138905006
---Type <return> to continue, or q <return> to quit---
        direct_connect = 0
        str = 0x0
        maxfwd = 0
        balancer = (proxy_balancer *) 0x0
        worker = (proxy_worker *) 0x844c520
        attempts = 0
        max_attempts = 0


Mime
View raw message