This is an xhprof bug and not a devel bug, but I thought I'd throw the workaround up here in case people run into this upgrading to php 5.5 like I did.

Here's the bug report: https://bugs.php.net/bug.php?id=65345

I haven't tried the patch in that bug report but I did use the workaround by editing devel.module:

-      xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
+      xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY);

Comments

HLopes’s picture

Version: 6.x-1.27 » 7.x-1.5

Just stumbled on this, can confirm the report & that the proposed solution works fine.

Without it all you'll get is 502 Bad Gateway errors (I'm using nginx).

willzyx’s picture

Status: Active » Closed (outdated)

xhprof is not part of devel anymore. Closing as outdated