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

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

Count Diff
12 (63%)
001+ ** ERROR: process timed out ** 001- string(0) "" 002- string(12) "hello, world"
1 (5%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl in /tmp/pbackup-setup/php-7.4.4/ext/openssl/tests/CertificateGenerator.inc on line 97 002+ 001- string(0) "" 002- string(12) "hello, world" 003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /tmp/pbackup-setup/php-7.4.4/ext/openssl/tests/CertificateGenerator.inc on line 100 004+ 005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /tmp/pbackup-setup/php-7.4.4/ext/openssl/tests/CertificateGenerator.inc on line 104 006+ 007+ ** ERROR: process timed out **
1 (5%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/forum/source/php-7.4.4/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/forum/source/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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/forum/source/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8 005+ 006+ ** ERROR: process timed out **
1 (5%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/administrator/Downloads/php-7.4.4/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/administrator/Downloads/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/administrator/Downloads/php-7.4.4/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/administrator/Downloads/php-7.4.4/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/administrator/Downloads/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8 005+ 006+ ** ERROR: process timed out **
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'libmcrypt.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.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 'libmcrypt.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/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 'imagick.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.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+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7 005+ 006+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 007+ 008+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 009+ 010+ Warning: stream_select(): No stream arrays were passed in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 011+ PHP Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:10011 (Connection refused) in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 3 012+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4 013+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc on line 158 014+ 015+ ** ERROR: process timed out **
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.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 'mongodb.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.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 'mongodb.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.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 'parallel.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.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 'parallel.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/opcache.so (/serv/etc/extensions/no-debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/opcache.so.so (/serv/etc/extensions/no-debug-zts-20190902/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 'apcu.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apcu.so (/serv/etc/extensions/no-debug-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apcu.so.so (/serv/etc/extensions/no-debug-zts-20190902/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 'apc.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apc.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apc.so.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/opcache.so (/serv/etc/extensions/no-debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/opcache.so.so (/serv/etc/extensions/no-debug-zts-20190902/opcache.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 'apcu.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apcu.so (/serv/etc/extensions/no-debug-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apcu.so.so (/serv/etc/extensions/no-debug-zts-20190902/apcu.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 'apc.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apc.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apc.so.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0