Trying this with SVN revision 19629, it still crashes, but the error message is now:
** ERROR:(src/xml/simple-node.cpp:362):virtual void Inkscape::XML::SimpleNode::addChild(Inkscape::XML::Node*, Inkscape::XML::Node*): assertion failed: (generic_child->document() == _document)
Trying this with SVN revision 19629, it still crashes, but the error message is now:
** ERROR:( src/xml/ simple- node.cpp: 362):virtual void Inkscape: :XML::SimpleNod e::addChild( Inkscape: :XML::Node* , Inkscape: :XML::Node* ): assertion failed: (generic_ child-> document( ) == _document)