#48637 [Com]: ext/standard/tests/file/bug27508.phpt fails if curlwrappers enabled

[email protected] ("andy at networkmail dot eu")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:          48637
 Comment by:  andy at networkmail dot eu
 Reported By: dg at artegic dot de
 Status:      Open
 Bug Type:    cURL related
 PHP Version: 5.2.10
 New Comment:

This test hangs my server, identified it as an infinite loop.

I've got rid of the infinite loop on my system by changing the "return
true;" on line 13 to "return is_resource($this->fp);" of the test's file
"ext/standard/tests/file/bug27508.phpt."

This fails the test on my system because of the cURL clash, and this
may not be the best solution.


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

[2009-06-24 20:40:04] viktor at iuris dot hu

Agree, but it segfaults (x86_64) for me on that test. Using the
compiled php-cli segfaults also (fastcgi), and produces 500-internal
server errors. Everything is ok, if I compile without
"--with-curlwrappers". (just like all previous versions)

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

[2009-06-22 07:13:06] dg at artegic dot de

Description:
------------
make test produces the following error:

Fatal error: Out of memory (allocated -187170816) (tried to allocate -
190054388 bytes) in xxx/php-5.2.10/run-tests.php on line 1071



Reproduce code:
---------------
cURL Information => libcurl/7.19.4 OpenSSL/0.9.7d zlib/1.2.3

./configure \
--prefix=/php \
--with-config-file-path=/etc \
--with-curl \
--with-curlwrappers


Expected result:
----------------
cURL wrappers should work.


Actual result:
--------------
make -> no errors
make test -> fatal error



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


-- 
Edit this bug report at http://bugs.php.net/?id=48637&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.