I have traced it back to the following functions (think of it as a stack trace):
main!
sp_main_gui if (create_new)
sp_file_new_default
sp_file_new
SPDocument::createNewDoc
SPDocument::createDoc --> calls SPFactory::instance().createObject(typeString) and crash because svg:svg is not in the list yet.
So now to find out why main is called, and why a whole lot of static variables are not initialized before that.
I have traced it back to the following functions (think of it as a stack trace): new_default :createNewDoc :createDoc --> calls SPFactory: :instance( ).createObject( typeString) and crash because svg:svg is not in the list yet.
main!
sp_main_gui if (create_new)
sp_file_
sp_file_new
SPDocument:
SPDocument:
So now to find out why main is called, and why a whole lot of static variables are not initialized before that.