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