[EMAIL PROTECTED] wrote:

> From:             [EMAIL PROTECTED]
> Operating system: FreeBSD 4.3
> PHP version:      4.0CVS-2001-09-12
> PHP Bug Type:     Filesystem function related
> Bug description:  fsockopen when times out is core dumped
> 
> This code
> 
> $fp=fsockopen("10.0.5.1",80,&$errno, &$errstr,5);
> if(!$fp) echo "$errno $errstr";
> 
> core dumped after message "60 Operation timed out"
> 

This bug also comes up when you try to use fopen()
on a URL.

Also, I've tried using fopen() on localhost for 
files that are known to exist, and every once in a while
(maybe 1 in 10 times), apache will segfault. It seems to
have something to do with glibc, because it faults just
after php_sockread_internal() is called, and glibc hangs
at __select() in libc.so.6.

J

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to