Rotating rectangle crashes Inkscape 0.92.2

Bug #1765950 reported by Alessandro Pocaterra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Inkscape 0.92.2 (5c3e80d, 2017-08-06) on Ubuntu 17.10

Rotating a rectangle (by means of handles) crashes Inkscape. No error code is returned.

In attachment a stripped down SVG (error.svg) that manifest this problem.
Rotate SLOWLY! Rotating fast is more difficult to make it happen: it is very position dependent, perhaps linked to some internal division by zero.

Removing the left circle and then rotating (file ok.svg attached to the next comment), it looks like there is no error.

Revision history for this message
Alessandro Pocaterra (alepoc69) wrote :
Revision history for this message
Alessandro Pocaterra (alepoc69) wrote :

This is the error-free version.

Revision history for this message
Alvin Penner (apenner) wrote :

thank you for taking the time to issue a report.
problem not reproduced on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)

- does the problem go away if you disable snapping?
- similar to https://bugs.launchpad.net/inkscape/+bug/1750817?

Revision history for this message
Alessandro Pocaterra (alepoc69) wrote :

Alvin, thank you for your very quick answer.

It is definitely related to snapping: I couldn't pinpoint which snapping is causing it (it could be a combination of them, because I couldn't find a single one that causes the issue.
So it could be related to #1750817.

You gave me the idea to launch it from terminal, and after the crash there is indeed an error message. If you need any test on my side just ask.

```
inkscape: /build/inkscape-PiBboB/inkscape-0.92.2/src/2geom/elliptical-arc.cpp:573: void Geom::EllipticalArc::_filterIntersections(std::vector<Geom::Intersection<> >&, bool) const: Assertion `are_near(_ellipse.pointAt(t), i->point(), 1e-5)' failed.

Emergency save activated!

Emergency save document locations:
  /home/alex/Desktop/mappa frühlingsfest 2018/error.svg.2018_04_22_12_37_29.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

** (inkscape:3972): WARNING **: The snapmanager has been set up before, but unSetup() hasn't been called afterwards. It possibly held invalid pointers
inkscape: /build/inkscape-PiBboB/inkscape-0.92.2/src/2geom/elliptical-arc.cpp:573: void Geom::EllipticalArc::_filterIntersections(std::vector<Geom::Intersection<> >&, bool) const: Assertion `are_near(_ellipse.pointAt(t), i->point(), 1e-5)' failed.
Aborted (core dumped)
```

Revision history for this message
Hachmann (marenhachmann) wrote :
Revision history for this message
Alessandro Pocaterra (alepoc69) wrote :

Even if the effect looks similar, according to the log messages I would say they have different origins.

Revision history for this message
mray (mrayyyy) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/298
Closed by: https://gitlab.com/mray

tags: added: bug-migration
Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.