php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69327 ext/curl/tests/bug45161.phpt never finishes
Submitted: 2015-03-29 07:55 UTC Modified: 2018-08-26 16:59 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (66.7%)
From: astrange at ithinksw dot com Assigned: cmb (profile)
Status: No Feedback Package: Testing related
PHP Version: 5.6.7 OS: FreeBSD 10.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: astrange at ithinksw dot com
New email:
PHP Version: OS:

 

 [2015-03-29 07:55 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-30 04:58 UTC] astrange at ithinksw dot com
After leaving the test for 24 hours, it did complete.
 [2018-07-08 14:08 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-07-08 14:08 UTC] cmb@php.net
Does this still happen for you with any actively supported PHP
version[1]?

[1] <http://php.net/supported-versions.php>
 [2018-08-26 16:59 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-08-26 16:59 UTC] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC