Bug #76879 [NEW]: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM

From: Date: Thu, 13 Sep 2018 21:15:53 +0000
Subject: Bug #76879 [NEW]: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217039@lists.php.net to get a copy of this message
From: public at grik dot net Operating system: Windows Subsystem for Linux PHP version: 7.3.0RC1 Package: OpenSSL related Bug Type: Bug Bug description:test openssl/tests/stream_server_reneg_limit consumes 20G of RAM Description: ------------ I built php with generic options ./configure --prefix=/usr/local --with-openssl rinning 'make test' leads to consuming 4 CPU cores and all available RAM Test script: --------------- ./configure --prefix=/usr/local --with-openssl make make test ... PASS openssl_x509_read() tests [ext/openssl/tests/openssl_x509_read_basic.phpt] FAIL Peer verification enabled for client streams [ext/openssl/tests/peer_verification.phpt] FAIL Peer verification matches SAN names [ext/openssl/tests/san_peer_matching.phpt] FAIL Capture SSL session meta array in stream context [ext/openssl/tests/session_meta_capture.phpt] FAIL sni_server [ext/openssl/tests/sni_server.phpt] FAIL sni_server with separate pk and cert [ext/openssl/tests/sni_server_key_cert.phpt] 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] SKIP security_level setting to prohibit cert [ext/openssl/tests/stream_security_level.phpt] reason: OpenSSL >= v1.1.0 required TEST 6242/13313 [ext/openssl/tests/stream_server_reneg_limit.phpt] Now I have to cancel with Ctrl-C Actual result: -------------- ~$ top top - 00:10:05 up 1:59, 0 users, load average: 0.52, 0.58, 0.59 Tasks: 15 total, 5 running, 10 sleeping, 0 stopped, 0 zombie %Cpu(s): 30.3 us, 21.7 sy, 0.0 ni, 47.8 id, 0.0 wa, 0.2 hi, 0.0 si, 0.0 st KiB Mem : 16717488 total, 417976 free, 16063036 used, 236476 buff/cache KiB Swap: 50331648 total, 50035316 free, 296332 used. 513596 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 25826 gri 20 0 86748 5252 4048 R 100.0 0.0 21:29.55 php 9037 gri 20 0 86812 6108 5880 R 100.0 0.0 9:44.01 php 25177 gri 20 0 86748 5376 4128 R 99.7 0.0 24:50.79 php 24958 gri 20 0 22.154g 0.013t 332 R 90.3 84.1 10:55.90 php -- Edit bug report at https://bugs.php.net/bug.php?id=76879&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76879&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76879&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76879&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76879&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76879&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76879&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76879&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76879&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76879&r=support Expected behavior: https://bugs.php.net/fix.php?id=76879&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76879&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76879&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76879&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76879&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76879&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76879&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76879&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76879&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76879&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76879&r=mysqlcfg

« previous php.bugs (#217039) next »