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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 02:03:41 2022 UTC