|  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
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:
36 - 27 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Mon Jan 30 21:03:49 2023 UTC