nudging elements with connectors causes crash

Bug #892931 reported by Michael Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

After building a simple class diagram (10 classes) and connecting the diagram up with connectors, I attempted to move the whole image with a nudge (alt + arrow key), which caused Inkscape to crash.

I have replicated this reliably with 0.48.1 and 0.48.2 r9819.

I will attempt to attach a backtrace shortly

Revision history for this message
Michael Jensen (emjay1988) wrote :

Inkscape appears to catch the crash and I can't get a backtrace with GDB. (Windows)

I will attach the file that is causing the crash.

Instructions to replicate:
Double-click in empty area to move out of the "Message" group (#g3812-0-3-3-7).
Ctrl + A to select all
Alt + left arrow (this nudge works)
Alt + right arrow (causes crash)

Note that the nudge left also causes the connectors to become 3-part connectors, rather than straight lines.

Revision history for this message
su_v (suv-lp) wrote :

> Double-click in empty area to move out of the "Message" group (#g3812-0-3-3-7).

1) if current drawing level is 'Layer 1':
Crash not reproduced with Inkscape 0.48.1, 0.48.2 and 0.48+devel r10744
2) if current drawing level is group '#3779':
Crash reproduced with Inkscape 0.48.1, 0.48.2 and 0.48+devel r10744

(tested on on Mac OS X 10.5.8 (i386)).

Console message:
terminate called after throwing an instance of 'Geom::InfiniteSolutions'
  what(): lib2geom exception: There are infinite solutions (2geom/line.cpp:299)

(backtrace from 0.48+devel r10744 debug build attached).

tags: added: connectors crash
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Backtrace seems the same as the one attached to comment #4 in
 Bug #682585 “Inkscape crashes when moving an object”
 <https://bugs.launchpad.net/inkscape/+bug/682585>

-> probably a duplicate of bug #682585 (or at least sharing the same underlying trigger when rerouting connectors after moving connector-avoided objects, possibly in combination with orthogonal connectors)

tags: added: transformations
Revision history for this message
su_v (suv-lp) wrote :

> 2) if current drawing level is group '#3779':
> Crash reproduced with Inkscape 0.48.1, 0.48.2 and 0.48+devel r10744

Crash reproduced with Inkscape 0.48.3.1 and 0.48+devel r11005 on OS X 10.7.2

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk 12228.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Uwe Jugel (uwe.jugel) wrote :

1) if current drawing level is 'Layer 1':
Crash not reproduced with Inkscape 0.91 r13725, OS X 10.9.5
2) if current drawing level is group '#3779':
Crash not reproduced with Inkscape 0.91 r13725, OS X 10.9.5

In both cases the rects, texts and connectors move along nicely and the connectors stay connected.
However, the connectors still to become 3-part connectors.

Revision history for this message
jazzynico (jazzynico) wrote :

Tested again on Windows XP (32bits):
- Reproduced with 0.48.5 and trunk revision 12650.
- Not reproduced with trunk revisions 13031 and 13901.

Revision history for this message
jazzynico (jazzynico) wrote :

And tested on Crunchbang Waldorf:
- Reproduced with 0.48.3.1.
- Not reproduced with 0.91 and trunk revision 13904.

Revision history for this message
jazzynico (jazzynico) wrote :

Closing "Fix released". Don't hesitate to reopen if you run into the same issue again with a recent Inkscape version.

Changed in inkscape:
milestone: none → 0.91
status: Triaged → Fix Released
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.