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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 26 14:40:29 PDT 2012


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

             Bug #: 52548
           Summary: valgrind advice: Go fix your program!
    Classification: Unclassified
           Product: cairo
           Version: 1.12.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: mcrha at redhat.com
         QAContact: cairo-bugs at cairographics.org


I just received a valgrind log from a user which runs application on a bleeding
edge and the log is full of:

==13145== Invalid write of size 4
==13145==    at 0x723CB3D: _cairo_xlib_source_create_for_pattern
(cairo-xlib-source.c:955)
==13145==    by 0x1CFFF: ???
==13145==  Address 0xbee4a12c is on thread 1's stack
==13145== 
==13145== Invalid write of size 4
==13145==    at 0x723CB47: _cairo_xlib_source_create_for_pattern
(cairo-xlib-source.c:955)
==13145==    by 0x1CFFF: ???
==13145==  Address 0xbee4a130 is on thread 1's stack
==13145== 
==13145== Invalid write of size 4
==13145==    at 0x723CB51: _cairo_xlib_source_create_for_pattern
(cairo-xlib-source.c:955)
==13145==    by 0x1CFFF: ???
==13145==  Address 0xbee4a134 is on thread 1's stack

where valgrind gave up finally and wrote a nice message which I never saw yet:

==13145== More than 1000 different errors detected.  I'm not reporting any
more.
==13145== Final error counts will be inaccurate.  Go fix your program!
==13145== Rerun with --error-limit=no to disable this cutoff.  Note
==13145== that errors may occur in your program without prior warning from
==13145== Valgrind, because errors are no longer being displayed.

-- 
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