#16080 [Ana->Bgs]: Segmentation fault
| From: | iliaa@php.net | Date: | Mon, 19 Aug 2002 15:37:49 +0000 |
| Subject: | #16080 [Ana->Bgs]: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17207@lists.php.net to get a copy of this message | ||
ID: 16080
Updated by: iliaa@php.net
Reported By: th@hahn-software.de
-Status: Analyzed
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.3.0-dev
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-08-02 05:38:42] sniper@php.net
I can't reproduce this neither with latest CVS HEAD (4.3.0-dev)
------------------------------------------------------------------------
[2002-08-02 05:04:33] jan@php.net
could not reproduce this on FreeBSD 4.4 Release.
------------------------------------------------------------------------
[2002-08-02 00:53:35] patrik@corifeus.com
I was experiencing the same problem, I saw it was a memory error, so I
worked around the bug:
<?php
function th($page)
{
$new_page="more as 5 Characters. Stack Problem?";
$page = &$new_page;
return $page;
}
ob_start("th");
echo "12345";
ob_end_flush();
?>
------------------------------------------------------------------------
[2002-03-14 21:12:18] yohgaki@php.net
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();
?>
------------------------------------------------------------------------
[2002-03-14 14:42:36] sniper@php.net
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16080
--
Edit this bug report at http://bugs.php.net/?id=16080&edit=1