'Assertion failed' in diagrams (connector tool)

Bug #590047 reported by Remi B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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

Revision history for this message
Remi B (remi-inconnu) wrote :
su_v (suv-lp)
tags: added: connectors crash
Changed in inkscape:
importance: Undecided → High
Kris (kris-degussem)
summary: - assertion failed in diagramms
+ assertion failed in diagrams
Revision history for this message
su_v (suv-lp) wrote : Re: 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
Revision history for this message
Kris (kris-degussem) wrote :

Confirmed in rev 9441 Vista64

Revision history for this message
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

Revision history for this message
Kris (kris-degussem) wrote :
Revision history for this message
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.

Revision history for this message
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)
summary: - assertion failed in diagrams
+ 'Assertion failed' in diagrams (connector tool)
Revision history for this message
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)
Revision history for this message
Michael Wybrow (mjwybrow) wrote :

Fixed in r9709 of the trunk.

Changed in inkscape:
status: Confirmed → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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