Our app has never worked with the simulator (due to not having 3rd party dependency support for i386 and x86_64). I've just recently resolved the dependencies and I'm now running in 64 bit mode on the simulator now, yet I'm seeing a crash that says EXC_i386_GPFLT. There is no extended code, so I can't tell what exactly the error is.
Is it possible it could be an alignment error too or should I be taking this as a bad address? The crash doesn't occur at all on a 64 bit device. memcpy_s is just a macro for memmove, we do some size checking in it.
Here's the top of the stock, so that you can see where the exception was actually raised.
EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000109cd23a0 libsystem_platform.dylib`_platform_memmove$VARIANT$Nehalem + 96
frame #1: 0x0000000109a66bd4 libsystem_sim_c.dylib`__memmove_chk + 22
frame #2: 0x0000000103b5ee21 appName`memcpy_s(dest=0x6ba6820000000800, sizeInBytes=2, src=0x00007fb26c0ebc18, count=2048) + 113 at file.h:26