php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72949 Typo in opcache error message
Submitted: 2016-08-26 14:21 UTC Modified: 2016-08-26 16:48 UTC
From: garethellis at gmail dot com Assigned: cmb
Status: Closed Package: opcache
PHP Version: 7.0.10 OS: Windows
Private report: No CVE-ID:
 [2016-08-26 14:21 UTC] garethellis at gmail dot com
Description:
------------
I had the following error message in my OpCache error log:
"Base address marks unusable memory region. Please setup opcache.file_cache and opcache.file_cache_callback directives for more convenient Opcache usage
Attempt to access invalid address."

I was wondering if this is a typo, because no such directive as "opcache.file_cache_callback" is mentioned in the documentation here:
http://php.net/manual/en/opcache.configuration.php

There *is* a directive called "opcache.file_cache_fallback", however...

Test script:
---------------
n/a


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-26 14:22 UTC] garethellis at gmail dot com
Error message source:

https://github.com/php/php-
src/blob/3d3f11ede4cc7c83d64cc5edaae7c29ce9c6986f/ext/opcache/shared_alloc_win32.c#L189
 [2016-08-26 16:41 UTC] cmb@php.net
-Status: Open +Status: Analyzed -Type: Documentation Problem +Type: Bug -Assigned To: +Assigned To: cmb
 [2016-08-26 16:41 UTC] cmb@php.net
Indeed, this is a typo.
 [2016-08-26 16:48 UTC] cmb@php.net
-Summary: Is this a typo in this opcache error message? +Summary: Typo in opcache error message
 [2016-08-26 16:53 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c4c3eb55a75f59fd73d0ee034ccaaf81ae46d8ec
Log: Fix #72949: Typo in opcache error message
 [2016-08-26 16:53 UTC] cmb@php.net
-Status: Analyzed +Status: Closed
 [2016-10-17 10:09 UTC] bwoebi@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c4c3eb55a75f59fd73d0ee034ccaaf81ae46d8ec
Log: Fix #72949: Typo in opcache error message
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Fri Apr 28 14:01:35 2017 UTC