[cairo-bugs] [Bug 52548] valgrind advice: Go fix your program!
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 30 02:19:16 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=52548
--- Comment #3 from Milan Crha <mcrha at redhat.com> 2012-07-30 09:19:16 UTC ---
You are right, this is from the end of valgrind, memcheck tool. I do not think
this is compiled with any special patches on cairo, just vanilla checkout of
it. The valgrind command looked like this:
$ G_SLICE=always-malloc valgrind --num-callers=50 evolution &>log.txt
The log starts:
==13145== Memcheck, a memory error detector
==13145== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==13145== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==13145== Command: evolution
==13145==
--13145-- WARNING: Serious error when reading debug info
--13145-- When reading debug info from /usr/lib/libGL.so.195.36.24:
--13145-- Can't make sense of .data section mapping
--13145-- WARNING: Serious error when reading debug info
--13145-- When reading debug info from /usr/lib/libGLcore.so.195.36.24:
--13145-- Can't make sense of .data section mapping
then few runtime warnings, which are from evolution and unrelated, then the
cairo issues start:
==13145== Invalid write of size 4
==13145== at 0x723CAF5: _cairo_xlib_source_create_for_pattern
(cairo-xlib-source.c:955)
==13145== Address 0xbee4d4e0 is on thread 1's stack
==13145==
==13145== Invalid write of size 4
==13145== at 0x723CB01: _cairo_xlib_source_create_for_pattern
(cairo-xlib-source.c:955)
==13145== Address 0xbee4d4e4 is on thread 1's stack
==13145==
(In reply to comment #2)
> Don't worry about it, this is just self-inflicted harm - we mark part of the
> stack as invalid access, and try to reuse it. The *_fini() are a little
> overzealous.
I'm sorry, I do not follow. If that's for me, to "not worry", then the main
point of this bug report is that these errors make it impossible to track
memory issues with valgrind, because of cairo. And cairo is used in quite many
projects these days (basically anything using gtk).
--
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