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

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

Count Diff
3 (33%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
2 (22%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /usr/local/src/php-7.2.21/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.21/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.21/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.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
008+
009+ ** ERROR: process timed out **
1 (11%)
001+ Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS
002+ Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS
003+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
004+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.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 'sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.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 'pdo_sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.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 'pdo_sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated 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/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
005+
006+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/rat/Downloads/php-7.2.21/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/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
009+
010+ Warning: stream_select(): No stream arrays were passed in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
011+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
012+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
013+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
014+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
015+ PHP Warning: stream_socket_accept(): SSL: Handshake timed out in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
016+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
017+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 27
1 (11%)
001+ PHP Warning: PHP Startup: zpa: Unable to initialize module
002+ Module compiled with module API=20131226
003+ PHP compiled with module API=20170718
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: PHP Startup: zpa: Unable to initialize module
007+ Module compiled with module API=20131226
008+ PHP compiled with module API=20170718
009+ These options need to match
010+ in Unknown on line 0
1 (11%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Address already in use) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
004+ PHP Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:10012 (Address already in use) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
005+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
006+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
007+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
008+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
009+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
010+
011+ ** ERROR: process timed out **