apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: segfault in apr_bucket_delete
Date Sun, 23 May 2004 02:19:30 GMT
On Sat, 22 May 2004, Stas Bekman wrote:

> > that brigade will be corrupted by this operation).
>
> Do you suggest that the sample program that I posted doesn't hang in that
> macro, but after it?

That should be correct, yes.  You'll end up creating a loop in the
brigade, and walking through the brigade will thus hang.  The first time
you walk through the brigade in that code is when you clean it up.

> I guess that works for me. If in the future someone reports a problem, I can
> suggest to them what you've prescribed above. It's just that there could be
> other reasons for the hanging, which is usually hard to figure out w/o being
> in the user's shoes.
>
> Thanks Cliff and Joe.

You're welcome.  :)

--Cliff

Mime
View raw message