php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30733 Apache segfaults on object handle assignment
Submitted: 2004-11-09 13:53 UTC Modified: 2004-11-21 01:00 UTC
From: php at lamouret dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.0.2 OS: Linux 2.4.20-8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at lamouret dot com
New email:
PHP Version: OS:

 

 [2004-11-09 13:53 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-09 14:57 UTC] tony2001@php.net
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.
 [2004-11-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 07:01:29 2025 UTC