Edit report at https://bugs.php.net/bug.php?id=69327&edit=1

 ID:                 69327
 Updated by:         c...@php.net
 Reported by:        astrange at ithinksw dot com
 Summary:            ext/curl/tests/bug45161.phpt never finishes
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Testing related
 Operating System:   FreeBSD 10.1
 PHP Version:        5.6.7
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Does this still happen for you with any actively supported PHP
version[1]?

[1] <http://php.net/supported-versions.php>


Previous Comments:
------------------------------------------------------------------------
[2015-03-30 04:58:59] astrange at ithinksw dot com

After leaving the test for 24 hours, it did complete.

------------------------------------------------------------------------
[2015-03-29 07:55:13] astrange at ithinksw dot com

Description:
------------
When I run 'make test', the test for ext/curl/tests/bug45161.phpt never 
finishes. I have to kill the php process to continue.

CFLAGS="-O3 -march=native -mtune=native -fstack-protector -g" \
./configure  --prefix=/usr/local/php \
--with-curl --enable-mysqlnd --enable-mysqlnd-compression-support \
--enable-mbstring \
--with-openssl --without-kerberos \
--with-zlib \
--enable-fpm --with-fpm-user=www --with-fpm-group=www

# uname -a
FreeBSD xxx 10.1-RELEASE-p7 FreeBSD 10.1-RELEASE-p7 #1 r272805M: Fri Mar 20 
03:04:21 EDT 2015 root@xxx:/usr/obj/usr/src/sys/xxx  amd64


Actual result:
--------------
 5314  0  S         0:00.03 /usr/local/src/php-5.6.7/sapi/cli/php -n -c 
/usr/local/src/php-5.6.7/tmp-php.ini -d output_handler= -d open_basedir= -d 
safe_mode=0 -d disable_functions= -d output_buffering=Off -d 
error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d 
log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d 
report_zend_debug=0 -d docref_root= -d docref_ext=.html -d 
error_prepend_string= -d error_append_string= -d auto_prepend_file= -d 
auto_append_file= -d magic_quotes_runtime=0 -d ignore_repeated_errors=0 -d 
precision=14 -d memory_limit=128M -d log_errors_max_len=0 -d 
opcache.fast_shutdown=0 -d opcache.file_update_protection=0 -d 
extension_dir=/usr/local/src/php-5.6.7/modules/ -d 
zend_extension=/usr/local/src/php-5.6.7/modules/libopcache.so.0.0 -d 
session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 
-f /usr/local/src/php-5.6.7/ext/curl/tests/bug45161.php

(gdb) bt
#0  0x00000008050013ba in poll () from /lib/libc.so.7
#1  0x0000000801a83bf9 in Curl_poll (ufds=0x805fbf2a8, nfds=1, timeout_ms=1000) 
at select.c:433
#2  0x0000000801a7c424 in curl_multi_wait (multi_handle=0x805ece1e8, 
extra_fds=0x0, extra_nfds=0, timeout_ms=1000, ret=0x7fffffffc484) at multi.c:894
#3  0x0000000801a72771 in easy_transfer (multi=0x805ece1e8) at easy.c:689
#4  0x0000000801a729d2 in easy_perform (data=0x80643f008, events=false) at 
easy.c:805
#5  0x0000000801a72a16 in curl_easy_perform (easy=0x80643f008) at easy.c:824
#6  0x00000000004bc6bb in zif_curl_exec (ht=100397736, 
return_value=0x805c8ce20, return_value_ptr=0x3e8, this_ptr=0x1, 
return_value_used=100397736)
    at /usr/local/src/php-5.6.7/ext/curl/interface.c:2966
#7  0x000000000078351e in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805c5a108) at 
/usr/local/src/php-5.6.7/Zend/zend_vm_execute.h:558
#8  0x0000000000701eeb in execute_ex (execute_data=0x805c5a108) at 
/usr/local/src/php-5.6.7/Zend/zend_vm_execute.h:363
#9  0x00000000006cbc7a in zend_execute_scripts (type=100397736, type@entry=8, 
retval=0x1, retval@entry=0x0, file_count=1000, file_count@entry=3)
    at /usr/local/src/php-5.6.7/Zend/zend.c:1341
#10 0x0000000000664190 in php_execute_script (primary_file=0x7fffffffdf20) at 
/usr/local/src/php-5.6.7/main/main.c:2597
#11 0x0000000000784f39 in do_cli (argc=100397736, argv=0x1) at 
/usr/local/src/php-5.6.7/sapi/cli/php_cli.c:994
#12 0x000000000045cff7 in main (argc=100397736, argv=0x1) at 
/usr/local/src/php-5.6.7/sapi/cli/php_cli.c:1378

Backtrace taken very soon after starting the test, so I can't be sure what it 
will be like later.


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



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

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to