php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9128 Memory Leak or Memory Problem.
Submitted: 2001-02-06 08:30 UTC Modified: 2001-08-01 14:25 UTC
From: kaiser at 3points dot de Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: Linux
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: kaiser at 3points dot de
New email:
PHP Version: OS:

 

 [2001-02-06 08:30 UTC] kaiser at 3points dot de
i coding a skin engine @ pixelcore.com and use template to parse it. I open this file with

$fp = fopen("http://....",'r');
while....

but if i forget to close this like and more that 20 users pars this skin i got some error messeages on screen.

Zend Stack crashed at xxx.c line 42 or so.

Regards Kaiser

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 09:34 UTC] elixer@php.net
reclassify
 [2001-04-28 09:35 UTC] elixer@php.net
ok.  really reclassify.
 [2001-04-29 13:49 UTC] kaiser at 3points dot de
Ok,

to code my shit i used 
$fp = fopen("http://weburl");

but i forgotten to close the handler with fclose($fp).
SO i tested and tested my script and now...
pl0nk my apache crached and i found in error log
Zend Stack crashed at xxx.c line 42.

I tested it again and i found ~20 httpd proccesses with ~ 15mb per proccess.

Maybe i can post some code.
 [2001-06-03 02:15 UTC] sniper@php.net
Please include shortest possible example script which can be
used to reproduce this.


 [2001-06-04 16:28 UTC] kaiser at 3points dot de
Here are the example:

http://www.bate.de/bug/
http://www.bate.de/bug/bug.phps (source)

Bat[e]
 [2001-07-31 11:48 UTC] andy@php.net
I get 404 Not Found errors when I go to these pages, please
include a valid address.

 [2001-08-01 14:25 UTC] sniper@php.net
Using PHP 4.0.6 there are no problems anymore.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC