From:             astrange at ithinksw dot com
Operating system: FreeBSD 10.1
PHP version:      5.6.7
Package:          Testing related
Bug Type:         Bug
Bug description:ext/curl/tests/bug45161.phpt never finishes

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 bug report at https://bugs.php.net/bug.php?id=69327&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=69327&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=69327&r=trysnapshot55
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=69327&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=69327&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=69327&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=69327&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=69327&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=69327&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=69327&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=69327&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=69327&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=69327&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=69327&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69327&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=69327&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=69327&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=69327&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69327&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=69327&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=69327&r=mysqlcfg


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

Reply via email to