
bulia byak wrote:
I removed nr_arena_item_new() today and replaced it with calls to NRArenaWhatever::clear() static members.
Now opening any file with text crashes with multiple asserts:
File display/nr-arena-glyphs.cpp line 761 (?): Assertion NR_IS_ARENA_GLYPHS_GROUP (gg) failed File libnr/nr-object.cpp line 55 (?): Assertion nr_type_is_a (((NRObject *) ip)->klass->type, tc) failed
Mental, please do not commit changes without doing at least basic "runs and loads" type tests. One thing which would be very easy for you to do is to collect a number of various files (including tutorials, keys.svg, etc) in a directory and, when you're about to commit, run "inkscape *" in that directory to make sure it loads them OK.
Even better would be for there to be a set of such files in CVS, tested with make check (one could run inkscape -z and compare the output to known good examples).
njh