Comment 18 for bug 425557

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

Update: Inkscape crashes while trying to snap to an intersection, and I can only reproduce this on XP, not on Fedora 11. Unfortunately, I've never been able to get a backtrace using GDB on XP, so I'm doomed: this means tracing it manually :-(

At the moment I tend believe there's a fatal bug in the 2geom library, which is triggered when trying to calculate the intersection. I don't have a clue though what's going wrong though.

This is my manual "trace":

findBestSnap() -> getClosestIntersectionCS() -> Inkscape::SnappedCurve::intersect() -> crossings (curve, curve) -> pair_intersect() -> intersect_polish_root() -> pointAndDerivatives() -> valueAndDerivatives.... it looks like Inkscape crashes when it returns back up in the chain, i.e. back to pointAndDerivatives(). Is maybe something going wrong with the conversion from std::vector (Coord) to std::vector(Point) ???

I'll ask the 2geom devs to look into this, because ATM I'm stuck....