Segfault happened at: 0x7f9d9bc393f1 <__libc_start_main+241>: mov %eax,%edi PC (0x7f9d9bc393f1) ok source "%eax" ok destination "%edi" ok SP (0x7ffc6ef66a10) ok Reason could not be automatically determined.