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

 ID:                 63066
 Updated by:         larue...@php.net
 Reported by:        Jared dot Williams1 at ntlworld dot com
 Summary:            Calling an undefined method in a generator results
                     in a seg fault
 Status:             Assigned
 Type:               Bug
 Package:            Class/Object related
 Operating System:   Linux ubuntu 3.5.0-14-generic #1
 PHP Version:        master-Git-2012-09-11 (Git)
-Assigned To:        nikic
+Assigned To:        romakhin
 Block user comment: N
 Private report:     N

 New Comment:

yeah, of course, my patch is just a hint :)

assign to dmitry, dmitry, could you please look at this? 

thanks


Previous Comments:
------------------------------------------------------------------------
[2012-09-11 16:50:56] ni...@php.net

There are several fatal errors that may trigger this. I added another patch 
that 
fixes (hopefully?) all of them.

Instead of loading the object directly into EX(object) I first put it into a 
temporary variable and only assign it to EX(object) after everything's good.

Does this seem reasonable?

------------------------------------------------------------------------
[2012-09-11 16:48:58] ni...@php.net

The following patch has been added/updated:

Patch Name: patch2.diff
Revision:   1347382138
URL:        
https://bugs.php.net/patch-display.php?bug=63066&patch=patch2.diff&revision=1347382138

------------------------------------------------------------------------
[2012-09-11 16:04:58] Jared dot Williams1 at ntlworld dot com

Yeah, the QF does work.

------------------------------------------------------------------------
[2012-09-11 15:29:18] larue...@php.net

a quick fix made, and attached, hope that will help.

------------------------------------------------------------------------
[2012-09-11 15:27:58] larue...@php.net

The following patch has been added/updated:

Patch Name: bug63066.patch
Revision:   1347377278
URL:        
https://bugs.php.net/patch-display.php?bug=63066&patch=bug63066.patch&revision=1347377278

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


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=63066


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

Reply via email to