On 29/8/11 01:12, Krzysztof KosiĆski wrote:
Revision 10589 removes all trace of libnr from Inkscape's code, which was a major refactoring goal. This is a rather big change and might break various things. Here is a short summary of the changes:
New crash with empty stroked text object:
Steps to reproduce: 1) create text object with a single word (default style: solid black fill, no stroke) 2) add stroke 3) edit text: delete the content with <backspace>
-> crash when last character is deleted.
Not reproduced with 10588, reproduced with r10589 and later revisions Backtrace from r10612 attached.
Tested on Mac OS X 10.5.8 (i386), GCC 4.2.1, dependencies: boost 1.47.0
~suv
Assertion failed: (this->is_initialized()), function operator->, file /Volumes/green/mp-inkscape/with-a-long-long-long-directory-name/include/boost/optional/optional.hpp, line 641.
Program received signal SIGABRT, Aborted. 0x90deae42 in __kill () (gdb) bt #0 0x90deae42 in __kill () #1 0x90deae34 in kill$UNIX2003 () #2 0x90e5d23a in raise () #3 0x90e69679 in abort () #4 0x90e5e3db in __assert_rtn () #5 0x0059929c in boost::optionalGeom::Rect::operator-> (this=0xbfffe448) at optional/optional.hpp:641 #6 0x001f7639 in sp_text_bbox (item=0x75ed0a0, transform=@0xbfffe4d0, type=SPItem::VISUAL_BBOX) at sp-text.cpp:372 #7 0x001a4537 in SPItem::visualBounds (this=0x75ed0a0, transform=@0xbfffe4d0) at sp-item.cpp:744 #8 0x001a6486 in SPItem::desktopVisualBounds (this=0x75ed0a0) at sp-item.cpp:792 #9 0x00145f9b in Inkscape::Selection::visualBounds (this=0x5f76f78) at selection.cpp:388 #10 0x00146225 in Inkscape::Selection::bounds (this=0x5f76f78, type=SPItem::VISUAL_BBOX) at selection.cpp:368 #11 0x0050a9ea in sp_selection_layout_widget_update (spw=0x4572e10, sel=0x5f76f78) at widgets/select-toolbar.cpp:74 #12 0x0050c45a in sp_selection_layout_widget_modify_selection (spw=0x4572e10, selection=0x5f76f78, flags=3, data=0x5f74d80) at widgets/select-toolbar.cpp:115 #13 0x04146f59 in g_closure_invoke () #14 0x041590d3 in signal_emit_unlocked_R () #15 0x0415a761 in g_signal_emit_valist () #16 0x0415aa69 in g_signal_emit () #17 0x00521cc4 in sp_widget_modify_selection (selection=0x5f76f78, flags=3, spw=0x4572e10) at widgets/sp-widget.cpp:255 #18 0x04146f59 in g_closure_invoke () #19 0x041590d3 in signal_emit_unlocked_R () #20 0x0415a761 in g_signal_emit_valist () #21 0x0415aa69 in g_signal_emit () #22 0x000c7ffd in inkscape_selection_modified (selection=0x5f76f78, flags=3) at inkscape.cpp:905 #23 0x00146f60 in Inkscape::Selection::_emitModified (this=0x5f76f78, flags=3) at selection.cpp:91 #24 0x00146fb9 in Inkscape::Selection::_emit_modified (selection=0x5f76f78) at selection.cpp:84 #25 0x0420251d in g_main_context_dispatch () #26 0x042063ab in g_main_context_iterate () #27 0x04206687 in g_main_loop_run () #28 0x026c4fa1 in gtk_main () #29 0x0214a59b in Gtk::Main::run () #30 0x000079d8 in sp_main_gui (argc=1, argv=0xbffff0fc) at main.cpp:978 #31 0x000081be in main (argc=1, argv=0xbffff0fc) at main.cpp:709 (gdb)