[cairo-bugs] [Bug 104410] New: When a recording surface is used as source, a script surface writes the output device after all resources should have been freed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 28 23:37:49 UTC 2017


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

            Bug ID: 104410
           Summary: When a recording surface is used as source, a script
                    surface writes the output device after all resources
                    should have been freed.
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: anntzer.lee at gmail.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 136439
  --> https://bugs.freedesktop.org/attachment.cgi?id=136439&action=edit
minimal example reproducing the issue.

When a surface and the associated device are flush()ed and finish()ed, I
believe that cairo should never write to the device anymore (the documentation
contains sentences such as "This function finishes the surface and drops all
references to external resources. For example, for the Xlib backend it means
that cairo will no longer access the drawable, which can be freed." and "This
function finishes the device and drops all references to external resources.
All surfaces, fonts and other objects created for this device will be finished,
too.").

However, when a recording surface is used as a source for a script surface, the
device appears to be accessed after the resources have been released.  See
attached source for reproducing example.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171228/127c4aca/attachment.html>


More information about the cairo-bugs mailing list