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

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 19 different diffs reported by users for this test.

Count Diff
7 (23%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
4 (13%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (6%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/local/lib/php/20180731-zts/smbclient.so (liblber-2.4.so.2: cannot open shared object file: No such file or directory), /usr/local/lib/php/20180731-zts/smbclient.so.so (/usr/local/lib/php/20180731-zts/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (6%)
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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.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 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so.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 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/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
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
001- Written 1048575 bytes
002- DONE
1 (3%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/tmp/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 82
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/tmp/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/local/tmp/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /usr/local/tmp/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/usr/local/tmp/php-7.3.10/ext/openssl/tests/bug74159-ca.pem.tmp'
1 (3%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /blaze/src/php/7.3/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 82
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /blaze/src/php/7.3/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /blaze/src/php/7.3/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /blaze/src/php/7.3/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/blaze/src/php/7.3/php-7.3.10/ext/openssl/tests/bug74159-ca.pem.tmp'
1 (3%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl/openssl.cnf in /home/stefan/build/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 97
002+
001- Written 1048575 bytes
002- DONE
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/stefan/build/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /home/stefan/build/php-7.3.10/ext/openssl/tests/CertificateGenerator.inc on line 104
006+ fwrite(): send of 8192 bytes failed with errno=32 Broken pipe
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/local/php7/lib64/extensions/no-debug-non-zts-20180731/ssh2.so (/usr/local/php7/lib64/extensions/no-debug-non-zts-20180731/ssh2.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib64/extensions/no-debug-non-zts-20180731/ssh2.so.so (/usr/local/php7/lib64/extensions/no-debug-non-zts-20180731/ssh2.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 /home/admrh/sources/php-7.3.10/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/apache2/php/lib/php/extensions/no-debug-zts-20180731/openssl (/usr/local/apache2/php/lib/php/extensions/no-debug-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/apache2/php/lib/php/extensions/no-debug-zts-20180731/openssl.so (/usr/local/apache2/php/lib/php/extensions/no-debug-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/20180731-zts/mbstring (/usr/local/lib/php/20180731-zts/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/20180731-zts/mbstring.so (/usr/local/lib/php/20180731-zts/mbstring.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/20180731-zts/pdo_mysql (/usr/local/lib/php/20180731-zts/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/20180731-zts/pdo_mysql.so (/usr/local/lib/php/20180731-zts/pdo_mysql.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 'iconv' (tried: /usr/local/lib/php/20180731-zts/iconv (/usr/local/lib/php/20180731-zts/iconv: cannot open shared object file: No such file or directory), /usr/local/lib/php/20180731-zts/iconv.so (/usr/local/lib/php/20180731-zts/iconv.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/bz2 (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/bz2: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/bz2.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/bz2.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 'curl' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php/7.3/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
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/fileinfo (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/fileinfo: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.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 'gd2' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd2 (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd2.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd2.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 'ldap' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.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 'mbstring' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/php/7.3/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
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/php/7.3/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
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'odbc' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/odbc (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/odbc: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/odbc.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/odbc.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php/7.3/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
010+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_odbc' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/pdo_odbc (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/pdo_odbc: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/pdo_odbc.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/pdo_odbc.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library 'soap' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/soap (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/soap: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/soap.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/soap.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library 'sockets' (tried: /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/sockets (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/sockets: cannot open shared object file: No such file or directory), /usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/sockets.so (/usr/local/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/sockets.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ Written 1048575 bytes
014+ DONE
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.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 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.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 'newrelic.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/newrelic.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/newrelic.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/newrelic.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/newrelic.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
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
006+ Segmentation fault
1 (3%)
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 (3%)
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.10/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 (3%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.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 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/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 (3%)
001+ Failed loading /usr/local/zend/ZendGuardLoader.so: /usr/local/zend/ZendGuardLoader.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: ext/memcached.so (ext/memcached.so: cannot open shared object file: No such file or directory), ext/memcached.so.so (ext/memcached.so.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 'yar.so' (tried: ext/yar.so (ext/yar.so: cannot open shared object file: No such file or directory), ext/yar.so.so (ext/yar.so.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 'redis.so' (tried: ext/redis.so (ext/redis.so: cannot open shared object file: No such file or directory), ext/redis.so.so (ext/redis.so.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 'sphinx.so' (tried: ext/sphinx.so (ext/sphinx.so: cannot open shared object file: No such file or directory), ext/sphinx.so.so (ext/sphinx.so.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 'msgpack.so' (tried: ext/msgpack.so (ext/msgpack.so: cannot open shared object file: No such file or directory), ext/msgpack.so.so (ext/msgpack.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: ext/memcached.so (ext/memcached.so: cannot open shared object file: No such file or directory), ext/memcached.so.so (ext/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'msgpack.so' (tried: ext/msgpack.so (ext/msgpack.so: cannot open shared object file: No such file or directory), ext/msgpack.so.so (ext/msgpack.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
009+ PHP Warning: failed loading cafile stream: `cacert.pem' in /tools/php-7.3.10/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
010+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /tools/php-7.3.10/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
011+ PHP Warning: stream_socket_accept(): accept failed: Success in /tools/php-7.3.10/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
012+ stream_socket_enable_crypto(): SSL: Connection reset by peer