segfault on fopen oDAO.c:730