Segfault happened at: 0xb778afe3: mov %ecx,0x18(%edx) PC (0xb778afe3) ok source "%ecx" ok destination "0x18(%edx)" (0x00000017) not located in a known VMA region (needed writable region)! Stack memory exhausted (SP below stack segment)