Fixed get_debug_info
Fixed segfault, segfault and segfault