Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1216701968 (LWP 18726)] 0x081222da in game_events::entity_location::matches_unit () (gdb) bt #0 0x081222da in game_events::entity_location::matches_unit () #1 0x08099153 in attack::attack () #2 0x081efb84 in events::mouse_handler::attack_enemy_ () #3 0x081f04f0 in events::mouse_handler::attack_enemy () #4 0x081f089a in events::mouse_handler::left_click () #5 0x081f15a3 in events::mouse_handler::mouse_press () #6 0x0826f2f1 in play_controller::handle_event () #7 0x083c1107 in events::pump () #8 0x0826eaf9 in play_controller::play_slice () #9 0x0827d0cb in playsingle_controller::play_human_turn () #10 0x0827c8ac in playsingle_controller::play_side () #11 0x0827d3e8 in playsingle_controller::play_turn () #12 0x0827f8a9 in playsingle_controller::play_scenario () #13 0x08260335 in playsingle_scenario () #14 0x08263026 in play_game () #15 0x080562f8 in (anonymous namespace)::game_controller::play_game () #16 0x0806a882 in play_game () #17 0x0806ad62 in main ()