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

From: Date: Sun, 27 Apr 2003 19:48:48 +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-38521@lists.php.net to get a copy of this message
ID: 19442 Comment by: Suicidal_Insanity at stormcoast-fortress dot ne Reported By: rodrigo-rocha at oi dot net dot br Status: No Feedback Bug Type: Zlib Related Operating System: windows/? PHP Version: 4.2.3 New Comment: also have the same issue under apache / php 4.3.0 / windows 2000 SP 3, crashes during the 508th call to my parse code. Previous Comments: ------------------------------------------------------------------------ [2003-01-21 04:05:02] bosman at wlkp dot org 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); } ------------------------------------------------------------------------ [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 at oi dot net dot 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 (#38521) next »