[cairo-bugs] [Bug 11855] New: Segfault with cairo_pattern_set_user_data

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 5 22:00:24 PDT 2007


           Summary: Segfault with cairo_pattern_set_user_data
           Product: cairo
           Version: 1.5.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: muntyan at tamu.edu
         QAContact: cairo-bugs at cairographics.org

See attached program (tutorial one, modified). In short, this segfaults:

cairo_pattern_set_user_data (pattern, ...);
cairo_mask (cr, pattern);

A related question: does any cairo function ever return a pattern_t object
which was passed to any other function at some point? I am using
cairo_pattern_set_user_data() to make sure I don't have many wrapper objects
for the same cairo object in a language binding, so this bug is kind of a show
stopper for me.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the cairo-bugs mailing list