Segfault when using group feature

Bug #937239 reported by Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I have a file using the connector tool and latex fonts. When I try to group, I get a segfault and the following (probably uninformative backtrace).

I attached the file I am trying this on.

OS: Kubuntu 11.04.
Inkscape 1:0.48+devel+11002+30~oneiric1

Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fbcb70 (LWP 31461)]
[New Thread 0xb75ffb70 (LWP 31462)]
[New Thread 0xa8b36b70 (LWP 31464)]

Program received signal SIGSEGV, Segmentation fault.
0x086788e1 in ?? ()
(gdb) bt
#0 0x086788e1 in ?? ()
#1 0x08662bab in ?? ()
#2 0x080fabc9 in ?? ()
#3 0x081302b6 in ?? ()
#4 0x08128e53 in ?? ()
#5 0x0812ac1a in ?? ()
#6 0x081155a2 in ?? ()
#7 0x085f3d20 in ?? ()
#8 0x0835323f in ?? ()
#9 0x080d8570 in ?? ()
#10 0x080d86f1 in ?? ()
#11 0x0817c0b7 in ?? ()
#12 0x0825a869 in ?? ()
#13 0x080e788f in ?? ()
#14 0x08260a1b in ?? ()
#15 0x0065a57d in ?? () from /usr/lib/libgtkmm-2.4.so.1
#16 0x00942c52 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#17 0x01789c3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0x0179cbe9 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0x017a5599 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0x017a58f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#21 0x00a7c553 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00940f78 in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00941240 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#24 0x01421888 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#25 0x0180f25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x0180f990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x0180ff9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x0093ffcf in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#29 0x005d1124 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#30 0x005d1b5f in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#31 0x0809cc6d in ?? ()
#32 0x08088fcb in ?? ()
#33 0x01a2c113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#34 0x0809ade1 in ?? ()

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

Reproduced with Inkscape 0.48.2 and 0.48+devel r11002 on OS X 10.7.2 (64bit):

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

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

Reduced test case attached: drag-select the remaining objects (from two layers) and group them to reproduce the crash.

Based on the backtrace, this is a duplicate of
Bug #837631 in Inkscape: “Crashes when grouping a number of items together”
<https://bugs.launchpad.net/inkscape/+bug/837631>

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

Note: stack order of layers matters when grouping objects from different layers:

Crash is triggered ff connectors (+ connected objects) are moved onto a different layer when grouping a selection of objects from different layers.

Workaround for the file 'hier_struct.svg': move the 'nodes' layer above the 'text' layer.

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

Linking as duplicate to bug #837631 - please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

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.