GNOME Bugzilla – Bug 587218
Dia entering an endless loop with cairo print/display rendering/png export
Last modified: 2009-12-05 19:02:23 UTC
Originally reported on the mailing list [ http://mail.gnome.org/archives/dia-list/2009-June/msg00062.html ] as an issue with Dia for Windows this is reproducable on Linux, too (different CPU, different compiler, different cairo versions). Although this appears to be some bug in cairo [ http://lists.cairographics.org/archives/cairo/2009-June/017506.html ], it maybe should be worked around in Dia.
Created attachment 137508 [details] simple diagram to reproduce the endless loop * Load the above diagram * Export as PDF /or/ * Ensure the libart-plug-in is not loaded (File/Plugins...) * Resize the window to see box and line * Switch to (cairo based) View/Antialiased In both cases cairo (1.8.4, 1.8.6, 1.9.3 are entering an endless loop in _cairo_stroker_line_to_dashed()
Created attachment 137509 [details] [review] bogus patch to work around that endess loop
Now reported in cairo's bugzilla, too.
The upstream bug is fixed in will be available with cairo-1-10 whenever that gets released. I've also commited the bogus workaround patch from above. So this should be resolved even with older cairo version.