#35614 [NEW]: extends crashes apache with Segmentation fault
From: spam at gemal dot dk
Operating system: Linux
PHP version: 5.1.1
PHP Bug Type: Apache related
Bug description: extends crashes apache with Segmentation fault
Description:
------------
the following code produces Segmentation fault on php
<?php
class gpic {
function __construct() {
$conf = new gpicConfig();
print "test";
}
}
class gpicConfig extends gpic {
}
?>
PHP 5.0.5 (cli) (built: Oct 31 2005 10:51:24)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.9, Copyright (c) 2003-2005, by Zend
Technologies
with Zend Optimizer v2.6.0, Copyright (c) 1998-2005, by Zend
Technologies
with Zend Debugger v5.0.0, Copyright (c) 1999-2005, by Zend
Technologies
Reproduce code:
---------------
<?php
class gpic {
function __construct() {
$conf = new gpicConfig();
print "test";
}
}
class gpicConfig extends gpic {
}
?>
--
Edit bug report at http://bugs.php.net/?id=35614&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35614&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35614&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35614&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35614&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35614&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35614&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35614&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35614&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35614&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35614&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35614&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35614&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35614&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35614&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35614&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35614&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35614&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35614&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35614&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35614&r=mysqlcfg
Thread (2 messages)
- spam at gemal dot dk