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

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

Count Diff
2 (15%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+
007+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
008+
009+ ** ERROR: process timed out **
2 (15%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
1 (8%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php/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 /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
005+
006+ ** ERROR: process timed out **
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.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 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/mysqli.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: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/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 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/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 'pdo_mysql' (tried: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/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/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/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/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
004+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.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 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.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 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.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 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/extensions/no-debug-zts-20170718/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/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (8%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.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: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
005+ Module compiled with module API=20090626
006+ PHP compiled with module API=20170718
007+ These options need to match
008+ in Unknown on line 0
009+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
010+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.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 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
012+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
013+ Module compiled with module API=20090626
014+ PHP compiled with module API=20170718
015+ These options need to match
016+ in Unknown on line 0
017+ string(0) ""
018+ string(12) "hello, world"
1 (8%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers