[wp-trac] [WordPress Trac] #44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in WordPress 4.9.7

WordPress Trac noreply at wordpress.org
Fri Jul 13 06:37:10 UTC 2018


#44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in
WordPress 4.9.7
--------------------------+---------------------
 Reporter:  timbowesohft  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.9.8
Component:  Media         |     Version:  4.9.7
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by ddenev):

 Hi @dd32,

 Thank you for responding! Here is my info:
 {{{
 == Server Environment ==
     Web server: Apache/2.4.33 (Win64) OpenSSL/1.1.0h PHP/7.1.19 (Windows
 NT SOLO AMD64 build 7601 (Windows 7 Enterprise Edition Service Pack 1))
     Memory limit:       256M
     PHP version:        7.1.19
     MySQL version:      5.7.22
     Curl version:       7.59.0 / SSL: OpenSSL/1.0.2o / libz: 1.2.8
     OpenSSL version:    OpenSSL 1.0.2o 27 Mar 2018
     MCrypt:     Yes
     ZipArchive::addFile:        Yes
     zip executable found:       No
     Apache modules:     core, http_core, access_compat, alias, authz_core,
 autoindex, dir, env, include, isapi, log_config, mime, negotiation, php7,
 rewrite, setenvif, so, socache_shmcb, ssl, win32, mpm_winnt

 == WordPress Environment ==
         Version: 4.9.7
         Site URL: https://bayer-machines.ddev
         Home URL: https://bayer-machines.ddev
         WP Multisite: No
         Max Upload Size: 32 MB
         Memory limit: 128M
         Memory limit: 256M
         Permalink Structure: /%postname%/
         Language: en-US
         Timezone: Europe/Sofia
         Debug Mode: Inactive

 == User ==
         Role: administrator
         WP Profile lang: en_US
         User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64)
 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
 }}}

 PHP Streams (from phpinfo()):
 {{{
 Registered PHP Streams             : php, file, glob, data, http, ftp,
 zip, compress.zlib, compress.bzip2, https, ftps, phar
 Registered Stream Socket Transports: tcp, udp, ssl, sslv3, tls, tlsv1.0,
 tlsv1.1, tlsv1.2
 Registered Stream Filters          : convert.iconv.*, mcrypt.*,
 mdecrypt.*, string.rot13, string.toupper, string.tolower,
 string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*
 }}}

 PHP Extensions:
 {{{
 c:\>php -m
 [PHP Modules]
 bcmath
 bz2
 calendar
 Core
 ctype
 curl
 date
 dom
 filter
 gd
 hash
 iconv
 json
 libxml
 mbstring
 mcrypt
 mysqli
 mysqlnd
 openssl
 pcre
 PDO
 pdo_mysql
 Phar
 readline
 Reflection
 session
 SimpleXML
 soap
 sockets
 SPL
 standard
 tokenizer
 wddx
 xdebug
 xml
 xmlreader
 xmlrpc
 xmlwriter
 Zend OPcache
 zip
 zlib
 }}}


 This is the latest PHP 7.1 version and I don't want to change to 7.2 yet
 (other problems) - so no benefit in upgrading to 7.2.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44532#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list