#19442 [Com]: In a loop of gzopen gzclose the server stops

From: Date: Tue, 21 Jan 2003 10:05:02 +0000
Subject: #19442 [Com]: In a loop of gzopen gzclose the server stops
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30810@lists.php.net to get a copy of this message
ID: 19442 Comment by: bosman@wlkp.org Reported By: rodrigo-rocha@oi.net.br Status: No Feedback Bug Type: Zlib Related Operating System: windows/? PHP Version: 4.2.3 New Comment: I've the same problem with fresh instalation of php 4.3.0 under Windows 2000 Server SP3, both under Apache 2.0.44 as module and with plain php.exe (CLI version). This code works similar: for ($i = 1; $i < 200; $i++) { $gz = fopen("compress.zlib://C:/Temp/$i.gz", "wb"); fwrite($gz, "Test"); fclose($gz); } Previous Comments: ------------------------------------------------------------------------ [2002-10-27 19:06:38] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-10-08 21:48:56] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-17 00:15:30] mfischer@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-09-16 15:42:02] rodrigo-rocha@oi.net.br This script will make the setver to crash down <?php $filepointer = gzopen("somefile.txt","rb"); gzclose($filepointer); echo "<script> window.location='$_SERVER[REQUEST_URI]'; </script>"; ?> At my apache web server this crash after 508 loops. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19442&edit=1

« previous php.bugs (#30810) next »