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

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

Count Diff
3 (13%)
001+ stream_socket_enable_crypto(): SSL: Connection reset by peer
001- Written 1048575 bytes
002- DONE
3 (13%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /opt/php-7.3.9/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 /opt/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /opt/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /opt/php-7.3.9/ext/openssl/tests/CertificateGenerator.inc on line 107
008+ failed loading cafile stream: `/opt/php-7.3.9/ext/openssl/tests/bug74159-ca.pem.tmp'
2 (9%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
2 (9%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'xhprof.so' (tried: /usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so (/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so: cannot open shared object file: No such file or directory), /usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so.so (/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20180731/xhprof.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (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
1 (4%)
001+ Xdebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
1 (4%)
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 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl.so (/usr/local/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 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /opt/php-7.3.9/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/opt/php-7.3.9/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /opt/php-7.3.9/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/opt/php-7.3.9/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+ 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.9/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so (Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so"), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcache.so.so")) in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (/usr/local/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 Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/curl.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 'fileinfo.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.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 'json.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/json.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 'phar.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/phar.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 'zip.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
007+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/kk/php-7.3.9/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/curl.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 'fileinfo.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/fileinfo.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 'json.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/json.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 'mcrypt.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/mcrypt.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 'phar.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/phar.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 'zip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: /usr/lib64/php/20180731-zts/bz2 (/usr/lib64/php/20180731-zts/bz2: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/bz2.so (/usr/lib64/php/20180731-zts/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 'calendar' (tried: /usr/lib64/php/20180731-zts/calendar (/usr/lib64/php/20180731-zts/calendar: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/calendar.so (/usr/lib64/php/20180731-zts/calendar.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 'ctype' (tried: /usr/lib64/php/20180731-zts/ctype (/usr/lib64/php/20180731-zts/ctype: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/ctype.so (/usr/lib64/php/20180731-zts/ctype.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 'exif' (tried: /usr/lib64/php/20180731-zts/exif (/usr/lib64/php/20180731-zts/exif: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/exif.so (/usr/lib64/php/20180731-zts/exif.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 'fileinfo' (tried: /usr/lib64/php/20180731-zts/fileinfo (/usr/lib64/php/20180731-zts/fileinfo: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/fileinfo.so (/usr/lib64/php/20180731-zts/fileinfo.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 'ftp' (tried: /usr/lib64/php/20180731-zts/ftp (/usr/lib64/php/20180731-zts/ftp: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/ftp.so (/usr/lib64/php/20180731-zts/ftp.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 'gettext' (tried: /usr/lib64/php/20180731-zts/gettext (/usr/lib64/php/20180731-zts/gettext: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/gettext.so (/usr/lib64/php/20180731-zts/gettext.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 'iconv' (tried: /usr/lib64/php/20180731-zts/iconv (/usr/lib64/php/20180731-zts/iconv: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/iconv.so (/usr/lib64/php/20180731-zts/iconv.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 'json' (tried: /usr/lib64/php/20180731-zts/json (/usr/lib64/php/20180731-zts/json: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/json.so (/usr/lib64/php/20180731-zts/json.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 'ldap' (tried: /usr/lib64/php/20180731-zts/ldap (/usr/lib64/php/20180731-zts/ldap: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/ldap.so (/usr/lib64/php/20180731-zts/ldap.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 'phar' (tried: /usr/lib64/php/20180731-zts/phar (/usr/lib64/php/20180731-zts/phar: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/phar.so (/usr/lib64/php/20180731-zts/phar.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/lib64/php/20180731-zts/sockets (/usr/lib64/php/20180731-zts/sockets: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/sockets.so (/usr/lib64/php/20180731-zts/sockets.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library 'tokenizer' (tried: /usr/lib64/php/20180731-zts/tokenizer (/usr/lib64/php/20180731-zts/tokenizer: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/tokenizer.so (/usr/lib64/php/20180731-zts/tokenizer.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib64/php/20180731-zts/zip (/usr/lib64/php/20180731-zts/zip: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/zip.so (/usr/lib64/php/20180731-zts/zip.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
015+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib64/php/20180731-zts/curl (/usr/lib64/php/20180731-zts/curl: cannot open shared object file: No such file or directory), /usr/lib64/php/20180731-zts/curl.so (/usr/lib64/php/20180731-zts/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
016+ Written 1048575 bytes
017+ DONE
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/opt/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: /opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/opt/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
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/apcu.so.so (/opt/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
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /opt/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/opt/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 (4%)
001+ Failed loading /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ioncube_loader_lin_5.6.so: undefined symbol: zend_block_interruptions
002+ Failed loading /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: undefined symbol: _zval_ptr_dtor
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so' (tried: /usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so (/usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so: undefined symbol: zval_used_for_init), /usr/share/lib/php/extensions///usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.so.so (/usr/share/lib/php/extensions///usr/share/lib/php/extensions/no-debug-non-zts-20131226/ssh2.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)
1 (4%)
001+ /usr/src/php-7.3.9/sapi/cli/php: symbol lookup error: /usr/src/php-7.3.9/modules/openssl.so: undefined symbol: EVP_PKEY_get0_RSA
001- Written 1048575 bytes
002- DONE