#31278 [Fbk->Csd]: Segmentation Fault when string is echoed
| From: | alan_k@php.net | Date: | Fri, 24 Dec 2004 01:44:05 +0000 |
| Subject: | #31278 [Fbk->Csd]: Segmentation Fault when string is echoed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71017@lists.php.net to get a copy of this message | ||
ID: 31278
Updated by: alan_k@php.net
Reported By: developer at ckiweb dot com
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Gentoo
PHP Version: 4.3.10
New Comment:
it's a known bug of 4.3.10 which has been fixed now
Previous Comments:
------------------------------------------------------------------------
[2004-12-24 02:41:54] alan_k@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-12-24 02:41:20] developer at ckiweb dot com
The is something else that has to be in the code. After the echo line,
place print_r($t).
------------------------------------------------------------------------
[2004-12-24 02:39:33] developer at ckiweb dot com
Description:
------------
I was trying to debug a problem in the DB_DataObject class in PEAR,
when I got a segmentation fault. It occurs everytime when I try to
echo a string greater than 10 characters.
Reproduce code:
---------------
In the Generator.php file (in the DB_DataObject-1.7.2 class in PEAR) on
line 126 (right after $t->_createTableList();), place a line similar to
this:
echo 'aoeuidhtns'."\n";
The amount of characters has to be 10 or greater.
Expected result:
----------------
I would expect the line to appear and the program to keep parsing.
Actual result:
--------------
The line is echod and then I get a Segmentation Fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31278&edit=1