A "&" sign was missed. The last parameter of findDependentObjects is of Relation * type, but Relation was actually passed. That caused seqmentation fault when renaming not empty schema.