php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19332 In an gzopen gzclose loop after a little time the server stops.
Submitted: 2002-09-10 09:04 UTC Modified: 2002-10-14 19:36 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: rodrigo-rocha at oi dot net dot br Assigned:
Status: No Feedback Package: Zlib related
PHP Version: 4.2.2 OS: Windows2000/?
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-09-10 09:04 UTC] rodrigo-rocha at oi dot net dot br
Running under Apache web server in an windows 2000 sistem, after 508 loops of gzopen gzclose, the server will no more accept requests.

<?php
session_start();
if (! isset($_SESSION[counter])){$_SESSION[counter]=0;}
$_SESSION[counter]++;
echo $_SESSION[counter];
$filePointer = gzopen("test.gz", "rb9");
gzclose($filePointer);
?>
<script>
window.location = <this page>;
</script>


after 508 loops the server will stops

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-10 10:04 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2002-09-26 19:58 UTC] 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-10-14 19:36 UTC] 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.


 [2003-04-27 14:45 UTC] Suicidal_Insanity at stormcoast-fortress dot ne
i have the same error using PHP 4.3.1, after 507 calls to gzopen / gzread / gzclose.
using apache + windows 2000

email address didn't quite fit its .net
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 15:01:32 2019 UTC