Bug 24702 - Endless loop in _cairo_stroker_line_to_dashed()
Summary: Endless loop in _cairo_stroker_line_to_dashed()
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.9.5
Hardware: Other All
: medium critical
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: cairo-1.10
  Show dependency treegraph
 
Reported: 2009-10-23 10:13 UTC by Hans Breuer
Modified: 2009-11-29 07:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Hans Breuer 2009-10-23 10:13:14 UTC
Originally reported against Dia (https://bugzilla.gnome.org/show_bug.cgi?id=587218), already discussed to some extend on the cairo mailing list (http://lists.cairographics.org/archives/cairo/2009-June/017513.html ) this is still reproduceable with cairo 1.9.5.

As outlined on the mailing list I think a simple check against "unstable math assumption" could fix this. As written in http://lists.cairographics.org/archives/cairo/2009-June/017506.html the issue is reprduceable independent of compiler (gcc or msvc), os (gentoo linux or windows) and cairo version (1.8.x, 1.93, 1.9.5 at least) and cairo backend. 

It would be really nice if the given fix could be applied because the work-around I've came up with is very obscure to me. See: http://bugzilla-attachments.gnome.org/attachment.cgi?id=137509
Comment 1 M Joonas Pihlaja 2009-11-29 07:04:44 UTC
This and other similar infinite loops have been fixed by Andrea Canciani in commit 26e9f149063b9e1fdb54fc54fccbefdf04a68190 of git master.  Please reopen this bug if the fix doesn't work for you.

Cheers,

Joonas


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.