|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58189 bug in apc_zend.c or what is it?
Submitted: 2008-05-06 10:52 UTC Modified: 2008-08-29 16:03 UTC
From: andron at kpi dot ua Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: HEAD CVS-2008-05-06 (dev) OS: gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
48 - 4 = ?
Subscribe to this entry?

 [2008-05-06 10:52 UTC] andron at kpi dot ua
./configure' '--prefix=/usr/lib/php5' '--host=i686-pc-linux-gnu' '--mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info' '--sysconfdir=/etc' '--cache-file=./config.cache' '--enable-maintainer-zts' '--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--disable-ctype' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--disable-exif' '--without-fbsql' '--without-fdftk' '--disable-filter' '--disable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--disable-ipv6' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--without-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '--disable-posix' '--without-pspell' '--without-recode' '--disable-reflection' '--disable-simplexml' '--disable-shmop' '--with-snmp' '--disable-soap' '--disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--disable-zip' '--with-zlib' '--enable-debug' '--without-cdb' '--without-db4' '--disable-flatfile' '--without-gdbm' '--disable-inifile' '--without-qdbm' '--without-freetype-dir' '--without-t1lib' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--with-unixODBC=/usr' '--without-adabas' '--without-birdstep' '--without-dbmaker' '--without-empress' '--without-esoob' '--without-ibm-db2' '--without-iodbc' '--without-sapdb' '--without-solid' '--without-readline' '--without-libedit' '--without-mm' '--without-sqlite'

Reproduce code:

Expected result:
I have an errors in error_log:

/portage/dev-php5/pecl-apc-3.0.18/work/APC-3.0.18/apc_zend.c(35) :  Freeing 0x08384294 (4 bytes), script=/storage/htdocs/download2.php

[Tue May  6 16:41:50 2008]  Script:  '/storage/htdocs/download.php'
/var/tmp/portage/dev-php5/pecl-apc-3.0.18/work/APC-3.0.18/apc_zend.c(35) :  Freeing 0x083DA128 (4 bytes), script=/storage/htdocs/download.php
Last leak repeated 65 times


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-29 16:03 UTC]
The reproduction code is no longer available, but it's safe to assume this is one of the known "leaks" that APC produces.  These don't actually leak memory as Zend will cleanup. For the time being these probably won't be fixed as they involve underlying complications in the engine. You can disable these warnings by setting report_memleaks to Off in your INI configuration.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 12:01:29 2024 UTC