Test: /ext/openssl/tests/bug74159.phpt - Version 7.3.11        

Bug #74159 writing a large buffer to non-blocking encrypted streams fails
Submitted: 2017-02-24 00:37:30 Modified: 2017-03-14 18:26:42
From: daverandom Assigned: bukka
Status: Duplicate Package: OpenSSL related
PHP Version: Irrelevant OS: any

There are 21 different diffs reported by users for this test.

Count Diff
16 (31%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
8 (15%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
4 (8%)
001+ ** ERROR: process timed out **
001- Written 1048575 bytes
002- DONE
3 (6%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (4%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
001- Written 1048575 bytes
002- DONE
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
2 (4%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: _zval_ptr_dtor
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/var/tmp/php-7.3.11/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.so' (tried: ./php_openssl.so (./php_openssl.so: cannot open shared object file: No such file or directory), ./php_openssl.so.so (./php_openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlite3' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3 (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
008+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/bruno/Downloads/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: Module 'bz2' already loaded in Unknown on line 0
002+ PHP Warning: Module 'calendar' already loaded in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: Module 'ctype' already loaded in Unknown on line 0
004+ PHP Warning: Module 'curl' already loaded in Unknown on line 0
005+ PHP Warning: Module 'dom' already loaded in Unknown on line 0
006+ PHP Warning: Module 'exif' already loaded in Unknown on line 0
007+ PHP Warning: Module 'fileinfo' already loaded in Unknown on line 0
008+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
009+ PHP Warning: Module 'gd' already loaded in Unknown on line 0
010+ PHP Warning: Module 'gettext' already loaded in Unknown on line 0
011+ PHP Warning: Module 'iconv' already loaded in Unknown on line 0
012+ PHP Warning: Module 'json' already loaded in Unknown on line 0
013+ PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
014+ PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0
015+ PHP Warning: Module 'PDO' already loaded in Unknown on line 0
016+ PHP Warning: Module 'Phar' already loaded in Unknown on line 0
017+ PHP Warning: Module 'posix' already loaded in Unknown on line 0
018+ PHP Warning: Module 'shmop' already loaded in Unknown on line 0
019+ PHP Warning: Module 'SimpleXML' already loaded in Unknown on line 0
020+ PHP Warning: Module 'sockets' already loaded in Unknown on line 0
021+ PHP Warning: Module 'sqlite3' already loaded in Unknown on line 0
022+ PHP Warning: Module 'sysvmsg' already loaded in Unknown on line 0
023+ PHP Warning: Module 'sysvsem' already loaded in Unknown on line 0
024+ PHP Warning: Module 'sysvshm' already loaded in Unknown on line 0
025+ PHP Warning: Module 'tokenizer' already loaded in Unknown on line 0
026+ PHP Warning: Module 'xml' already loaded in Unknown on line 0
027+ PHP Warning: Module 'xmlwriter' already loaded in Unknown on line 0
028+ PHP Warning: Module 'xsl' already loaded in Unknown on line 0
029+ PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
030+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
031+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
032+ PHP Warning: Module 'wddx' already loaded in Unknown on line 0
033+ PHP Warning: Module 'xmlreader' already loaded in Unknown on line 0
034+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
035+ Written 1048575 bytes
036+ DONE
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'krb5.so' (tried: /opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so (/opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so: undefined symbol: GSS_C_NT_HOSTBASED_SERVICE), /opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so.so (/opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ Segmentation fault
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
004+ /SRC/php-src-php-7.3.11/sapi/cli/php: symbol lookup error: /opt/Apache73/lib/extensions/no-debug-zts-20180731/gmagick.so: undefined symbol: omp_get_num_procs
005+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (2%)
001+ PHP Notice: Unknown: Redis not available while creating session_id in Unknown on line 0
002+ PHP Warning: Unknown: Cannot send session cookie - headers already sent in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
004+ PHP Warning: Unknown: Failed to read session data: redis (path: tcp://127.0.0.1:6379?auth=lhz929lyf) in Unknown on line 0
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
1 (2%)
001+ Failed loading /opt/php-7.x/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /opt/php-7.x/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor