Project

General

Profile

bug #9669

cdm_dataportal_search_taxon_form_advanced() fails with Allowed memory size of ... bytes exhausted

Added by Andreas Kohlbecker 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-dataportal
Target version:
Start date:
06/15/2021
Due date:
% Done:

100%

Severity:
critical
Found in Version:

Description

[Tue Jun 15 14:41:08.025031 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 67108872 bytes) in /home/andreas/workspaces/cdm/cdm-dataportal/modules/cdm_dataportal/cdm_api/cdm_api.module on line 1212, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025108 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP Stack trace:, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025175 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   1. {main}() /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/index.php:0, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025205 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   2. menu_execute_active_handler($path = *uninitialized*, $deliver = *uninitialized*) /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/index.php:21, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025268 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   3. cdm_dataportal_view_search_advanced() /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/includes/menu.inc:527, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025290 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   4. drupal_get_form($form_id = *uninitialized*) /home/andreas/workspaces/cdm/cdm-dataportal/modules/cdm_dataportal/cdm_dataportal.module:2228, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025311 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   5. drupal_build_form($form_id = *uninitialized*, $form_state = *uninitialized*) /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/includes/form.inc:131, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025332 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   6. drupal_retrieve_form($form_id = *uninitialized*, $form_state = *uninitialized*) /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/includes/form.inc:351, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025383 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   7. cdm_dataportal_search_taxon_form_advanced($form = *uninitialized*, $form_state = *uninitialized*) /home/andreas/workspaces/www/drupal-7-cdm-dataportal/web/includes/form.inc:844, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025405 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   8. cdm_dataportal_search_taxon_form($form = *uninitialized*, $form_state = *uninitialized*, $advanced_form = *uninitialized*, $classification_select = *uninitialized*) /home/andreas/workspaces/cdm/cdm-dataportal/modules/cdm_dataportal/cdm_dataportal.search.php:595, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025431 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP   9. cdm_ws_fetch_all($resourceURI = *uninitialized*, $query = *uninitialized*, $method = *uninitialized*, $absoluteURI = *uninitialized*) /home/andreas/workspaces/cdm/cdm-dataportal/modules/cdm_dataportal/cdm_dataportal.search.php:278, referer: http://edit.test/d7/cichorieae/
[Tue Jun 15 14:41:08.025452 2021] [php7:notice] [pid 19252] [client 127.0.0.1:53352] PHP  10. array_merge(*uninitialized*, *uninitialized*) /home/andreas/workspaces/cdm/cdm-dataportal/modules/cdm_dataportal/cdm_api/cdm_api.module:1212, referer: http://edit.test/d7/cichorieae/

Associated revisions

Revision ecf46c67 (diff)
Added by Andreas Kohlbecker 4 months ago

fix #9669 avoiding infinite loop in cdm_ws_fetch_all()

Revision 54a4201c (diff)
Added by Andreas Kohlbecker 4 months ago

fix #9669 further improvement of cdm_ws_fetch_all()

History

#1 Updated by Andreas Kohlbecker 4 months ago

  • Subject changed from dm_dataportal_search_taxon_form_advanced() fails with Allowed memory size of ... bytes exhausted to cdm_dataportal_search_taxon_form_advanced() fails with Allowed memory size of ... bytes exhausted
  • Status changed from New to In Progress

#2 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)