Crash when ungrouping connectors
Bug #168033 reported by
Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Critical
|
Michael Wybrow | ||
inkscape (Debian) |
Fix Released
|
Unknown
|
Bug Description
create 3 objects, connect two of them and then mark the
3rd so that the connectors avoid it. Group the 3
objects, then ungroup - crash.
Inkscape crashes with error:
"Inkscape encounted an internal error and will close
now. Automatic backups of unsaved..."
Inkscape 0.44 Windows XP
reproducible 9 out of 10 times
tomh
Changed in inkscape (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
I can confirm this crash in recent SVG build. Here's a back
trace
Program received signal SIGSEGV, Segmentation fault. group.cpp: 184 :updateDisplay (this=0x3ebd678, group.cpp: 624 group.cpp: 61 :updateDisplay (this=0x3190030, group.cpp: 624 group.cpp: 61 :updateDisplay (this=0x318b078, ensure_ up_to_date (doc=0x34b8fa0) end_move_ compensate true) at ationNotificati on bin/../ lib/gcc/ mingw32/ 3.4.4/. ./../.. /../include/ c++/3.4. 4/bits/ Router: :delShape (this=0x2c2db50, bin/../ lib/gcc/ mingw32/ 3.4.4/. ./../.. /../include/ c++/3.4. 4/bits/ :~SPAvoidRef (this=0x6d8d540) ref.cpp: 52 :releaseReferen ces (this=0x3ebf968) group.cpp: 136 :releaseReferen ces (this=0x3ebd678) remove_ child (object=0x3190030, group.cpp: 166 repr_child_ removed (repr=0x34b74d4, 0x69269b4, ref=0x0, data=0x3190030) at :XML::Composite NodeObserver: :notifyChildRem oved ( :XML::SimpleNod e::removeChild 0x69269b4) at xml/simple- node.cpp: 445 :deleteObject (this...
sp_item_update (object=0x3ebd678, ctx=0x22d8c0, flags=2) at
uri-references.h:74
74 SPObject *getObject() const { return _obj; }
(gdb) bt
#0 sp_item_update (object=0x3ebd678, ctx=0x22d8c0, flags=2)
at uri-references.h:74
#1 0x0044cdae in sp_group_update (object=0x3ebd678,
ctx=0x22d8c0, flags=2)
at sp-item-
#2 0x00422c74 in SPObject:
ctx=0x22d8c0,
flags=0) at sp-object.cpp:1232
#3 0x0044d9b9 in CGroup::onUpdate (this=0x2c39390,
ctx=0x22da40, flags=2)
at sp-item-
#4 0x0044cd8f in sp_group_update (object=0x3190030,
ctx=0x22da40, flags=2)
at sp-item-
#5 0x00422c74 in SPObject:
ctx=0x22da40,
flags=0) at sp-object.cpp:1232
#6 0x0044d9b9 in CGroup::onUpdate (this=0x2c2c3c0,
ctx=0x22dc80, flags=2)
at sp-item-
#7 0x0044cd8f in sp_group_update (object=0x318b078,
ctx=0x22dc80, flags=2)
at sp-item-
#8 0x00414fc0 in sp_root_update (object=0x318b078,
ctx=0x22dda0, flags=2)
at sp-root.cpp:545
#9 0x00422c74 in SPObject:
ctx=0x22dda0,
flags=0) at sp-object.cpp:1232
#10 0x0040f3c6 in sp_document_
at document.cpp:763
#11 0x00602597 in sp_conn_
(mp=<incomplete type>,
moved_item=0x0, path=0x3ebe808, updatePathRepr=
sp-conn-end.cpp:44
#12 0x00604791 in emitPathInvalid
(ptr=0x3ebe808)
at
c:/mingw/
stl_list.h:216
#13 0x0045c21a in Avoid::
shape=0x6a31980)
at
c:/mingw/
stl_list.h:131
#14 0x004921a5 in SPAvoidRef:
at conn-avoid-
#15 0x00416d98 in sp_item_release (object=0x3ebf968) at
sp-item.cpp:419
#16 0x00423ecf in SPObject:
at sp-object.cpp:857
#17 0x00425298 in sp_object_detach (parent=0x3ebd678,
object=0x3ebf968)
at sp-object.cpp:642
#18 0x004253ec in sp_object_release (object=0x3ebd678) at
sp-object.cpp:723
#19 0x00416d8e in sp_item_release (object=0x3ebd678) at
sp-item.cpp:424
#20 0x0044ca36 in sp_group_release (object=0x3ebd678) at
sp-item-
#21 0x00423ecf in SPObject:
at sp-object.cpp:857
#22 0x00425298 in sp_object_detach (parent=0x3190030,
object=0x3ebd678)
at sp-object.cpp:642
#23 0x0044cba2 in sp_group_
child=0x69269b4)
at sp-item-
#24 0x00421bcd in sp_object_
child=
sp-object.cpp:909
#25 0x004b6193 in
Inkscape:
this=0x34b74b4, node=@0x34b74d4, child=@0x69269b4, prev=0x0)
at ./util/list.h:134
#26 0x0049405f in Inkscape:
(this=0x34b7480,
child=
#27 0x004263b9 in SPObject: