You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1999/01/18 13:01:03 UTC
Re: Core dump with Language Negotiation?!?
>My question is now: where in handle_dir() is the call to overlay_tables()?
>(Or any *_table_* call for that matter?)
On line mod_dir.c:183,
r->notes = ap_overlay_tables(r->pool, r->notes, rr->notes);
I take it that you compiled with POOL_DEBUG defined. The call aborts
because the subrequest pool can't be merged with the request pool,
for good reason. The fix is to implement an ap_copyover_tables().
....Roy
Re: [PATCH] Core dump with Language Negotiation?!?
Posted by Martin Kraemer <ma...@mch.sni.de>.
On Mon, Jan 18, 1999 at 05:36:49AM -0800, Roy T. Fielding wrote:
> Martin, give this patch a try and see if it solves the problem.
> I am pretty sure it will fix the core dump. Note that this is really
> an error in mod_dir.c -- negotiation just triggers it.
A million thanks, Roy! Yes, that patch fixed it.
I'll give Dean's patch a try in a second.
Martin
--
<Ma...@Mch.SNI.De> | Siemens Information and
Phone: +49-89-636-46021 | Communication Products
FAX: +49-89-636-47816 | 81730 Munich, Germany
Re: Core dump with Language Negotiation?!?
Posted by Dean Gaudet <dg...@arctic.org>.
On Mon, 18 Jan 1999, Roy T. Fielding wrote:
> >My question is now: where in handle_dir() is the call to overlay_tables()?
> >(Or any *_table_* call for that matter?)
>
> On line mod_dir.c:183,
>
> r->notes = ap_overlay_tables(r->pool, r->notes, rr->notes);
>
> I take it that you compiled with POOL_DEBUG defined. The call aborts
> because the subrequest pool can't be merged with the request pool,
> for good reason. The fix is to implement an ap_copyover_tables().
Wow, that bug has been around forever! I'm surprised POOL_DEBUG didn't
find it before though. Nice.
Dean