Bug #50027 [Com]: $this becomes a non-object

From: Date: Tue, 27 Apr 2010 11:08:07 +0000
Subject: Bug #50027 [Com]: $this becomes a non-object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-149950@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50027&edit=1

 ID:               50027
 Comment by:       phpbugs at colin dot guthr dot ie
 Reported by:      phpbugs at colin dot guthr dot ie
 Summary:          $this becomes a non-object
 Status:           No Feedback
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Mandriva Linux (Cooker x86_64)
 PHP Version:      5.3.1RC2

 New Comment:

I'm curious as to why this bug is set to "No Feedback"... Lukas has
provided more information about the topic to nail it down to a Garbage
Collection issue.

I will try and upgrade sometime soon on my development machine to see if
I can retrigger the problem, but in the meantime, has there been any
progress? Are there now some potentially duplicate bugs and even a fix?
Does the issue still cause you problems Lukas?

Thanks :)


Previous Comments:
------------------------------------------------------------------------
[2010-01-04 12:22:00] lukas at twobits dot cz

We now have about three weeks of successful operation with
zend.enable_gc = Off

I assume it is safe to say that this bug indeed is GC related.

------------------------------------------------------------------------
[2009-12-16 08:53:15] lukas at twobits dot cz

I switched the gc off, will provide feedback in about a week.

------------------------------------------------------------------------
[2009-12-16 08:11:52] rasmus@php.net

Does this happen with gc turned off?

Try adding:

zend.enable_gc = Off

to your php.ini file.

------------------------------------------------------------------------
[2009-12-16 08:09:06] lukas at twobits dot cz

We're affected with the same bug - 5.3.1, Fedora Core 8, 32bit, Apache
2.2.6.

This happens suddenly after few days of normal operation - then some of
the Apache requests end up with $this not defined inside an object
instance. Normal operation is resumed after Apache is restarted.

We never encountered this problem on 5.3.0 (used for over a month),
though I am not saying its not there as lots of our code changed
meanwhile as well.

------------------------------------------------------------------------
[2009-11-12 01:00:02] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=50027


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50027&edit=1


Thread (19 messages)

« previous php.bugs (#149950) next »