I thought I was experiencing an issue with upgrading ctools, but I have since determined the issue I experienced is related to boost. Previously I posted https://www.drupal.org/node/2555677#comment-10262701

The issue I experience occurs when running /update.php, but does not display until after the update form is submitted, and then also after visiting another page on the site, any page, such that the page never displays properly, but instead shows Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 52 bytes) in /srv/http_vhost/rugcompany/public_html/includes/menu.inc on line 347

Using xdebug, the error that appears as: Fatal error: Maximum function nesting level of '256' reached, aborting! in /srv/http_vhost/rugcompany/public_html/sites/all/modules/backup_migrate/includes/crud.inc on line 40

Before determining that this issue is related to boost, I tried restoring database backup, disabling only backup_migrate module, then processing /update.php, but the error still appeared. So I proceeded with disabling a bunch of modules at once and little by little restoring db backup, disabling fewer modules, and /update.phping, until narrowing down to boost module only.

Additionally, the xdebug call stack portion of the error, symbolizes the infinite recursion with indication that boost is doing something to result in the infinite loop, in my case, in collaboration with the expire submodule.

I'm not entirely certain, but it seems the loop starts at: 22 2.7173 133302680 menu_get_item( ) .../boost.module:784

Here is the full xdebug call stack: http://pastebin.ca/3130675

Comments

jkhanlar created an issue.

jkhanlar’s picture

Kind of I see the infinite loop, but I am not sure how to fix it.

In http://pastebin.ca/3130675

Line 25, menu_rebuild is called again
since menu_rebuild was called on line 10

thus, menu_rebuild is called infinitely, but I'm not sure what is supposed to happen, and how to prevent infinite loop.

Any suggestions?

breezewish’s picture

+1 I have the same issue. I have enabled expire module to automatically expire my menu caches. I think this issue is related to expire module.

Skin’s picture

Same problem for me: after running /update.php I have the same error Fatal error: Allowed memory size of ...... bytes exhausted ..., In the error log I see a lot of messages like this one:

boost	11/20/2015 - 01:23	Flushed all files (28) from static page cache.
boost	11/20/2015 - 01:23	Flushed all files (28) from static page cache.
boost	11/20/2015 - 01:23	Flushed all files (28) from static page cache.
.....

they are about 60 messages, all logged at the same time ( the time I've made the update ).

I tried to raise php memory limit, but the problem continues to occur.

Skin’s picture

May be the problem is this submodule?
https://www.drupal.org/project/boost_cache_cleaner

Skin’s picture

Is there someone using this submodule boost_cache_cleaner ?
I've just disable it, and now I can run updates.