First, I absolutely love this framework. I have a situation where I need to constantly build and compile new sequences. It works fine for a bit, but eventually it seems to bug out. I've written tests for all my assembly generating code, and it all works on a single iteration just fine, but eventually, this error seems to occur.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x000000000000000d
0x0000000104b395d9 in AsmJit::ECall::translate (this=0x7f8f63864d68, cc=@0x7fff5b57fe38) at /Users/sean/libs/asmjit/AsmJit/CompilerX86X64.cpp:3604
3604 if (rdst->inDone >= rdst->inCount && (rdst->flags & VarCallRecord::FLAG_CALL_OPERAND_REG) == 0)
Backtrace:
#0 0x0000000104b395d9 in AsmJit::ECall::translate (this=0x7f8f63864d68, cc=@0x7fff5b57fe38) at /Users/sean/libs/asmjit/AsmJit/CompilerX86X64.cpp:3604
#1 0x0000000104b43c15 in AsmJit::CompilerCore::serialize (this=0x7fff5b580238, a=@0x7fff5b5800d0) at /Users/sean/libs/asmjit/AsmJit/CompilerX86X64.cpp:7729
#2 0x0000000104b43826 in AsmJit::CompilerCore::make (this=0x7fff5b580238) at /Users/sean/libs/asmjit/AsmJit/CompilerX86X64.cpp:7615
Any guidance would be appreciated. It seems that this is occurring when the assembly reaches a certain level of complexity and depth, and my guess is the _zone is running out of free space to allocate?
Thanks,
Sean