Here is a better backtrace with debug symbols on and bt full: (gdb) bt full #0 0x0000000000000000 in () #1 0x00007ffff6e769e8 in Inkscape::XML::SimpleNode::changeOrder(Inkscape::XML::Node*, Inkscape::XML::Node*) (this=0x47112d0, generic_child=0x4786c10, generic_ref=0x2e9c040) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/xml/simple-node.cpp:482 __PRETTY_FUNCTION__ = "virtual void Inkscape::XML::SimpleNode::changeOrder(Inkscape::XML::Node*, Inkscape::XML::Node*)" child = 0x7fffffffb860 ref = 0x7fffffffb860 prev = 0x2e9c0e0 tracker = { = {_vptr.EventTrackerBase = 0x7fffffffb830, _active = 123}, } next = 0x7fffffffb860 #2 0x00007ffff70590d5 in SPItem::lowerToBottom() (this=0x3cfa870) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/sp-item.cpp:331 ref = 0x2e9c040 bottom = {static stateful_value_traits = false, members_ = {nodeptr_ = 0x2e9c0e0}} #3 0x00007ffff6e807bd in box3d_set_z_orders(SPBox3D*) (box=0x2e9c000) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/box3d.cpp:1092 i = 0 sides = std::map with 6 elements = {[0] = 0x2e959a0, [1] = 0x7841c90, [2] = 0x3cfa870, [3] = 0x7851410, [4] = 0x7853ce0, [5] = 0x78564e0} side = {first = 2, second = } #4 0x00007ffff69e9754 in Inkscape::UI::Tools::Box3dTool::drag(unsigned int) (this=0x2e92e70) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/ui/tools/box3d-tool.cpp:559 __PRETTY_FUNCTION__ = "void Inkscape::UI::Tools::Box3dTool::drag(guint)" #5 0x00007ffff69e84da in Inkscape::UI::Tools::Box3dTool::root_handler(_GdkEvent*---Type to continue, or q to quit--- ) (this=0x2e92e70, event=0x3856280) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/ui/tools/box3d-tool.cpp:294 motion_w = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>, boost::detail::empty_base, boost::detail::true_t>> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> >> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> > >> = { to continue, or q to quit--- nt, Geom::Zoom, Geom::EmptyClass> > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> >> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>> = { > > > > > >, boost::detail::false_t> >> = { > > > > > >, boost::detail::false_t> > >> = { > > > > > >, boost::detail::false_t> >> = { to continue, or q to quit--- ltipliableNoncommutative > > > > > >, boost::detail::false_t>> = { > > > > > > >> = { > > > > > > > >> = { > > > > > > >> = { > > > > > >> = { > > > > >> = { > > > >> = { to continue, or q to quit--- eom::Point, Geom::HShear, Geom::MultipliableNoncommutative > > >> = { > >> = { >> = {> = { = {}, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, _pt = {40.78350830078125, -271.441162109375}} motion_dt = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>, boost::detail::empty_base, boost::detail::true_t>> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> >> = { to continue, or q to quit--- iableNoncommutative > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> > >> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t> >> = { > > > > > >, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>> = { > > > > > >, boost::detail::false_t> >> = { > > > > > >, boost::detail::false_t> > >> = { to continue, or q to quit--- utative > > > > > >, boost::detail::false_t> >> = { > > > > > >, boost::detail::false_t>> = { > > > > > > >> = { > > > > > > > >> = { > > > > > > >> = { > > > > > >> = { to continue, or q to quit--- ::MultipliableNoncommutative > > > > >> = { > > > >> = { > > >> = { > >> = { >> = {> = { = {}, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, }, _pt = {116.52430943080356, 775.546177455357}} m = @0xda4688: {guide = { = { = {_vptr.Snapper = 0x7ffff7d20720 , _snapmanager = 0xda4688, _snap_enabled = true, _snap_visible_only = true}, }, }, object = { = {_vptr.Snapper = 0x7ffff7d21248 , _snapmanager = 0xda4688, _snap_enabled = true, _snap_visible_only = true}, _candidates = 0x234d8b0, _points_to_snap_to = 0x234d910, _paths_to_snap_to = 0x234d930}, snapprefs = {_active_snap_targets = {-1 , 0, 0, 0, 0, 0, -1 , 1, 0, 1, 0, 0, -1, -1, 0, -1, 0, 0, -1 , 1, -1, -1, 1, -1, -1, -1, -1, 0, -1 , 1, 0, -1, 0, -1, 0, -1, -1}, _snap_enabled_globally = true, _snap_postponed_globally = true, _strict_snapping = true, _snap_perp = false, _snap_tang = false, _grid_tolerance = 10000, _guide_tolerance = 20, _object_tolerance =---Type to continue, or q to quit--- 20}, _named_view = 0xda4560, _items_to_ignore = std::vector of length 1, capacity 1 = {0x0}, _rotation_center_source_items = std::vector of length 0, capacity 0, _guide_to_ignore = 0x0, _desktop = 0x0, _snapindicator = true, _unselected_nodes = 0x0} dragging = true document = 0x15f9dc0 selection = 0x1639e60 prefs = 0x881be0 snaps = 12 cur_persp = 0x7841800 ret = 0 #6 0x00007ffff6a6a1b0 in Inkscape::UI::Tools::sp_event_context_virtual_root_handler(Inkscape::UI::Tools::ToolBase*, _GdkEvent*) (event_context=0x2e92e70, event=0x3856280) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/ui/tools/tool-base.cpp:970 desktop = 0x1637c00 ret = 0 #7 0x00007ffff6a6a166 in Inkscape::UI::Tools::sp_event_context_root_handler(Inkscape::UI::Tools::ToolBase*, _GdkEvent*) (event_context=0x2e92e70, event=0x3856280) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/ui/tools/tool-base.cpp:958 #8 0x00007ffff6e9b9fc in sp_desktop_root_handler(SPCanvasItem*, _GdkEvent*, SPDesktop*) (event=0x3856280, desktop=0x1637c00) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/desktop-events.cpp:86 watch = false first = false #13 0x00007ffff447c812 in (instance=, signal_id=, detail=) at gsignal.c:3441 Python Exception Attempt to dereference a generic pointer.: #14 0x00007ffff672c929 in SPCanvas::emitEvent(_GdkEvent*) (this=0x80e4a0 [SPCanvas], event=0x38561f0) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/display/sp-canvas.cpp:1233 ---Type to continue, or q to quit--- parent = 0x80e4a0 [SPCanvas] mask = 4 ev = 0x3fda290 item = 0x2db1a50 [SPCanvasAcetate] finished = 0 #15 0x00007ffff672d37f in SPCanvas::handle_motion(_GtkWidget*, _GdkEventMotion*) (widget=0x80e4a0 [SPCanvas], event=0x38561f0) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/display/sp-canvas.cpp:1471 status = 32767 canvas = 0x80e4a0 [SPCanvas] #20 0x00007ffff447c812 in (instance=instance@entry=0x80e4a0, signal_id=, detail=detail@entry=0) at gsignal.c:3441 Python Exception Attempt to dereference a generic pointer.: #21 0x00007fffee631ba4 in gtk_widget_event_internal (widget=0x80e4a0 [SPCanvas], event=0x38561f0) at gtkwidget.c:7731 signal_num = return_val = 0 handled = 0 event = 0x38561f0 widget = 0x80e4a0 [SPCanvas] #22 0x00007fffee4f51ce in propagate_event (topmost=, event=, widget=0x80e4a0 [SPCanvas]) at gtkmain.c:2545 tmp = handled_event = handled_event = 0 #23 0x00007fffee4f51ce in propagate_event (widget=, event=0x38561f0, captured=, topmost=0x0) at gtkmain.c:2647 handled_event = 0 #24 0x00007fffee4f6ff0 in gtk_main_do_event (event=0x38561f0) at gtkmain.c:1878 event_widget = grab_widget = 0x80e4a0 [SPCanvas] topmost_widget = window_group = 0x4016f40 [GtkWindowGroup] rewritten_event = device = 0x67f8e0 [GdkX11DeviceXI2] ---Type to continue, or q to quit--- tmp_list = __func__ = "gtk_main_do_event" #25 0x000000000041887e in snooper(GdkEvent*, gpointer) (event=0x38561f0) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/main.cpp:1012 #26 0x00007fffee03a5c5 in _gdk_event_emit (event=event@entry=0x38561f0) at gdkevents.c:73 #27 0x00007fffee0667d2 in gdk_event_source_dispatch (source=, callback=, user_data=) at gdkeventsource.c:367 display = event = 0x38561f0 #28 0x00007ffff32271d7 in g_main_context_dispatch (context=0x837130) at gmain.c:3154 dispatch = 0x7fffee0667b0 prev_source = 0x0 was_in_call = 0 user_data = 0x0 callback = 0x0 cb_funcs = cb_data = need_destroy = source = 0x837040 current = 0x2dad2a0 i = 0 #29 0x00007ffff32271d7 in g_main_context_dispatch (context=context@entry=0x837130) at gmain.c:3769 #30 0x00007ffff3227408 in g_main_context_iterate (context=0x837130, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3840 max_priority = 0 timeout = 0 some_ready = 1 nfds = allocated_nfds = 2 fds = 0x3c7f780 #31 0x00007ffff3227722 in g_main_loop_run (loop=0x3c033e0) at gmain.c:4034 __func__ = "g_main_loop_run" ---Type to continue, or q to quit--- #32 0x00007fffee4f6245 in gtk_main () at gtkmain.c:1269 loop = 0x3c033e0 #33 0x0000000000418a74 in sp_main_gui(int, char const**) (argc=1, argv=0x7fffffffcd18) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/main.cpp:1049 main_instance = { = {callback_list_ = 0x0}, _vptr.Main = 0x7ffff05da2f0 , static signal_key_snooper_ = {}, static instance_ = 0x7fffffffcb50} fl = 0x0 retVal = 0 __PRETTY_FUNCTION__ = "int sp_main_gui(int, const char**)" create_new = true #34 0x0000000000418262 in main(int, char**) (argc=1, argv=0x7fffffffcd18) at /home/shlomif/Download/unpack/graphics/inkscape/inkscape/src/main.cpp:789 inkscape_localedir = 0x0 use_gui = 1 retcode = 32767 (gdb) q A debugging session is active. Inferior 1 [process 14585] will be killed. Quit anyway? (y or n) t Please answer y or n. A debugging session is active. Inferior 1 [process 14585] will be killed. Quit anyway? (y or n) y shlomif@telaviv1:~/Download/unpack/graphics/inkscape/B$ exit exit Script done on Mon 05 Sep 2016 13:45:03 IDT