Bug #1931: Segmentation Fault on Fopen
| From: | keithhasson at noland dot com | Date: | Fri, 30 Jul 1999 17:11:59 +0000 |
| Subject: | Bug #1931: Segmentation Fault on Fopen | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9352@lists.php.net to get a copy of this message | ||
From: keithhasson@noland.com
Operating system: RedHat 5.2 Linux
PHP version: 3.0.12
PHP Bug Type: Misbehaving function
Bug description: Segmentation Fault on Fopen
My simple code as it is now:
<HTML>
<BODY>
<?
$fd = fopen("http://www.php.net/","r");
fclose($fd);
?>
</BODY>
</HTML>
Produces this in my log file:
[Fri Jul 30 12:08:49 1999] [notice] child pid 5464 exit signal Segmentation faul
t (11)
This happens every time and Netscape tell me document contains no data.
How can I fix this? I'm trying to use this routine to eventually verify that a URL is a valid
one... So I will be making the filename variable at some point. Please help...
Keith