Trying to view https://performance.wikimedia.org/arclamp/svgs/hourly/2021-02-02_06.excimer-buster.api.svgz, Chromium reports:
This page contains the following errors: error on line 2012 at column 23: Char 0x0 out of allowed range Below is a rendering of the page up to the first error.
(It similarly fails to render on Firefox.)
The offending value is:
The NUL separator between class@anonymous and the path is the problem, as that's not valid inside XML text.
It's not yet clear to me whether the NUL is supposed to be there or not. If it is, our options for fixing this are:
- Have Excimer convert it to a different value when emitting the frame.
- Have arclamp-log convert it to a different value when writing the log entry.
- Have flamegraph.pl escape it (possibly as <![CDATA[) when generating the SVG.
I'm leaning towards a combination of 1 and 2, assuming this isn't a bug in Excimer and/or PHP.