We rearranged the programming instruction code, and it caused a segfault while program quit :(