how to yield core file