php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61198 APC not working on Windows/Apache with 5.4.0(RC8)
Submitted: 2012-02-27 22:12 UTC Modified: 2012-03-25 15:32 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: szarkos@php.net Assigned: mattficken (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.4.0RC8 OS: Windows
Private report: No CVE-ID: None
 [2012-02-27 22:12 UTC] szarkos@php.net
Description:
------------
Testing with
 - Windows 2008 R2
 - Apache 2.2
 - APC 3.1.9 and trunk (as of 2012-02-24)

APC builds fine with 5.4.0RC8 on Windows (using VC9), and will load as an extension.  I can load a basic page, i.e. phpinfo(), but attempting to reload the page causes Apache to crash.  With an application like Wordpress or Drupal, I get a ton of errors on the screen and in Apache's error_log, and then Apache becomes non-responsive.

I don't have a stack trace right now (can work with Pierre on that).

To be safe I also tested building APC-trunk with srwlock-native, srwlock-kernel or spinlocks options, and I see the same results for each.

Here’s a snippit of output from Drupal7 from Apache's error log:
 
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): 1. h->opened_path=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]  h->filename=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\bootstrap.inc on line 2171
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): apc_cache_find [1011635788]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\bootstrap.inc on line 2171
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): 2. h->opened_path=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]  h->filename=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\bootstrap.inc on line 2171
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): apc_cache_make_file_entry: entry->data.file.filename is [C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\bootstrap.inc on line 2171
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): Inserting [C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\bootstrap.inc on line 2171
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): 1. h->opened_path=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]  h->filename=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc on line 75
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): apc_cache_find [1011635778]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc on line 75
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): 2. h->opened_path=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]  h->filename=[C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc on line 75
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): apc_cache_make_file_entry: entry->data.file.filename is [C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc on line 75
[Fri Feb 24 11:56:07 2012] [error] [client ::1] PHP Notice:  require_once(): Inserting [C:\\apps\\Apache2\\htdocs\\drupal\\includes\\common.inc]\n in C:\\apps\\Apache2\\htdocs\\drupal\\includes\\errors.inc on line 75
[Fri Feb 24 11:56:10 2012] [notice] Parent: child process exited with status 255 -- Restarting.
 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-12 14:55 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-03-12 14:55 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

see #61219
 [2012-03-13 13:57 UTC] pajoye@php.net
-Status: Closed +Status: Assigned -Assigned To: ab +Assigned To: mattficken
 [2012-03-13 13:57 UTC] pajoye@php.net
Matt, please test it again :)
 [2012-03-25 15:32 UTC] pajoye@php.net
-Status: Assigned +Status: Closed
 [2012-03-25 15:32 UTC] pajoye@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 10:01:28 2024 UTC