Orthogonal connectors cause crash on load

Bug #705382 reported by Ken Gilmer on 2011-01-20
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Gellule

Bug Description

On Ubuntu 10.10, running from terminal produces this error on crash:

kgilmer@t410s:~$ inkscape
inkscape: libavoid/orthogonal.cpp:1747: void Avoid::buildOrthogonalChannelInfo(Avoid::Router*, size_t, Avoid::ShiftSegmentList&): Assertion `displayRoute.at(indexLow)[altDim] < displayRoute.at(indexHigh)[altDim]' failed.

Emergency save activated!
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.

More info:
kgilmer@t410s:~$ uname -a
Linux t410s 2.6.35-25-generic #43-Ubuntu SMP Thu Jan 6 22:25:21 UTC 2011 x86_64 GNU/Linux
kgilmer@t410s:~$ file /usr/bin/inkscape
/usr/bin/inkscape: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
kgilmer@t410s:~$ inkscape --version
Inkscape 0.48.0 r9654 (Sep 20 2010)

Ken Gilmer (kgilmer) wrote :
su_v (suv-lp) on 2011-01-20
tags: added: connectors crash
Changed in inkscape:
importance: Undecided → High
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r10009 on OS X 10.5.8

Console message:

Assertion failed: (displayRoute.at(indexLow)[altDim] < displayRoute.at(indexHigh)[altDim]), function buildOrthogonalChannelInfo, file libavoid/orthogonal.cpp, line 1747.

Same message/backtrace in:
Bug #635469 “[connectors] 'Exchange Position' of objects with orthogonal connectors causes crash”
Bug #700298 “File with connector crashes on load”

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp) wrote :

Attached file no longer crashes when opened in Inkscape 0.48.0 and 0.48+devel r10009.

The was manually edited in a plain-text editor to change the type of the two connector lines from "orthogonal" to "polyline" (default). Hopefully this allows you to continue to work on this project without having to completely redraw the document.

su_v (suv-lp) on 2011-01-21
summary: - A file I created in inkscape caused it crash and crashes each time
- immediately after opening file.
+ Orthogonal connectors cause crash on load
su_v (suv-lp) wrote :

Crash no longer reproduced with patch attached to bug #771738
tested with Inkscape 0.48+devel r10268+patch on Mac OS X 10.5.8 (i386)

ScislaC (scislac) on 2011-06-14
Changed in inkscape:
status: Confirmed → Fix Committed
assignee: nobody → Gellule (gellule-xg)
milestone: none → 0.48.2
Ted Gould (ted) on 2011-09-07
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers