#29499 [Opn->Fbk]: php crashes when printing large strings
| From: | fmk@php.net | Date: | Tue, 03 Aug 2004 02:57:55 +0000 |
| Subject: | #29499 [Opn->Fbk]: php crashes when printing large strings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63974@lists.php.net to get a copy of this message | ||
ID: 29499
Updated by: fmk@php.net
Reported By: evign at club-internet dot fr
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: windows 2000
PHP Version: 4.3.8
New Comment:
I've tested the sample code with the current CVS vrsion PHP4 and PHP5,
both CLI and CGI, and I don't get any crashes.
What SAPI are you using?
Previous Comments:
------------------------------------------------------------------------
[2004-08-03 00:42:31] evign at club-internet dot fr
Description:
------------
PHP version 4.38 (and earlier versions)
System Windows 2000 5.0 build 2195
Build Date Jul 13 2004 17:31:56
Server API Apache 2.0 Handler
When I try to print a string larger than 200k,
I receive a blank page : "Impossible d'afficher la page"
Unable to print the page, the service may be temporary unavaillable.
Unfortunately, i can't get any error message in my error_log file, even
if ERROR_ALL is set in the php.ini.
BUG #25570 explains likely the same problem, but no snapshot could
resolve this crash.
Thanks,
ev
Reproduce code:
---------------
<?
$buf="";
for($i=0;$i<1000000;$i++){
$buf.=".";
}
echo $buf ;
?>
Expected result:
----------------
.............. (*1000000)
Actual result:
--------------
Impossible d'afficher la page
La page que vous recherchez est actuellement indisponible. Le site Web
rencontre peut-être des difficultés techniques ou il vous faut
peut-être modifier les paramètres de votre navigateur.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29499&edit=1