httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: cvs commit: httpd-2.0/modules/proxy proxy_balancer.c
Date Sun, 26 Sep 2004 16:08:54 GMT
Joe Orton wrote:
> 
> 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
> 

proxy_worker_stat should be initialized on child_init for any worker.
Since it's value is NULL in your case it's never been called.
The change is that it was moved from post_config to child_init when
the scoreboard is created.

What's the platform? I've tested on RH9 (both prefork and worker) as
well as WIN32 and there was no problem.
Perhaps the aszPred("mpm_winnt.c") makes the problems?

Regards,
MT.

Mime
View raw message