Edit report at https://bugs.php.net/bug.php?id=71470&edit=1
ID: 71470
Comment by: marko at okramlabs dot com
Reported by: damir dot zelenika at hteronet dot ba
Summary: Leaked 1 hashtable iterators
Status: Open
Type: Bug
Package: *General Issues
Operating System: Debian 8.3
PHP Version: 7.0.3
Block user comment: N
Private report: N
New Comment:
My php configuration is same as I posted initially only have disabled xdebug.
Machine is Linux Fedora.23 4.3.5-300.fc23.x86_64 x86_64 GNU/Linux.
I waited with my previous response since I tried to identify it, but the issue is not something
which occurs regularly. However a close brother of it is "Invalid request (Unexpected
EOF)" since these occur most times together.
So far only thing sure in my case is that this is produced only by Built in Server and haven't
spot it while running other web servers. Also none of my CLI applications haven't triggered
this. Only bit of consistency I have noticed is that when some of my in-development web app
front-ends make requests to some resources as file/css/js/xhr etc which have been (Modified|Do not
exist|Are empty files) then I can expect to see "Invalid request (Unexpected EOF)" in
Development Servers cli and inconsistently thereafter in logs I can find "Leaked 1 hashtable
iterators...". If I can be any help, you need some more information or you have some testsuites
I could run on current installation let me know. Otherwise I would recompile my php after few days.
Previous Comments:
------------------------------------------------------------------------
[2016-02-24 09:49:55] yohgaki@php.net
@marko
I guess you can reproduce the bug by CLI. Could you identify which module is causing this?
Could you post your system information also?
------------------------------------------------------------------------
[2016-02-24 00:56:10] marko at okramlabs dot com
@nikic, Yes it does also happen if I disable xdebug.
------------------------------------------------------------------------
[2016-02-16 12:21:56] nikic@php.net
Does this also happen if you disable xdebug?
------------------------------------------------------------------------
[2016-02-16 10:18:30] marko at okramlabs dot com
To be noted that bug was originaly reported OS: Debian 8.3 but had same problem on Fedora 23
------------------------------------------------------------------------
[2016-02-16 09:48:14] marko at okramlabs dot com
I got same issue by checking today my logs:
PHP log: PHP Warning:Leaked 1 hashtable iterators in Unknown on line 0
Server log: Invalid request (Unexpected EOF)
In server log I'll see that one of my own frameworks causing this in my dev server, I'll
see in the log multiple request with same pattern per request.
1. [200]: /
2. [200]: /css/theme.css
3. [200]: /icons/favicon.ico
4. Invalid request (Unexpected EOF)
As you can notice it is light request since it's bare framework with Hello wWorld which has
execution time of 6.11 ms.
PHP 7.0.3 (cli) (built: Feb 10 2016 01:50:48) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.4.0RC3, Copyright (c) 2002-2015, by Derick Rethans
php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
[Zend Modules]
Xdebug
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71470
--
Edit this bug report at https://bugs.php.net/bug.php?id=71470&edit=1