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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rodrigo-rocha at oi dot net dot br
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC