Bug #60701 [Com]: __toString() which stores $this reference triggers segfault (with fix!)

From: Date: Thu, 26 Apr 2012 13:18:03 +0000
Subject: Bug #60701 [Com]: __toString() which stores $this reference triggers segfault (with fix!)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169962@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60701&edit=1

 ID:                 60701
 Comment by:         maarten@php.net
 Reported by:        daan at react dot com
 Summary:            __toString() which stores $this reference triggers
                     segfault (with fix!)
 Status:             Duplicate
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   CentOS
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

OK, race condition, I was changing it from assigned to closed. (and yes, should've used
duplicate instead)


Previous Comments:
------------------------------------------------------------------------
[2012-04-26 12:53:17] pajoye@php.net

Pls do not change the status. Duplicated means "see the other bug for any further 
info", Thanks.

------------------------------------------------------------------------
[2012-04-26 12:35:04] maarten@php.net

Fixed in 5.3.11 / 5.4.1 (see #61165 for revisions and tests)

------------------------------------------------------------------------
[2012-04-26 12:34:40] pajoye@php.net

Duplicate of #61165

------------------------------------------------------------------------
[2012-04-26 12:33:03] maarten@php.net

So this issue is apparently fixed thanks to https://bugs.php.net/bug.php?id=61165 (which is
actually a dupe of 60701 all along) ?

------------------------------------------------------------------------
[2012-04-26 12:18:10] arjen at react dot com

5.3.10/5.4.0 fixed original testcase; see http://3v4l.org/sc0mQ
5.3.11/5.4.1 fixed modified testcase; see http://3v4l.org/iYBMZ

Please close this issue and mark as fixed!

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


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

    https://bugs.php.net/bug.php?id=60701


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


Thread (19 messages)

« previous php.bugs (#169962) next »