I found code in math.c of pano13, namely in function albersEqualAreaConic_ParamCheck which is error prone and already commented with "The stability of these operations should be improved". A protection against division by zero is not implemented which may result in invalid parameter values. There exist an additional check whether all parameters are valid, but this is not reasonable, because the operations before should only be processed if the result will be valid. I implemented a simply solution but Hugin will still crash when moving the sliders for phi1 and phi2. Some additional fix seems to be needed.
Guido Bruno Postle schrieb: > On Fri 13-Mar-2009 at 16:12 -0700, allard wrote: >> Any time, fast or normal preview.Select Albers Conical projection. If >> phi=-phi2 (even if I just pass the slider through that value), I crash >> hugin. > > I can't get hugin to crash, both previews just go blank when > phi=-phi2. Note this was first reported a year ago: > > https://sourceforge.net/tracker2/index.php?func=detail&aid=2000332&group_id=77506&atid=550441 > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
