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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 08:01:29 2024 UTC