"Too Many Softcalls" and "Memory Address not aligned" errors