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

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

Count Diff
6 (16%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
3 (8%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
2 (5%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (5%)
001+ Xdebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
2 (5%)
001+ PHP Warning: PHP Startup: smbclient: Unable to initialize module
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20180731
004+ These options need to match
005+ in Unknown on line 0
2 (5%)
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
1 (3%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10012 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/phpmt/php-7.3.8/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/phpmt/php-7.3.8/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 /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/andres/Descargas/php-src/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/andres/Descargas/php-src/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 /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Connection reset by peer
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.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 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.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 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.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 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.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 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.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 'geoip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.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 'php_screw_plus.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.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 'pgsql.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.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 'mongo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.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+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.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 'php_mysqli.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Written 1048575 bytes
002- DONE
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /apps/redcap/setup/redcap9.1.1_thirdparty/php-7.3.8/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/php/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php/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
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 /opt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'maxminddb.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.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 'intl' (tried: /opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl (/opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl: cannot open shared object file: No such file or directory), /opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl.so (/opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl.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 'imagick.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.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 'apcu.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-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 'smbclient.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so.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 'gd2' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/gd2 (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/gd2.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/gd2.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/php/lib/php/extensions/no-debug-zts-20180731/mbstring (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mbstring.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 'mysqli' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mysqli (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mysqli.so (/usr/local/php/lib/php/extensions/no-debug-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/php/lib/php/extensions/no-debug-zts-20180731/openssl (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/openssl.so (/usr/local/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 'curl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php/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 'fileinfo' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php/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
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/nil/Downloads/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php-7.3.8/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 'gd2' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/gd2 (/usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/gd2.so (/usr/local/php-7.3.8/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
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/php-7.3.8/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/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php-7.3.8/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 'pdo_mysql' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql (/usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so (/usr/local/php-7.3.8/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 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /root/php-7.3.8/ext/curl (/root/php-7.3.8/ext/curl: cannot read file data: Is a directory), /root/php-7.3.8/ext/curl.so (/root/php-7.3.8/ext/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 'openssl' (tried: /root/php-7.3.8/ext/openssl (/root/php-7.3.8/ext/openssl: cannot read file data: Is a directory), /root/php-7.3.8/ext/openssl.so (/root/php-7.3.8/ext/openssl.so: cannot open shared object file: No such file or directory)) 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: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11