ID:               29980
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guth at fiifo dot u-psud dot fr
 Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: linux (Mandrake 10)
 PHP Version:      5.0.1
 New Comment:

Running your reproducable code on the latest CVS version (PHP
5.1.0-dev-200409050430)

$ php demo.php
PHP Fatal error:  Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 10
Fatal error: Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 10
PHP Fatal error:  Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 14
Fatal error: Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 14

Running on PHP 5.0.2-dev
$ php demo.php
Fatal error: Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 10
Fatal error: Call to undefined method
Cowllectif::jean_ai_marre_de_php() in /home/aidan/demo.php on line 14


Looks fine to me. Perhaps it was fixed in CVS, perhaps it is Bogus.

Could you try the latest CVS version and tell me if this bug still
exists?


Previous Comments:
------------------------------------------------------------------------

[2004-09-04 19:33:56] guth at fiifo dot u-psud dot fr

Description:
------------
I am happy to show you my fourth segmentation fault in PHP 5.0.1.
Segmentation faults don't help me to debug my code...

Reproduce code:
---------------
<?
class Cowllectif { }

class CowllectifTest {

        private $boom;

        public function __construct() {
                $this->boom = new Cowllectif;
                $this->boom->jean_ai_marre_de_php();
        }

        public function __destruct() {
                $this->boom->jean_ai_marre_de_php();
        }

}


$test = new CowllectifTest();
unset($test);
?>

Expected result:
----------------
Fatal error - Call to undefined method
Cowllectif::jean_ai_marre_de_php()

Actual result:
--------------
Two fatal errors (sic), then a segmentation fault...

Apache error log :

/www/haricow/0.4/test.php(10) : Fatal error - Call to undefined method
Cowllectif::jean_ai_marre_de_php()
/www/haricow/0.4/test.php(14) : Fatal error - Call to undefined method
Cowllectif::jean_ai_marre_de_php()
[Sat Sep  4 19:28:02 2004] [notice] child pid 9981 exit signal
Segmentation fault (11)


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


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

Reply via email to