Segfault happened at: 0x7f9806c51b92 : testb $0x1,0xb00(%rax) PC (0x7f9806c51b92) ok source "$0x1" ok destination "0xb00(%rax)" (0x00000b00) not located in a known VMA region (needed writable region)! Stack memory exhausted (SP below stack segment)