httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: Memory usage, core output filter, and apr_brigade_destroy
Date Mon, 14 Sep 2009 17:32:19 GMT
On Sun, 13 Sep 2009, Ruediger Pluem wrote:
>>> But your patch is causing core dumps during the proxy tests when
>>> running the test suite :-(.
>>> I currently don't understand why.
>>>
>>
>> Hmmm... either ctx->tmp_flush_bb is NULL or, since it was added in the
>> middle of the struct, you didn't do a make distclean 1st....
>
> That is not the problem. I did a slightly modified patch that added it to the
> end. I suppose it has something to do with not matching pools or bucket
> allocators between bb and ctx->tmp_flush_bb.
> It fails on in the proxy case and in the proxy case we have some mixtures going
> on there regarding pools and bucket allocators caused by the pooled backend
> connections.

Yes, the lifetime of the brigade was wrong. The attached patch works 
without segfaults.

Cheers,
Stefan
Mime
View raw message