perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] pools that go out of scope aren't a problem anymore?
Date Mon, 06 Dec 2004 15:45:09 GMT
Philippe M. Chiasson wrote:

>>> This is a problem with persistence, not "ownership", and affects the
>>> entirety of mp2's object system.  In other words, there's no reason 
>>> to single out pools in your example, the bug could just as easily been
>>>
>>> my $r;
>>>
>>>    sub handler {
>>>        $r ||= shift;
>>>        my $pool = $r->pool; #bam!
>>>    }
[...]
> I agree. I think it's important to make sure that whatever perl code our 
> users
> end up writing, that they are not able to segfault the server. 
> Preventing/detecting
> this particular kind of problem will be tricky though.

The penalty of doing that will be too big for the normal uses. So 
hopefully we won't have to deal with that too much. And in the worst case, 
we will try to resolve the issue if we will have it.


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message