|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63710 apc_sma_free: could not locate address
Submitted: 2012-12-06 13:46 UTC Modified: 2013-02-18 00:36 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: starke at emppor dot de Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: Irrelevant OS: openSuse 12.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: starke at emppor dot de
New email:
PHP Version: OS:


 [2012-12-06 13:46 UTC] starke at emppor dot de
openSUSE 12.1 (Asparagus) (x86_64) with packages:
 - php5-5.3.8-4.34.1
 - apache2-mod_php5-5.3.8-4.34.1
 - php5-devel-5.3.8-4.34.1
 - php5-pear-5.3.8-4.34.1
Used PECL to build and install APC-3.1.13. (but it happend with 3.1.8 also before).

These are the latest updates. When suddenly:
[Wed Dec 05 17:00:02 2012] [notice] SIGHUP received.  Attempting to restart
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 10.x.x.x for ServerName
[Wed Dec 05 17:00:03 2012] [notice] Apache/2.2.21 (Linux/SUSE) mod_ssl/2.2.21 OpenSSL/1.0.0e configured -- resuming normal operations
[Wed Dec 05 17:00:10 2012] [error] [client 10.x.x.y] PHP Fatal error:  apc_store() [<a href='function.apc-store'>function.apc-store</a>]: apc_sma_free: could not locate address 0x7fd2472a7ea0 in /srv/www/htdocs/cc/include/SugarCache/SugarCacheAPC.php on line 70, referer: http://10.x.x.x/cc/index.php
[Wed Dec 05 17:10:44 2012] [error] [client 10.x.x.y] PHP Fatal error:  apc_fetch() [<a href='function.apc-fetch'>function.apc-fetch</a>]: unable to obtain pthread lock (EDEADLK) in /srv/www/htdocs/cc/include/SugarCache/SugarCacheAPC.php on line 80

This reload (/etc/init.d/apache2 check-reload, /etc/init.d/apache2 reload) was initied by logrotate.

After this error, all PHP-Scripts requiring this class (SugarCacheAPC) won't load until a request-timeout. No further errors appear in the error_log. An Apache-restart solves the issue.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-06 18:27 UTC]
-Status: Open +Status: Feedback
 [2012-12-06 18:27 UTC]
Any chance to get some repro code from that SugarCacheAPC.php?

Also you've set php version to irrelevant, but use 5.3 in the example. Sure it happens also with newer PHPs?
 [2013-02-18 00:36 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2015-09-21 11:01 UTC] piotr at landax dot no
I'm getting the same problem on my mac (Yosomite).I've used Zend Server before but know I switched to build-in apache.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Nov 30 11:05:54 2022 UTC