[cairo-bugs] [Bug 10165] New: Cairo crashes on complex multipath curve

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 2 17:19:05 PST 2007


           Summary: Cairo crashes on complex multipath curve
           Product: cairo
           Version: 1.3.9
          Platform: x86 (IA32)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: high
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: igor.e.novikov at gmail.com
         QAContact: cairo-bugs at cairographics.org

Complex multipath curve results Cairo crash without any error message.
Application just disappeares. Sample curve you can find on following link:


This bug is reproduced on sK1 app. sK1 has two renderers: Xlib based and Cairo
based. Test curve doesn't crash Xlib-based renderer as for wireframe and for
normal view:


Cairo-based renderer works well for wireframe mode:


but for normal view it is crashed. Simple tracing shows that that problem cause
is cairo_fill() function call. Tolerance increasing using cairo_set_tolerance()
slightly improve situation, but if number of paths in this curve will be
increased, Cairo crashes anyway.

We use x11-backend for direct painting on canvas. The testcase was specially
created to reproduce problem avoiding any additional factors. Usually we got
such failure on text converted to curve:


To produce this screen the text on canvas was splitted on separate lines. Even
two text lines combined in one curve results Cairo crash. For non complex
curves which have not multipath content Cairo works fine:


This drawing is a bitmap vectorization result (traced in CorelTRACE). Initial
ai file size is ~9Mb.

If you will have any additional questions please dotn't hesitate to contact us.

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