#21262 [NEW]: crash or fail when outputting large amounts of text quickly

From: Date: Sun, 29 Dec 2002 06:05:14 +0000
Subject: #21262 [NEW]: crash or fail when outputting large amounts of text quickly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28647@lists.php.net to get a copy of this message
From:             spagmoid@yahoo.com
Operating system: WinXP
PHP version:      4.3.0
PHP Bug Type:     Reproducible crash
Bug description:  crash or fail when outputting large amounts of text quickly

On the SAPI version of php in Apache under WinXP:

for($Loop=0 ; $Loop<100000 ; $Loop++)
{
	echo "blah $Loop ";
}

(usually) causes IE to abort loading and reload the page many times;
eventually it just shows the standard "The page cannot be displayed",
"Cannot find server or DNS Error".

Netscape simply aborts in the middle, usually around 50,000.  But,
sometimes it works fine.

If you add a flush() in the loop, the problem goes away.
Nothing shows up in the PHP or server error logs, so I assume its a crash.
-- 
Edit bug report at http://bugs.php.net/?id=21262&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21262&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21262&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21262&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21262&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21262&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21262&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21262&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21262&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21262&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21262&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21262&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21262&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21262&r=isapi



Thread (25 messages)

« previous php.bugs (#28647) next »