![](https://secure.gravatar.com/avatar/5e0da3ab80980ef4ad600a2bd7047ad5.jpg?s=120&d=mm&r=g)
Hi all,
For some unknown reason, all lpes having theire own "addCanvasIndicators()" (namely lpe-knot and lpe-cpopyrotate) now crash inkscape whenever you try to edit with the node tool. Just in case someone is aware of some recent change in the code causing this, please make suggestions, it might save me some time trying to understand what is going on! ;-)
Cheers, jfb.
![](https://secure.gravatar.com/avatar/bb65b6b3a109d97cf9f8d6c014ede042.jpg?s=120&d=mm&r=g)
On Sun, Apr 5, 2009 at 8:52 PM, jf barraud <jf.barraud@...400...> wrote:
Hi all,
For some unknown reason, all lpes having theire own "addCanvasIndicators()" (namely lpe-knot and lpe-cpopyrotate) now crash inkscape whenever you try to edit with the node tool. Just in case someone is aware of some recent change in the code causing this, please make suggestions, it might save me some time trying to understand what is going on! ;-)
This is a crash in snapping code, so I'm ccing Diederik. Just draw a self-intersecting path with Pencil, ctrl+shift+7, choose Knot, Add, F2.
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1239353664 (LWP 25206)] 0x080d26d5 in SnapManager::freeSnap (this=0x91d70c8, point_type=1, p=@0xbf8cccfc, source_type=@0xbf8ccc5c, first_point=true, bbox_to_snap=@0xbf8cccd8) at snap.cpp:164 164 if (_desktop->event_context->_snap_window_open == false) { (gdb) bt #0 0x080d26d5 in SnapManager::freeSnap (this=0x91d70c8, point_type=1, p=@0xbf8cccfc, source_type=@0xbf8ccc5c, first_point=true, bbox_to_snap=@0xbf8cccd8) at snap.cpp:164 #1 0x080d2a00 in SnapManager::freeSnapReturnByRef (this=0x0, point_type=0, p=@0xbf8cccfc, source_type=Inkscape::SNAPSOURCE_HANDLE, first_point=true, bbox_to_snap=@0x0) at snap.cpp:142 #2 0x085250d5 in KnotHolderEntity::snap_knot_position (this=0xb1e3a98, p=@0x0) at knot-holder-entity.cpp:96 #3 0x0829fe6d in Inkscape::LivePathEffect::KnotHolderEntityCrossingSwitcher::knot_get (this=0xb1e3a98) at live_effects/lpe-knot.cpp:609 #4 0x0852494e in KnotHolderEntity::update_knot (this=0xb1e3a98) at knot-holder-entity.cpp:82 #5 0x08525627 in KnotHolderEntity::create (this=0xb1e3a98, desktop=0x8e60db0, item=0x91d70c8, parent=0x91d70c8, tip=0x0, shape=152924360, mode=152924360, color=4294967040) at knot-holder-entity.cpp:52 #6 0x0827af4b in Inkscape::LivePathEffect::Effect::addKnotHolderEntities (this=0xb1be600, knotholder=0xbf19228, desktop=0x8e60db0, item=0xba5ea28) at live_effects/effect.cpp:491 #7 0x0827afa1 in Inkscape::LivePathEffect::Effect::addHandles (this=0xb1be600, knotholder=0xbf19228, desktop=0x8e60db0, item=0xba5ea28) at live_effects/effect.cpp:471 #8 0x08548dbc in sp_item_knot_holder (item=0xba5ea28, desktop=0x8e60db0) at object-edit.cpp:55 #9 0x080cfa2c in ShapeEditor::set_item (this=0xbedff38, item=0xba5ea28, type=SH_KNOTHOLDER, keep_knotholder=false) at shape-editor.cpp:270 #10 0x0853022c in sp_node_context_setup (ec=0xa125480) at node-context.cpp:160 #11 0x08095e2a in sp_event_context_new (type=160988760, desktop=0x8e60db0, pref_path=0x8713f06 "/tools/nodes", key=0) at event-context.cpp:791
participants (3)
-
bulia byak
-
Diederik van Lierop
-
jf barraud