#30733 [NEW]: Apache segfaults on object handle assignment
| From: | php at lamouret dot com | Date: | Tue, 09 Nov 2004 12:53:13 +0000 |
| Subject: | #30733 [NEW]: Apache segfaults on object handle assignment | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-68841@lists.php.net to get a copy of this message | ||
From: php at lamouret dot com
Operating system: Linux 2.4.20-8
PHP version: 5.0.2
PHP Bug Type: Reproducible crash
Bug description: Apache segfaults on object handle assignment
Description:
------------
object handles won't overwrite themselves.
Reproduce code:
---------------
$tmp=new StdClass();
$tmp=$tmp;// segmentation fault
//$GLOBALS["tmp"]=$tmp; //crashes also
// if $tmp is e.g. a string, this does not crash
Expected result:
----------------
no segfault...
Actual result:
--------------
Apache segfault with
"child pid xxx exit signal Segmentation fault (11)" in error_log
--
Edit bug report at http://bugs.php.net/?id=30733&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30733&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30733&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30733&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30733&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30733&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30733&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30733&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30733&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30733&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30733&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30733&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30733&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30733&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30733&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30733&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30733&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30733&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30733&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30733&r=mysqlcfg