|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-02-13 07:56 UTC] paul dot schwarz at mss dot co dot ke
Description: ------------ I'm not even sure if this is a bug, but after 2 days of searching for answers this is my last resort. Here is the trace: http://www.hastebin.com/raw/virowemuvo I'm using spl's auto load register. It's working fine for a whole bunch of files. On one particular file it dies. I've cleaned out that file and made it as simple as <?php class Log{} ?> and it still dies. So the require is definitely failing. Interestingly when I look at the apc.php dashboard, other files have cache hits of 1, 2, 3 (as a press reload). But the file in question is always hit twice as many times, eg. 2, 4, 6. Expected result: ---------------- With APC turned off the application runs and web pages load normally. Actual result: -------------- With APC turned on I get the following files loaded: /home/vagrant/so-web/system/classes/I18n.php /home/vagrant/so-web/system/classes/Kohana/I18n.php /home/vagrant/so-web/system/classes/Config.php /home/vagrant/so-web/system/classes/Kohana/Config.php /home/vagrant/so-web/system/classes/Config/File.php /home/vagrant/so-web/system/classes/Kohana/Config/File.php /home/vagrant/so-web/system/classes/Kohana/Config/File/Reader.php /home/vagrant/so-web/system/classes/Kohana/Config/Reader.php /home/vagrant/so-web/system/classes/Kohana/Config/Source.php /home/vagrant/so-web/system/classes/Arr.php /home/vagrant/so-web/system/classes/Kohana/Arr.php /home/vagrant/so-web/system/classes/Config/Group.php /home/vagrant/so-web/system/classes/Kohana/Config/Group.php /home/vagrant/so-web/system/classes/Log.php and then suddenly on the last one, Log.php, I get the error. http://www.hastebin.com/raw/virowemuvo PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 22:00:02 2025 UTC |
This looks like APC has been compiled with __DEBUG__ mode on. The log message indicates it's from apc_main.c:598 apc_debug("1. h->opened_path=[%s] h->filename=[%s]\n" TSRMLS_CC, h->opened_path?h->opened_path:"null",h->filename); you need to compile it with ./configure --disable-apc-debug Of course, unless you compiled it with debug to debug this issue. In which case move it back out of feedback.