perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2] pools that go out of scope aren't a problem anymore?
Date Thu, 25 Nov 2004 20:31:22 GMT
Joe Schaefer wrote:
> Stas Bekman <> writes:
>>So does that meant that the latest reincarnation of APR::Pool
>>implementation has this problem fixed?
> If you're talking about my APR::Pool patch, then no,
> it didn't resolve this.  The underlying apr_pool_t 
> will be destroyed by APR::Pool::DESTROY in your examples,
> so using any pool-derived objects after that event is totally 
> unsafe.  If it doesn't segfault, either you're quite lucky
> or there's a bug in my patch.

which patch are you talking about Joe, the one that was committed or else?

Do you have any tests that clearly demonstrate the problem? I was 
surprised that my previous tests all worked just fine. I want to start 
with a failing test before trying to fix it.

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

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

View raw message