Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Alan Pinstein <apinstein@mac.com>
Full name Alan Pinstein <apinstein@mac.com>
Date 2005-12-07 06:49:31 PST
Message Yes, I'd be happy to. Originally I joined the php-users list to ask
about the problem, but now that I've found "$this->this" I think I
need to go to php-dev. I am scared to use it too! :)

Although in the meantime I'm very happy the leak is gone. I didn't
like having to ini_set('memory_limit', '250M') just to load my data...

You're welcome for the help! It's nice to find a project where one
can actually add something... It's not like I'm helping apache out
any ;) Propel is a great project and a huge time-saver for me, so I
am glad to help, although I never like spending 15 hours on one issue :(

Alan

On Dec 7, 2005, at 9:41 AM, Hans Lellelid wrote:

> Hi Alan,
>
> Would you be willing to write to internals PHP list with these
> examples
> & see if this is something that we can rely on? If the $this-
> >this, for
> example, is something that is not a documented language "feature" (and
> will be taken away) then we probably don't want to rely on it, but
> otherwise I think we should apply these fixes.
>
> (I can also contact them, if you prefer, but I think you have a better
> grasp at this point of what exactly is going on here.)
>
> Thanks *so much* for your very thorough & dedicated attention &
> solution
> to this problem!
>
> Hans
>
> Alan Pinstein wrote:
>> Hmm... well I am on 5.0.4.
>>
>> There are actually still leaks in some cases (like out of try/catch)
>> but I saw the Changelog and am hoping that 5.0.5+ fixes this.
>>
>> But what I fixed wasn't a PHP bug; it was breaking a circular-
>> reference
>> deadlock that prevented refcount from ever reaching 0.
>>
>> Alan
>>
>> On Dec 7, 2005, at 2:27 AM, Sonke Ruempler wrote:
>>
>>> Hi,
>>>
>>> Alan Pinstein <mailto:apinstein​@mac.com> wrote on Wednesday,
>>> December
>>> 07,
>>> 2005 2:16 AM:
>>>
>>>> Well, I can't believe it, but after spending all day on this,
>>>> literally about 6 hours, I found a solution. Sample code is
>>>> attached.
>>>
>>>
>>> PHP Version?
>>>
>>> All versions < 5.0.5 and 4.4.0 have reference bugs.
>>>
>>>
>>> --------------------​--------------------​--------------------​--------
>>> -
>>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>>
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>