0.92.x Crash on Connector network layout with circle of connections

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

Steps to reproduce:

  • open Inkscape
  • create two rectangles
  • create two connections (o to access connector tool) between the rectangles.
  • select all (ctrl+a) or just the two rectangles
  • open Align and Distribute dialog (Ctrl+shift+a)
  • select "nicely arrange selected connector network" (first option in rearrange)

What happened?

Crash connector_tool_backtrace0.92.x.txt

Also, full backtrace from su_v connect_tool_bug1369132-bt-full-r13555-debug-osx-quartz-64bit.txt, based off the original file Neues_Dokument_1.2014_09_13_19_31_41.0.svg

su_v noted that no crash occurred when "Do not allow overlapping shapes" is enabled (from the connector toolbar) in 0.91pre2/other versions. I did not replicate this in 0.92.4, though I'm not sure

While my comment on the launchpad issue stated I could not replicate from the original file, I did end up replicating if I redrew the connections in 0.92.x.

Inkscape Version and Operating System:

  • Inkscape 0.48.4 r9939 Linux Mint 17
  • Inkscape 0.47 r22583, 0.48.2 r9819, 0.48.3.1 r9886, 0.48.4 r9939, 0.48.5 r10042, OS X 10.7.5
  • Inkscape 0.91pre2 r13555, OS X 10.7.5
  • Inkscape 0.91 r13725 Jan 30 2015 Windows 10
  • Inkscape trunk revision 13556, Crunchbang Waldorf
  • Inkscape 0.92.3 (2405546, 2018-03-11) Linux Mint 19.1
  • Inkscape 0.92.4 (3185116b9c, 2019-05-12) Linux Mint 19.1
  • Inkscape 0.92.4 5da689c313 2019-01-14 flatpak Linux Mint 19.1

While not replicated on Inkscape 1.0alpha (9dee831, 2019-01-15) appimage or 1.0alpha (9350227709, 2019-05-12, custom) Linux Mint 19.1, I am not sure it was actually solved (as noted in Launchpad, I could not get same same set of functions to be called. In fact, no connections seem to be "recognised" when running the "nicely arrange selected connector network".

  • Inkscape 0.48.5 r10040, Windows 7 not replicated
  • Inkscape trunk revision 13554 Windows XP not replicated

Needs further investigation.

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