Test: /ext/openssl/tests/bug77390.phpt - Version 7.3.33        

Bug #77390 feof might hang on TLS streams in case of fragmented TLS records
Submitted: 2018-12-31 15:53:30 Modified: 2019-01-17 18:15:52
From: kelunik Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 7.2.13 OS:

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

Count Diff
353 (96%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
7 (2%)
001+ Warning: openssl_csr_new(): Error signing request in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 62
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 68
004+
005+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 82
006+
007+ Warning: openssl_csr_sign(): cannot get cert from parameter 2 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 100
008+
009+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/local/src/php-7.3.33-sdv/ext/openssl/tests/CertificateGenerator.inc on line 104
010+
011+ ** ERROR: process timed out **
1 (0%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Unknown error) in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/compile/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (0%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 82
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /Users/yuyuxiu/data/download/php-7.3.33/ext/openssl/tests/CertificateGenerator.inc on line 107
008+
009+ ** ERROR: process timed out **
1 (0%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.3.33/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /root/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
005+
006+ ** ERROR: process timed out **
1 (0%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/ubuntu/php-7.3.33/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
005+
006+ ** ERROR: process timed out **
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.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 'php_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_ts.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 'php_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.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 'php_pdo_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.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 'php_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_sqlsrv_74_nts.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 'php_pdo_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.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 'php_pdo_sqlsrv_74_ts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_ts.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 'php_pdo_sqlsrv_74_nts.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_pdo_sqlsrv_74_nts.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so (libicuio.so.50: cannot open shared object file: No such file or directory), /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so.so (/usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.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 'intl.so' (tried: /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so (libicuio.so.50: cannot open shared object file: No such file or directory), /usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so.so (/usr/local/app/php/lib/php/extensions/no-debug-zts-20180731/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: failed loading cafile stream: `cacert.pem' in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
005+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
006+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/download/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
007+
008+ ** ERROR: process timed out **
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-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/lib/php/extensions/no-debug-zts-20180731/gd2 (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.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 '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
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.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 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl.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 'gd2' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2 (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.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 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.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 '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
012+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+
014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
015+
016+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
017+
018+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
019+
020+ Warning: stream_select(): No stream arrays were passed in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
021+
022+ ** ERROR: process timed out **
1 (0%)
001+ Failed loading /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: imagick: Unable to initialize module
001- string(0) ""
002- string(12) "hello, world"
003+ Module compiled with module API=20170718
004+ PHP compiled with module API=20180731
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: memcached: Unable to initialize module
008+ Module compiled with module API=20170718
009+ PHP compiled with module API=20180731
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so' (tried: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so: undefined symbol: _zval_ptr_dtor), /opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ PHP Warning: PHP Startup: redis: Unable to initialize module
014+ Module compiled with module API=20170718
015+ PHP compiled with module API=20180731
016+ These options need to match
017+ in Unknown on line 0
018+ Failed loading /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
019+ PHP Warning: PHP Startup: imagick: Unable to initialize module
020+ Module compiled with module API=20170718
021+ PHP compiled with module API=20180731
022+ These options need to match
023+ in Unknown on line 0
024+ PHP Warning: PHP Startup: memcached: Unable to initialize module
025+ Module compiled with module API=20170718
026+ PHP compiled with module API=20180731
027+ These options need to match
028+ in Unknown on line 0
029+ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so' (tried: /opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so: undefined symbol: _zval_ptr_dtor), /opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so (/opt/app/php/lib/php/extensions/no-debug-non-zts-20180731//opt/app/php/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
030+ PHP Warning: PHP Startup: redis: Unable to initialize module
031+ Module compiled with module API=20170718
032+ PHP compiled with module API=20180731
033+ These options need to match
034+ in Unknown on line 0
035+ string(0) ""
036+ string(12) "hello, world"