If you've created a link with no path using Special Menu Items module the site goes into an infinite loop when Event Log tries to log the link on a menu rebuild.

When the menu is rebuilt and Event Log can't find the special menu item's path, because it doesn't have one, it tries to find it by rebuilding the menu, recursing forever.

One solution might be to not do a menu rebuild, is it really necessary?

Alternatively do a check to see if Special Menu Items is instilled and this is a link that is not supposed to have a path.

Even if there's no solution, might save someone some time if the find this bug report.