Bug 24702

Summary: Endless loop in _cairo_stroker_line_to_dashed()
Product: cairo Reporter: Hans Breuer <hans>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: medium    
Version: 1.9.5   
Hardware: Other   
OS: All   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=587218
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 24384    

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.