From: evign at club-internet dot fr Operating system: windows 2000 PHP version: 4.3.8 PHP Bug Type: Output Control Bug description: php crashes when printing large strings
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 bug report at http://bugs.php.net/?id=29499&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29499&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29499&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29499&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29499&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29499&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29499&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29499&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29499&r=support Expected behavior: http://bugs.php.net/fix.php?id=29499&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29499&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29499&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29499&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29499&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29499&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29499&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29499&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29499&r=float