Page MenuHomePhabricator

Error displaying a Differential revision
Closed, InvalidPublic

Description

An attempt to see a Differential revision [like <Phabricator instance URL>/D6] results in the following error:

UNRECOVERABLE FATAL ERROR <<<

Maximum function nesting level of &#039;100&#039; reached, aborting!

/phabricator/libphutil/src/utils/utf8.php:74

┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

P.S. 1) Unfortunately, I cannot provide reproduction steps at this time - perhaps, the error is spurious and caused by a combination of factors, but I hope the error message is self-explanatory; 2) I'm not sure where to obtain the Phabricator's version info, but, if it helps, the system it is running on is Ubuntu 14.04, or, more specifically the following:

Linux ABCDE 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Event Timeline

ablekh updated the task description. (Show Details)
  • You can obtain the versions at /config/module/versions/ on your install
  • The max nesting level is set to PHP_INT_MAX (see libphutil/scripts/__init_script__.php:44), so you should never see this error.

(Edit: __init_script__ is called from script, not web)

@richardvanvelzen Thank you for your comment. However, I don't have /config/module/versions/ or any Phabricator-related versions file or directory, for that matter, on my system. If you meant /conf/, then this directory contains only the files __init_conf__.php, keys and local. Please clarify.

I also don't understand your comment's second part. I have seen T5027: xdebug and Phabricator dont play nice together, but it has been fixed in May 2014, whereas I'm using a much more recent version of Phabricator.

Visit /config/module/versions on your install. If it does not exist, you're not running HEAD.

chad closed this task as Invalid.EditedMar 21 2016, 1:52 PM
chad added a subscriber: chad.

Unfortunately we can't take bug reports missing required information. Specifically:

  1. You're required to be at HEAD.
  2. Version information is required.
  3. Reproduction steps are required.

There is nothing we can do in the upstream if we don't have these steps completed. Please feel free to reopen once you've finished gathering this information.

Thank you both for clarifications. Will follow your advice.

Hi,

i encountered same problem , but it happened on libphutil/src/xsprintf/xsprintf.php. I resolved this problem by setting max_nesting_level on php xdebug .

[XDebug]
xdebug.max_nesting_level = 32768