httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: pool problems with HEAD??
Date Thu, 10 Jan 2002 18:14:55 GMT
On Thu, Jan 10, 2002 at 12:53:26PM -0500, Jeff Trawick wrote:
...
> > (2) revert plog/pconf patch and see what happens
> 
> I applied this patch:
> 
> Index: server/core.c
> ===================================================================
> RCS file: /cvs/apache/httpd-2.0/server/core.c,v
> retrieving revision 1.128
> diff -u -r1.128 core.c
> --- core.c      2002/01/08 17:07:19     1.128
> +++ core.c      2002/01/10 17:54:08
> @@ -3361,7 +3361,8 @@
> 
>  static int core_open_logs(apr_pool_t *pconf, apr_pool_t *plog,
> apr_pool_t *ptemp, server_rec *s)
>  {
> -    ap_open_logs(s, plog);
> +/* XXX */
> +    ap_open_logs(s, pconf);
>      return OK;
>  }
> 
> 
> Here is a backtrace from the coredump I got:
> 
> #0  0xff34c3d0 in apr_palloc (pool=0x7b98e0, size=24) at apr_pools.c:430
> 430         endp = active->first_avail + size;
> (gdb) where
> #0  0xff34c3d0 in apr_palloc (pool=0x7b98e0, size=24) at  apr_pools.c:430
> #1  0xff330ff8 in apr_table_make (p=0x7b98e0, nelts=5) at apr_tables.c:343
> #2  0xcdb18 in core_create_conn (ptrans=0x7b98e0, server=0x1b2ea0, csd=0x7b7910, conn_id=433,
sbh=0x7b9880) at core.c:3474
> #3  0xba9d0 in ap_run_create_connection (p=0x7b98e0, server=0x1b2ea0, csd=0x7b7910, conn_id=433,
sbh=0x7b9880) at connection.c:86
> #4  0xa089c in process_socket (p=0x7b98e0, sock=0x7b7910, my_child_num=0, my_thread_num=433)
at worker.c:560
> #5  0xa11f4 in worker_thread (thd=0x469330, dummy=0x4e2d68) at worker.c:777
> #6  0xff340990 in dummy_worker (opaque=0x469330) at thread.c:122
> (gdb) p *active
> Cannot access memory at address 0x0
> (gdb)

I think this patch is incomplete. I'll post the full reverse patch
to the pconf changes in a reply to this...

-aaron

Mime
View raw message