Getting EXC Bad Access on iOS device - Beta6
Not entirely sure what the problem is, but it happens after the app has been running successfully and I go back to it, i get this in _string.h:
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
{
return __builtin___memcpy_chk (__dest, __src, __len, __darwin_obsz0(__dest)); >>Thread 1 program received: EXC Bad Access
}
Since it looks string related and I have no strings in my app, I figured it might be the Counter object I use.
I tried removing a line that was setting a counter to the alterable A value of an active if the mouse pointer was over it - this seems to have stopped it
I'll see if I can strip it down further and send you an example file
1 Attachment(s)
Counter and Mouse Over can guive EXC Bad Access
Managed to strip the program down a bit - see attached
To get the crash, run the app in XCode and follow these instructions:
1. Tap one of the Actives (Red Box) - this sets the Mouse cursor over the Active and triggers the event in the Debug group to set the counter to Alt A
2. Wait about 2 mins (sorry but this seems to be important - I assume because it keeps setting the Counter and something runs out of memory/overflows)
3. Tap a different Active and keep tapping different actives - after 3 or 4 it usually crashes
Hopefully Clickteam will find the bug and squash it ;)