perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2] protocol/echo_bbs2 on Win32
Date Thu, 01 Jul 2004 23:57:53 GMT
Philippe M. Chiasson wrote:

>>>> Joe Orton wrote:

>>>>> Right; the thing is that currently, there really is no way to actually
>>>>> "free the brigade"; apr_brigade_destroy() just does an
>>>>> apr_brigade_cleanup() and unregisters the pool cleanup.  The brigade
>>>>> structure remains valid until the pool it's allocated from gets
>>>>> destroyed.
>>>>> To help track down the bug:
>>>>> 1) build httpd/apr* with -DAPR_BUCKET_DEBUG to enable the brigade
>>>>> consistency checks; this may show very quickly the problem
>>>> Philippe, can you please do that? I don't get this problem so it's 
>>>> probably the best that you do that.
>>> Just updated to httpd 2.0.50-dev latest and recompiled with all the 
>>> I could fine, still same exact core dump ;(
>> I've never used that flag. I suppose it doesn't prevent segfaults but 
>> probably generates a copious diagnostics output.
> Nah, in the case of APR_BUCKET_DEBUG, it only makes one little extra 
> check when
> deleting buckets in apr_bucket_free :


Though I think even if we find who did it, it doesn't help us much, since any 
filter can do that in the future, causing the same effect. I suppose we ought 
to rewrite it to use a less efficient implementation which will create and 
destroy $bb every time it enters the loop. :(

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message