PHP 5.6.27 and 5.6.28 both fail tests with Fatal error in the same place
| From: | Dennis Clarke | Date: | Sun, 13 Nov 2016 01:48:20 +0000 |
| Subject: | PHP 5.6.27 and 5.6.28 both fail tests with Fatal error in the same place | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-96870@lists.php.net to get a copy of this message | ||
This is a tad tricky but here is what happened.
With a build of 5.6.27 I had no problems until the time came to run "make test" wherein everything seems normal until this :
FAIL Basic bitwise stream crypto context flag assignment [ext/openssl/tests/stream_crypto_flags_001.phpt]
FAIL TLSv1.1 and TLSv1.2 bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_002.phpt]
FAIL Server bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_003.phpt]
FAIL Specific protocol method specification [ext/openssl/tests/stream_crypto_flags_004.phpt]
PHP Fatal error: Out of memory (allocated 1631059968) (tried to allocate 1623719982 bytes) in /usr/local/build/php-5.6.27_SunOS5.10_sparcv9.001/run-tests.php on line 1120
gmake: *** [test] Error 255
I was going to look into how to debug this but 5.6.28 released. Therefore I perform a normal configure and build as per usual and again "make test" fails fatal in the same place but with a different message :
FAIL Basic bitwise stream crypto context flag assignment [ext/openssl/tests/stream_crypto_flags_001.phpt]
FAIL TLSv1.1 and TLSv1.2 bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_002.phpt]
FAIL Server bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_003.phpt]
FAIL Specific protocol method specification [ext/openssl/tests/stream_crypto_flags_004.phpt]
PHP Fatal error: String size overflow in /usr/local/build/php-5.6.28_SunOS5.10_sparcv9.001/run-tests.php on line 1120
gmake: *** [test] Error 255
So the question is, how do I run whatever specific test is creating this problem in a verbose manner to get more information?
Please bear in mind that 5.6.26 builds and tests just fine :
$ /usr/local/bin/php --version
PHP 5.6.26 (cli) (built: Sep 21 2016 14:04:51)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Dennis