dbspec_main; segvs in yang-parse