From:             guth at fiifo dot u-psud dot fr
Operating system: linux (Mandrake 10)
PHP version:      5.0.1
PHP Bug Type:     Zend Engine 2 problem
Bug description:  Segfault

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 bug report at http://bugs.php.net/?id=29980&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29980&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29980&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29980&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29980&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29980&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29980&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29980&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29980&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29980&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29980&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29980&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29980&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29980&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29980&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29980&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29980&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29980&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29980&r=float

Reply via email to