Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 80776 invoked by uid 500); 10 Jan 2002 18:19:13 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 80757 invoked from network); 10 Jan 2002 18:19:12 -0000 Date: Thu, 10 Jan 2002 10:14:55 -0800 From: Aaron Bannert To: dev@httpd.apache.org Cc: dev@apr.apache.org Subject: Re: pool problems with HEAD?? Message-ID: <20020110101455.O1529@clove.org> Mail-Followup-To: Aaron Bannert , dev@httpd.apache.org, dev@apr.apache.org References: <20020110091747.N1529@clove.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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