[AD] [ alleg-Bugs-2880908 ] [primitives addon] draw_spline crashes for close points

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2880908, was opened at 2009-10-17 05:08
Message generated for change (Settings changed) made by siegelord
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2880908&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Addons
Group: 4.9
>Status: Closed
>Resolution: Fixed
Priority: 4
Private: No
Submitted By: Tony (neobrain)
Assigned to: Nobody/Anonymous (nobody)
Summary: [primitives addon] draw_spline crashes for close points

Initial Comment:
al_draw_spline crashes in al_calculate_spline when the four control points are differing only by a small value like 0.1f AND the same line gets called at least twice.
Only calling al_calculate_spline does not crash.
The bug can be reproduced by running theattached code. (try running the for loop more than twice if it doesn't crash for you)
This is on an openSUSE 11.2 system using Allegro from SVN (the bug has been around since at least 4.9.13 though)


----------------------------------------------------------------------

>Comment By: SiegeLord (siegelord)
Date: 2009-10-18 17:39

Message:
Thanks. Fixed in Rev. 12675.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2880908&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/