Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17853

Infinite memory and clash in error handler.

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      When handling an Unhandled exception, the default error handler path uses debug_war to handle outputting debug information. When calling debug_var, no print argument is passed. Without a print argument, debug_var uses print_r to dump a passed in variable's contents. This consumes all memory, and leads to a crash (500). to add insult to injury, the debug message does not even make it into the apache error.log, even with xdebug installed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              julial@turinglace.com Julia Longtin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: