Got signal SEGV Returning normally