The error is ( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\site\includes\database\database.inc on line 718

I had boxes installed before however I have disabled that module.

( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\site\includes\database\database.inc on line 718
Call Stack
# Time Memory Function Location
1 0.0002 682160 {main}( ) ..\index.php:0
2 0.2298 36435048 menu_execute_active_handler( ) ..\index.php:21
3 0.2353 37741248 call_user_func_array
( )
..\menu.inc:516
4 0.2354 37741568 drupal_get_form( ) ..\menu.inc:0
5 0.2354 37742648 drupal_build_form( ) ..\form.inc:131
6 0.2354 37745536 drupal_retrieve_form( ) ..\form.inc:339
7 0.2354 37747464 call_user_func_array
( )
..\form.inc:795
8 0.2355 37747864 system_modules( ) ..\form.inc:0
9 0.2355 37748048 system_rebuild_module_data( ) ..\system.admin.inc:785
10 0.2355 37748464 _system_rebuild_module_data( ) ..\system.module:2429
11 0.6160 37981424 drupal_alter( ) ..\system.module:2401
12 0.6160 37982280 field_system_info_alter( ) ..\module.inc:1022
13 0.6186 38185472 l( ) ..\field.module:379
14 0.6187 38186624 theme_get_registry( ) ..\common.inc:2374
15 0.6187 38188568 call_user_func_array
( )
..\theme.inc:276
16 0.6187 38189144 _theme_load_registry( ) ..\theme.inc:0
17 0.6187 38191784 ThemeRegistry->__construct( ) ..\theme.inc:334
18 0.6191 38193080 ThemeRegistry->initializeRegistry( ) ..\theme.inc:393
19 0.6191 38193080 theme_get_registry( ) ..\theme.inc:409
20 0.6191 38193784 call_user_func_array
( )
..\theme.inc:276
21 0.6192 38194272 _theme_load_registry( ) ..\theme.inc:0
22 0.6194 38195304 _theme_build_registry( ) ..\theme.inc:324
23 0.8657 48769376 _theme_process_registry( ) ..\theme.inc:686
24 0.8657 48796064 views_theme( ) ..\theme.inc:534
25 0.8658 48807792 views_fetch_plugin_data( ) ..\views.module:100
26 0.8661 48858864 _views_fetch_plugin_data( ) ..\views.module:1195
27 0.8794 51184048 views_discover_plugins( ) ..\cache.inc:96
28 0.8798 51201408 entity_views_plugins( ) ..\plugins.inc:413
29 0.8798 51201408 views_fetch_data( ) ..\entity.views.inc:312
30 0.8799 51201816 _views_fetch_data( ) ..\views.module:1184
31 0.8805 51203776 module_invoke_all( ) ..\cache.inc:29
32 0.8816 51288560 call_user_func_array
( )
..\module.inc:823
33 0.8816 51288800 entity_views_data( ) ..\module.inc:0
34 0.8816 51289096 entity_crud_get_info( ) ..\entity.views.inc:23
35 0.8816 51289392 entity_get_info( ) ..\entity.module:493
36 0.8822 51291152 module_invoke_all( ) ..\common.inc:7455
37 0.8824 51294816 call_user_func_array
( )
..\module.inc:823
38 0.8824 51295056 bean_entity_info( ) ..\module.inc:0
39 0.8825 51303144 bean_get_types( ) ..\bean.module:63
40 0.8825 51303528 bean_load_plugin_class_all( ) ..\bean.module:249
41 0.8825 51303824 bean_fetch_plugin_info( ) ..\bean.module:375
42 0.8830 51307272 ctools_get_plugins( ) ..\bean.module:267
43 0.8836 51309440 ctools_plugin_load_hooks( ) ..\plugins.inc:264
44 0.8955 52797464 ctools_plugin_process( ) ..\plugins.inc:644
45 0.8955 52798272 bean_all_bean_types( ) ..\plugins.inc:681
46 0.8973 52846304 module_invoke( ) ..\bean_all.module:20
47 0.8973 52846912 call_user_func_array
( )
..\module.inc:799
48 0.8973 52847152 views_block_info( ) ..\module.inc:0
49 0.9192 57154688 view->init_display( ) ..\views.module:558
50 0.9193 57155608 views_get_plugin( ) ..\view.inc:435
51 0.9193 57155920 views_fetch_plugin_data( ) ..\views.module:1244
52 0.9193 57156184 _views_fetch_plugin_data( ) ..\views.module:1195
53 0.9193 57156672 views_discover_plugins( ) ..\cache.inc:96
54 0.9195 57172008 entity_views_plugins( ) ..\plugins.inc:413
55 0.9195 57172008 views_fetch_data( ) ..\entity.views.inc:312
56 0.9195 57172416 _views_fetch_data( ) ..\views.module:1184
57 0.9200 57173704 module_invoke_all( ) ..\cache.inc:29
58 0.9208 57256320 call_user_func_array
( )
..\module.inc:823
59 0.9208 57256560 entity_views_data( ) ..\module.inc:0
60 0.9208 57256856 entity_crud_get_info( ) ..\entity.views.inc:23
61 0.9208 57257152 entity_get_info( ) ..\entity.module:493
62 0.9212 57258368 module_invoke_all( ) ..\common.inc:7455
63 0.9212 57260688 call_user_func_array
( )
..\module.inc:823
64 0.9212 57260928 bean_entity_info( ) ..\module.inc:0
65 0.9212 57269032 bean_get_types( ) ..\bean.module:63
66 0.9213 57269128 bean_load_plugin_class_all( ) ..\bean.module:249
67 0.9213 57269424 bean_fetch_plugin_info( ) ..\bean.module:375
68 0.9216 57270744 ctools_get_plugins( ) ..\bean.module:267
69 0.9219 57272320 ctools_plugin_load_hooks( ) ..\plugins.inc:264
70 0.9224 57282224 ctools_plugin_process( ) ..\plugins.inc:644
71 0.9224 57283032 bean_all_bean_types( ) ..\plugins.inc:681
72 0.9237 57324528 module_invoke( ) ..\bean_all.module:20
73 0.9237 57325136 call_user_func_array
( )
..\module.inc:799
74 0.9237 57325376 views_block_info( ) ..\module.inc:0
75 0.9244 57331456 view->init_display( ) ..\views.module:558
76 0.9244 57332376 views_get_plugin( ) ..\view.inc:435
77 0.9244 57332688 views_fetch_plugin_data( ) ..\views.module:1244
78 0.9245 57332952 _views_fetch_plugin_data( ) ..\views.module:1195
79 0.9245 57333440 views_discover_plugins( ) ..\cache.inc:96
80 0.9247 57348888 entity_views_plugins( ) ..\plugins.inc:413
81 0.9247 57348888 views_fetch_data( ) ..\entity.views.inc:312
82 0.9247 57349296 _views_fetch_data( ) ..\views.module:1184
83 0.9251 57351224 module_invoke_all( ) ..\cache.inc:29
84 0.9260 57433848 call_user_func_array
( )
..\module.inc:823
85 0.9260 57434088 entity_views_data( ) ..\module.inc:0
86 0.9260 57434384 entity_crud_get_info( ) ..\entity.views.inc:23
87 0.9260 57434680 entity_get_info( ) ..\entity.module:493
88 0.9264 57435896 module_invoke_all( ) ..\common.inc:7455
89 0.9265 57438216 call_user_func_array
( )
..\module.inc:823
90 0.9265 57438456 bean_entity_info( ) ..\module.inc:0
91 0.9265 57446560 bean_get_types( ) ..\bean.module:63
92 0.9265 57446656 bean_load_plugin_class_all( ) ..\bean.module:249
93 0.9265 57446952 bean_fetch_plugin_info( ) ..\bean.module:375
94 0.9266 57447256 cache_get( ) ..\bean.module:263
95 0.9266 57447512 DrupalDatabaseCache->get( ) ..\cache.inc:56
96 0.9266 57447976 DrupalDatabaseCache->getMultiple( ) ..\cache.inc:338
97 0.9266 57449272 db_query( ) ..\cache.inc:357
98 0.9266 57449912 DatabaseConnection->query( ) ..\database.inc:2315
99 0.9266 57451488 DatabaseConnection->expandArguments( ) ..\database.inc:662
CommentFileSizeAuthor
#17 bean-1601960-17.patch6.74 KBindytechcook

Comments

saltednut’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry - this happens when you enable Bean UI? It looks like you are using WAMP. Is this happening in any other environments?

askibinski’s picture

I just had this on LAMP usign rc5.
Enabled all three modules (not UUID)

askibinski’s picture

same with -dev version.
Rolling back to rc4 fixes the problem.

Though I'm not sure if the error is the same. Can't get any error logging back, even drush says "segmentation fault" when I use a drush command (never had that one before! ;)

smichel’s picture

Just got this error on a Mac. Not running WAMP or anything like that, just the built-in Apache, MySQL, etc.

Before I finally deleted the Bean directory altogether, I was setting larger & larger memory sizes in php.ini. Nothing else helped.

muschpusch’s picture

I'm having a similar issue running beans on an octopus stack. Beans_all causing a segfault. Narrowing down during debug: The return value from $plugin is causing it, no idea why.

  foreach (module_implements('block_info') as $module) {
    if ($module !== 'bean') {
      $module_blocks = module_invoke($module, 'block_info');
      if (!empty($module_blocks)) {
        foreach ($module_blocks as $delta => $block) {
          $block = (object) $block;
          $block->module = $module;
          $block->delta = $delta;
          $plugins["$module-$delta"] = array(
            'label' => $block->info,
            'description' => $block->info,
            'name' => "$module-$delta",
            'block' => $block
          ) + $default;
        }
      }
    }
  }
lukas.fischer’s picture

Version: 7.x-1.x-dev » 7.x-1.0-rc5

Yes, same problem here. When Bean All 7.x-1.0-rc5 enabled, I get a seg fault.

muschpusch’s picture

Status: Postponed (maintainer needs more info) » Active

Since this happening on multiple platforms i change the status back to active or do you need more info?
[update] it happens when enabling bean_all [/update]
[update] it happens when enabling bean_admin_ui & bean [/update] Reverting to bean rc4 fixes it...

darthf1’s picture

I get a 500 Internal Server Error when enabling bean_all module.

indytechcook’s picture

So looks like bean_all is a little fubar right now.

indytechcook’s picture

I take that back. With a clean install of drupal it works just fine: https://skitch.com/indytechcook/ekd6n/yammer

Could you please let me know what modules you have installed?

gp177’s picture

The module appears to be hitting all types of execution limits, which is why people are seeing different error messages.

This also explains why it may be able to 'get by' on a clean install but will fail on a site that's already loading a good deal of other modules.

muschpusch’s picture

Ok. This is strange! On a clean install it works well. I even enabled all modules from another project which wasn't compatible with beans and it worked well too. I also devel generate content without any problems. But i have 2 sites where i can't install RC5

What could be tested:
1.) We generate content and blocks first than enable beans
2.) We could post our module lists and check if we have some similar modules (i just installed all modules but without any configuration)
3.) Get a better idea of the exact error

Here my module list:

 Administration menu          7.x-3.0-rc3          7.x-3.0-rc3       Up to date                               
 Automatic Entity Label       7.x-1.0              7.x-1.0           Up to date                               
 Automatic Nodetitles         7.x-1.0              7.x-1.0           Up to date                               
 Bean                         7.x-1.0-rc5          7.x-1.0-rc5       Up to date                               
 Drupal core                  7.14                 7.15              Update available                         
 Boxes                        7.x-1.0              7.x-1.0           Up to date                               
 Calendar                     7.x-3.4              7.x-3.4           Up to date                               
 Coffee                       7.x-1.0              7.x-1.0           Up to date                               
 Colorbox                     7.x-1.3              7.x-1.3           Up to date                               
 Colors                       7.x-1.0-beta2        7.x-1.0-beta2     Up to date                               
 Content Access               7.x-1.2-beta1        7.x-1.2-beta1     Up to date                               
 Context                      7.x-3.0-beta3        7.x-3.0-beta3     Up to date                               
 Chaos tool suite (ctools)    7.x-1.0+34-dev       7.x-1.0           Update available                         
 Date                         7.x-2.5              7.x-2.5           Up to date                               
 Delta                        7.x-3.0-beta10       7.x-3.0-beta11    Update available                         
 Devel                        7.x-1.3+3-dev        7.x-1.3           Up to date                               
 Theme developer              7.x-1.x-dev          7.x-1.x-dev       Up to date                               
 Display Suite                7.x-2.0-beta1+5-dev  7.x-2.0-beta1     Up to date                               
 Email Registration           7.x-1.0              7.x-1.0           Up to date                               
 Entity API                   7.x-1.0-rc3          7.x-1.0-rc3       Up to date                               
 Entity reference             7.x-1.0-rc3          7.x-1.0-rc3       Up to date                               
 Entityreference prepopulate  7.x-1.0              7.x-1.0           Up to date                               
 Features                     7.x-1.0-rc3          7.x-1.0           Update available                         
 Field collection             7.x-1.0-beta4+4-dev  7.x-1.0-beta4     Update available                         
 Field group                  7.x-1.1              7.x-1.1           Up to date                               
 FullCalendar                 7.x-2.0-beta3        7.x-2.0-beta3     Up to date                               
 Legal                        7.x-1.2              7.x-1.2           Up to date                               
 LoginToboggan                7.x-1.3              7.x-1.3           Up to date                               
 Menu token                   7.x-1.0-beta1        7.x-1.0-beta1     Up to date                               
 Panels                       7.x-3.2              7.x-3.2           Up to date                               
 Profile 2                    7.x-1.2              7.x-1.2           Up to date                               
 Persistent URL               7.x-1.0-beta1+5-dev  7.x-1.0-beta1     Up to date                               
 Rules                        7.x-2.1              7.x-2.1           Up to date                               
 Schema                       7.x-1.0-beta3        7.x-1.0-beta3     Up to date                               
 Search Krumo                 7.x-1.1              7.x-1.1           Up to date                               
 Services                     7.x-3.1              7.x-3.1           Up to date                               
 Session Limit                7.x-2.0-beta2+5-dev  7.x-2.0-beta2     Up to date                               
 simplehtmldom API            7.x-1.12             7.x-1.12          Up to date                               
 Taxonomy Manager             7.x-1.0-beta3        7.x-1.0-beta3     Up to date                               
 Token                        7.x-1.1              7.x-1.1           Up to date                               
 Views                        7.x-3.3              7.x-3.3           Up to date                               
 Views Bulk Operations (VBO)  7.x-3.0-rc1+20-dev   7.x-3.0-rc1       Up to date                       

I can find this fancy error in my logfiles :

[520774.812682] php[57425]: segfault at 7fffa2283e58 ip 00000000007856da sp 00007fffa2283e60 error 6 in php[400000+6cc000]

muschpusch’s picture

Ok i could recreate this on a different machine. One is nginx / php-fpm based the other just apache and mod_php. Both are running php 5.3

jonhattan’s picture

Version: 7.x-1.0-rc5 » 7.x-1.x-dev

To reproduce:

* enable bean_all and views
* create a view with a block display
* flush caches

To recover the site:

mysql> update system set status=0 where name = 'bean_all';
mysql> truncate cache_bootstrap;
jonhattan’s picture

Title: Fatal error when enabling the Bean All module: crashes site completely » [bean_all] Endless recursion in combination with views

Update: it can be reproduced by creating any view, not neccesarily with a block display.

Here is a trace I've followed:

1. bean_entity_info
2. bean_get_types
3. bean_load_plugin_class_all
4. bean_fetch_plugin_info
5. ctools_get_plugins('bean', 'types')
6. bean_all_bean_types
7. views_block_info
8. views_get_all_views
9. ctools_export_crud_load_all
10. ctools_export_load_object
11. _ctools_export_get_defaults
12. node_views_default_views
13. $handler = $view->new_display('default', 'Master', 'default')
14. add_display
15. views_fetch_plugin_data
16. views_discover_plugins
17. entity_views_plugins
18. views_fetch_data
19. entity_views_data
20. entity_crud_get_info
21. entity_get_info
22. bean_entity_info
23. goto 2
indytechcook’s picture

Thanks, that really helps. I'm doing work in the bean_all_fixes branch.

indytechcook’s picture

Issue tags: +Release blocker
StatusFileSize
new6.74 KB

Please try this patch (which is just a diff of the bean_all_fixes branch)

adf1969’s picture

indytechcook
I tried the patch and I no longer get the recursive loop.
I have a fairly complicated site (with both custom and contrib modules).

skwashd’s picture

Status: Active » Reviewed & tested by the community

I've tested #17 against commit 6c49e1d (recent 7.x-1.x checkout). The patch works for me. It didn't apply completely cleanly, there was some fuzz offset, but I suspect that is because I'm on 7.x-1.x not the bean_all fixes branch.

indytechcook’s picture

Status: Reviewed & tested by the community » Fixed

Alright, this should be all good. http://drupal.org/commitlog/commit/22232/1f89872d2702d23f7497f85f95dd338...

There are some changes that should probably be documented. Like bean_all_blacklist_* variables and the config page at 'admin/config/system/bean-all'

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

changed name of site