Crash with snap to cusp nodes in 2geom Geom::EllipticalArc::_filterIntersections() in Inkscape 0.92.4

Migrated from: https://bugs.launchpad.net/inkscape/+bug/1810118

Steps to reproduce:

  • open Inkscape
  • Load the attached SVG file
  • Make sure "Snap to cusp nodes" is turned on
  • Select the biggest square, click again to get rotation arrows
  • Using the lower-right rotation arrows, rotate the square (either clockwise or counter-clockwise)

If "Snap to cusp nodes" is turned off, the crash does not reproduce.

What happened?

On 0.92.4, triggers an assertion (backtrace attached)

What should have happened?

On Inkscape 1.0alpha (3a1866ab31, 2019-03-25) there is no crash encountered.

Inkscape Version and Operating System:

Originally reported on

  • Inkscape version: 0.92.3
  • Operating System: Ubuntu
  • Operating System version: 18.10 (cosmic)

Confirmed on

  • Inkscape Version: 0.92.4
  • Operating System: Ubuntu
  • Operating System version: 18.04

Attachments:

backtrace.txt

crashy-file.svg

repro-screenshot

Edited by Bryce Harrington
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information