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 Sat, 18 Dec 2004 16:19:36 GMT
Joe Schaefer wrote:
> Stas Bekman <> writes:
> [...]
>>in fact the only reason modperl_hash_tie calls sv_magic is to assign some
>>flags, may be it can be eliminated completely. I haven't looked at the other
>>places where it is used. Why do you think the order matters, if it doesn't
>>really use that magic via mg_find.
> Certainly we don't ever need/want to mg_find() the magic from
> mpxs_APR__Table_make.  I don't know enough about the modperl_hash_tie 
> magic to say it's never needed either, so I definitely trust your 
> judgement about it.

I'll work on that.

BTW, with --enable-pool-debug CPPFLAGS="-DAPR_BUCKET_DEBUG", an existing 
test t/apr-ext/threadmutex.t segfault for the same reason under perl 5.6.x 
-- the pool goes out of scope before the mutex is destroyed.

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

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

View raw message