'Assertion failed' in diagrams (connector tool)

Bug #590047 reported by Remi B on 2010-06-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Michael Wybrow

Bug Description

I use the version "inkscapeR9412-1005140043.7z" under Vista. If I play a few minutes with diagrams (only rectangles and connectors) assertion failed happens, then it occurred when clicking on the "Make selected objects known connectors".

Assertion failed:
   Program:...
   File: src/libavoid/shape.cpp
   Line:81
   Expression : !_router->shapeInQueuedActionList(this)

Best regards

Remi B (remi-inconnu) wrote :
su_v (suv-lp) on 2010-06-05
tags: added: connectors crash
Changed in inkscape:
importance: Undecided → High
Kris (kris-degussem) on 2010-06-05
summary: - assertion failed in diagramms
+ assertion failed in diagrams

reproduced with Inkscape 0.47+devel r9479 on OS X 10.5.8

console message:
Assertion failed: (!_router->shapeInQueuedActionList(this)), function ~ShapeRef, file libavoid/shape.cpp, line 81.

Changed in inkscape:
status: New → Confirmed
Kris (kris-degussem) wrote :

Confirmed in rev 9441 Vista64

Kris (kris-degussem) wrote :

In addition, the 2 leftmost buttons can not be selected (hence, should be either disabled or selectable)
From the topright to the rectangle in the middle (see fig), it is not possible to disallow overlap.

The error window pops up when for example
1) creating the connector between the topright and the rectangle in the middle (orthogonal connector must be selected).
2) Then selecting the rectangle in between the two.
3) selecting the leftmost button in the button bar
4) selecting the second button in the button bar

Kris (kris-degussem) wrote :
su_v (suv-lp) wrote :

Kris wrote:
> In addition, the 2 leftmost buttons can not be selected
AFAIU these are not 'state' buttons, they execute the command for the selected objects (like the reset button on the ellipse and star toolbar)

> From the topright to the rectangle in the middle (see fig),
> it is not possible to disallow overlap.
This should be filed separately IMHO: the rerouting around avoided objects works far better in orthogonal mode, unfortunately a regression compared to 0.47.

su_v (suv-lp) wrote :

The same crash happens when trying to reproduce bug #546752 “Crash when ungrouping a connector that avoids a shape” with Inkscape 0.47+devel (bug #546752 was filed against 0.47, see my comment #4 there):

These actions crash Inkscape 0.47+devel:
- removing the attribute 'inkscape:connector-avoid' on an object using the second toolbar button ("Make connectors ignore selected objects")
- grouping objects with the attribute 'inkscape:connector-avoid'
- deleting an object with the attribute 'inkscape:connector-avoid'

su_v (suv-lp) on 2010-06-07
summary: - assertion failed in diagrams
+ 'Assertion failed' in diagrams (connector tool)
su_v (suv-lp) wrote :

updated list:

These actions crash Inkscape 0.47+devel:
1) removing the attribute 'inkscape:connector-avoid' on an object using the second toolbar button ("Make connectors ignore selected objects")
2) grouping objects with the attribute 'inkscape:connector-avoid'
3) deleting an object with the attribute 'inkscape:connector-avoid'
4) converting a shape with the attribute 'inkscape:connector-avoid' to path

Changed in inkscape:
assignee: nobody → Michael Wybrow (mjwybrow)
Michael Wybrow (mjwybrow) wrote :

Fixed in r9709 of the trunk.

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

Setting milestone to 0.48: the fix (r9709 in trunk) had been backported to 0.48 in r9654 (last revision before the release)

<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/9709>
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/revision/9654>

Changed in inkscape:
milestone: none → 0.48
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