apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: svn commit: r677505 - /apr/apr-util/trunk/misc/apr_reslist.c
Date Sat, 19 Jul 2008 06:16:06 GMT
On Sat, 2008-07-19 at 06:12 +0200, Mladen Turk wrote:

> But not with pre_cleanup.

Could you try running this? I get an infinite loop (CPU pegged at 100%)
even with pre_cleanup.

If I change the code to this:

apr_reslist_create(&list,0,10,10,0,con,de,NULL,pool);

I get double free.

Either that pre_cleanup thing doesn't work as expected, or I'm going
nuts. I tried to simplify the example to avoid bugs, but maybe I've been
looking at it for too long...

-- 
Bojan

Mime
View raw message