#23380 [Fbk->Csd]: Seems to be an fopen bug.

From: Date: Tue, 29 Apr 2003 11:08:16 +0000
Subject: #23380 [Fbk->Csd]: Seems to be an fopen bug.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38701@lists.php.net to get a copy of this message
ID: 23380 User updated by: info at paradigmdirect dot com Reported By: info at paradigmdirect dot com -Status: Feedback +Status: Closed Bug Type: Filesystem function related Operating System: w2k sp3 PHP Version: 4.3.2-RC New Comment: I tested the latest cvs version on about 100k urls last night and not one error! Closed. Thanks! Previous Comments: ------------------------------------------------------------------------ [2003-04-28 12:42:37] wez@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Please try a newer snapshot; I fixed the probable cause of this bug a few minutes before your most recent comment; the snap containing that fix should be available now. ------------------------------------------------------------------------ [2003-04-28 09:51:30] info at paradigmdirect dot com I tried the snapshot and it does indeed open the file I posted here but still fails when you put it in a loop and open random url's from a mysql db. It seems to be worse than the 4.3.2rc1 as far as how long it will run. Seems to fail after about 4 or 5 opens. I'll try to find a url that crashes it always. ------------------------------------------------------------------------ [2003-04-28 08:30:53] wez@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Can't reproduce with latest stable snapshot under winxp. ------------------------------------------------------------------------ [2003-04-28 08:26:04] info at paradigmdirect dot com Crashes everytime from command line. The url is a 404 but usually fopen handles them. Not sure if the crash is always from a 404 either. I'll try to find out more. <? $url = 'http://www4.yahoo.com/Education/Universities/Venezuela'; $fp = fopen($url,'rb'); } ?> ------------------------------------------------------------------------ [2003-04-28 08:14:24] info at paradigmdirect dot com Refer to bug #22820. It has all the detailed information but has not been fixed and is closed. I can cut and paste it in here if you need me too. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23380 -- Edit this bug report at http://bugs.php.net/?id=23380&edit=1

« previous php.bugs (#38701) next »