Crash when grouping objects+connectors across different layers

Bug #837631 reported by Nigel B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
High
Unassigned

Bug Description

After selecting a number of items ( approximately more than 10), Inkscape crashes when attempting to group them using the button for that task. Version : Inkscape 0.48.1 r9760; OS: Ubuntu 11.04, running Unity.

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

Reproduced with Inkscape 0.48.1 and 0.48+devel r10600 on Mac OS X 10.5.8 (i386):

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
0x008b6b50 in Avoid::VertInf::removeFromGraph (this=0x0, isConnVert=true) at libavoid/vertices.cpp:209
209 COLA_ASSERT(!(id.isShape));

(backtrace from r10600 attached)

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

> After selecting a number of items ( approximately more than 10)

After converting all the unconnected connectors (used to draw the pseudo-connector lines), which apparently - based on the backtrace - trigger the crash, into regular paths, I could no longer reproduce the crash and freely group and ungroup again various counts of objects from the drawing (test with the attached modified document).

Tip: Unfortunately, connectors [1] sometimes can be rather unstable - I would recommend to only use them to draw lines when you depend on the automatic rerouting feature, in all other use cases draw short straight lines with the pen (freehand) tool (click once for the start point, click a second time for the end point).

[1] <http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Connectors.html>

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

Attaching reduced test case: drag-select the cloud and the line (or select all across all layers) and group it to reproduce the crash

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

Attaching another (simplified) test case: stack order of the layers matters (see also comment #5 in bug #937239).

su_v (suv-lp)
summary: - Crashes when grouping a number of items together
+ Crash when grouping objects+connectors across different layers
Revision history for this message
jazzynico (jazzynico) wrote :

Commenting libavoid/vertices.cpp:209 seems to fix the issue (I didn't test it as needed, and it probably generates side-effect bugs...).

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Possible duplicate:

bug #977003 <inkscape crashed with SIGSEGV in Avoid::VertInf::removeFromGraph()>

Revision history for this message
jazzynico (jazzynico) wrote :

Crashed again on Windows XP, Inkscape trunk revision 12228.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Johan Engelen (johanengelen) wrote :

Marked as duplicate. The fix to bug #977003 fixed this crash too. From backtrace, it seems it was the same bug.

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.