|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23703 fopen on http:// streams Segmentation fault (core dumped)
Submitted: 2003-05-19 13:14 UTC Modified: 2003-05-19 17:52 UTC
From: matthias at mh dot be Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.3.2RC2 OS: Linux redhat 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: matthias at mh dot be
New email:
PHP Version: OS:


 [2003-05-19 13:14 UTC] matthias at mh dot be
I run a script in cgi/command line mode. 
It gets a list with url's that it has to load an parse.

After a few http:// locations I get 'Segmentation fault (core dumped)'. I have put in a lot of debug flags and it is the fopen for sure. It is always on the same location. The file that he wants to open looks normal. If I open the file where it stops as the first one, there is no problem. Yet if he comes to that file (http:// location) for the second time (the 42th url) it Segmentation fault (core dumped) again.

If I remove the troubled url form the top of the list, it Segmentation fault (core dumped) at the 41st location.

On other configurations it does the same, but on a other location yet the same location per configuration.

Both are redhat 7.1 

a older version 4.0.2 on redhat 6.2 seems to go on, without Segmentation fault (core dumped).

some of the same was bug; yet I still have the problem.

If someone contact me I can send the script.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-19 17:52 UTC] matthias at mh dot be
The latest cvs version seems to fix the problem. Thanx.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Feb 03 01:03:42 2023 UTC