Bug #16080 Updated: Segmentation fault
| From: | yohgaki@php.net | Date: | Fri, 15 Mar 2002 02:12:18 +0000 |
| Subject: | Bug #16080 Updated: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2543@lists.php.net to get a copy of this message | ||
ID: 16080
Updated by: yohgaki@php.net
Reported By: th@hahn-software.de
Status: Analyzed
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.3.0-dev
New Comment:
The same problem is reported, but I'll keep this one for now :)
Currently, deleting or assining buffer variable ($page in this case)
causes segfault.
Workaround is
<?php
function th($page)
{
$new_page="more as 5 Characters. Stack Problem?";
return $new_page;
}
ob_start("th");
echo "12345";
ob_end_flush();
?>
Previous Comments:
------------------------------------------------------------------------
[2002-03-14 14:42:36] sniper@php.net
------------------------------------------------------------------------
[2002-03-14 14:41:59] sniper@php.net
Reproduced with latest CVS.
------------------------------------------------------------------------
[2002-03-14 14:38:04] th@hahn-software.de
following php code give me a segmention fault:
<?php
function th($page)
{
$page="more as 5 Characters. Stack Problem?";
return $page;
}
ob_start("th");
echo "12345";
ob_end_flush();
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16080&edit=1