#30733 [Opn->Fbk]: Apache segfaults on object handle assignment
| From: | tony2001@php.net | Date: | Tue, 09 Nov 2004 13:57:25 +0000 |
| Subject: | #30733 [Opn->Fbk]: Apache segfaults on object handle assignment | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68846@lists.php.net to get a copy of this message | ||
ID: 30733
Updated by: tony2001@php.net
Reported By: php at lamouret dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux 2.4.20-8
PHP Version: 5.0.2
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
I can't reproduce it. Please, provide gdb backtrace.
Previous Comments:
------------------------------------------------------------------------
[2004-11-09 13:53:13] php at lamouret dot com
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 this bug report at http://bugs.php.net/?id=30733&edit=1