<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - cairo-perf-trace failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73580#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - cairo-perf-trace failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73580">bug 73580</a>
from <span class="vcard"><a class="email" href="mailto:emanuele.aina@collabora.com" title="Emanuele Aina <emanuele.aina@collabora.com>"> <span class="fn">Emanuele Aina</span></a>
</span></b>
<pre><span class="quote">> And for whatever reason, libcairo-script-interpreter.so seems to never contain debug information while libcairo.so does, but that's off-topic.</span >
As far as can tell that's because Link Time Optimization effectively disables
debug symbols on libcairo-script-interpreter.so and libcairo-trace.so. My
understandin is that LTO does not work well with debug symbols yet, but I
wonder why it seems to work fine on libcairo.so.
After brutally stripping away the section related to -flto in
build/configure.ac.warnings I got debug symbols working everywhere.
To get back to the main point of this bug, I seem to be affected too and here's
the simple way to trigger it on my Debian installation (sid, libcairo2
1.14.0-2.1) using zenity:
$ cairo-trace cairo-trace zenity --info --text foo
cairo-trace: Recording cairo trace data to /home/em/zenity.25955.trace
$ cairo-perf-trace /home/em/zenity.25955.trace
[ # ] backend test min(s) median(s) stddev. count
[ 0] xcb zenity.25955 Error during replay, line 61:
invalid value (typically too big) for the size of the input (surface, pattern,
etc.)
[ 0] xlib zenity.25955 Error during replay, line 61:
invalid value (typically too big) for the size of the input (surface, pattern,
etc.)
[ # ] image: pixman 0.32.6
[ 0] image zenity.25955 Error during replay, line 61:
invalid value (typically too big) for the size of the input (surface, pattern,
etc.)
[ # ] image16: pixman 0.32.6
[ 0] image16 zenity.25955 Error during replay, line 61:
invalid value (typically too big) for the size of the input (surface, pattern,
etc.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>