solving coredump