|  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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
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 @ and use template to parse it. I open this file with

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

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


Add a Patch

Pull Requests

Add a Pull Request


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

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]
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: (source)

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

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


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 19:03:41 2023 UTC