php.net |  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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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 http://bugs.php.net/bug.php?id=2199; yet I still have the problem.

If someone contact me I can send the script.

Thanx!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 18:01:24 2019 UTC