ID:               28029
 Updated by:       [EMAIL PROTECTED]
 Reported By:      coadmin at hostings dot pl
-Status:           Open
+Status:           Feedback
 Bug Type:         URL related
 Operating System: FreeBSD 4.9 and 5.2.1
 PHP Version:      4CVS-2004-04-16 (stable)
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

And also a GDB backtrace of the crash. (configure with
--enable-debug!)




Previous Comments:
------------------------------------------------------------------------

[2004-04-16 18:32:21] coadmin at hostings dot pl

Description:
------------
PHP randomly crashes(?) and some functions couldn't open HTTP
connection. I found these are bad:

getimagesize()

fopen()

fsockopen()

and others...



I checked two different servers with different hardware and different
systems: FreeBSD 4.9-STABLE and FreeBSD 5.2.1-p3. I checked following
PHP versions: 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7-dev. All are affected.
Apache version is 1.3.29. PHP is compiled as mod_php.





Reproduce code:
---------------
URL requests crashes about a few minutes to a few hours after starting
apache. Apache restart is helpfull and make functions working again for
next a few hours. After it is the same, next restart, works for some
time, and the same... During crash others PHP functions works well.

Actual result:
--------------
Sample logs:



[1]



PHP Warning:  getimagesize(http://foo.com/image.jpg): failed to open
stream: HTTP request failed! ^L°^R^A in /home/foo/public_html/index.php
on line 1053



[2]



PHP Warning:  fopen(http://foo.com/check.php?id=111&code=xxx): failed
to open stream: HTTP request failed! @Áå^L in
/home/foo/public_html/check.php on line 19



[3]



PHP Warning:  copy(http://foo.com/file.php?board=2700&zip=1): failed to
open stream: HTTP request failed! ^LpLÒ^K in

 /home/foo/public_html/zip.php on line 44



And many others... I'm always receiving strange code after the "HTTP
request failed!" info.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28029&edit=1

Reply via email to