[Bug 1189647] internal error when $Y2PROFILER=1