[cairo-bugs] [Bug 52548] valgrind advice: Go fix your program!

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 30 01:13:16 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52548

Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Uli Schlachter <psychon at znc.in> 2012-07-30 08:13:16 UTC ---
Line 955 of that file in cairo 1.12.2 is: local_pattern.base.matrix =
pattern->base.matrix;

That's just a struct-copy to a local/automatic variable. There is not much
chance for this being any kind of wrong.

http://cgit.freedesktop.org/cairo/tree/src/cairo-xlib-source.c?id=dbc0efad7e565558a3abf7f69d7675efddc4688d#n955

What's the full command line that was used? Any "magic" flags for valgrind?
This is valgrind's memcheck, isn't it? How does valgrind's output begin (I
assume that your snippet is from somewhere near the end of the log)? How was
cairo built (was support for special-valgrind/memcheck-magic enabled)?

I asked on FreeNode/#valgrind-dev and it looks like this kind of message could
be caused by marking part of the stack as NOACCESS via
VALGRIND_MAKE_MEM_NOACCESS. Were any patches applied to cairo?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list