[cairo-bugs] [Bug 101833] New: Inkscape crashes with "Assertion failed", " ! surface->unbounded" when printing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 18 23:35:43 UTC 2017


            Bug ID: 101833
           Summary: Inkscape crashes with "Assertion failed", " !
                    surface->unbounded" when printing
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: win32 backend
          Assignee: cairo-bugs at cairographics.org
          Reporter: eduard.braun2 at gmx.de
        QA Contact: cairo-bugs at cairographics.org

Inkscape currently crashes on win32 when printing with the following error, see
[1] for details:

  Assertion failed!

  Program: E:\Temp\Inkscape\inkscape.git\trunk\build64\inkscape\inkscape.exe
  File: ../../cairo-1.15.6/src/cairo-recording-surface.c, Line 608

  Expression: ! surface->unbounded

While trying to debug this I found a recent commit [2] addressing a similar
issue which was reported on the mailing list [3].

Investigating further I found the same code which [2] replaced in a second
location in the affected file. Out of desperation I tried to apply the patch
here, too (see attached patch) and what can I say - Inkscape doesn't crash
anymore and prints correctly!

I honestly have no experience with cairo whatsoever and don't really know what
I did here, but I hope somebody can check if my change makes any sense and
whether it's a correct fix for the issue I was seeing.

[1] https://bugs.launchpad.net/inkscape/+bug/1665768
[3] https://lists.cairographics.org/archives/cairo/2016-June/027445.html

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

More information about the cairo-bugs mailing list