iDevGames Forums
Thread 4: EXC_BAD_ACCESS - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Thread 4: EXC_BAD_ACCESS (/thread-10684.html)



Thread 4: EXC_BAD_ACCESS - cmhubert - Jul 26, 2013 03:48 PM

Hello everyone, I am new to this forum and have a question regarding how to fix an error message in xcode. The msg is Thread 4: EXC_BAD_ACCESS. Does anyone have experience with sio2 game in xcode? Thanks


RE: Thread 4: EXC_BAD_ACCESS - SethWillits - Jul 26, 2013 05:06 PM

EXC_BAD_ACCESS on its own tells you nothing about how to fix the problem, it simply tells you what kind of problem it is (there was a "bad" memory access — reading or writing to memory that is not allocated to the process).

You need to look at the actual line of code causing the bad access, and then trace the problem back to its source using logic and detective work.


RE: Thread 4: EXC_BAD_ACCESS - mawigator - Sep 29, 2013 07:26 AM

This is mainly when you are trying to send message to object which do not exist.
In Obj-C it is common (my experience) when you are trying to (improperly)
remove object from an array/dictionary/set when enumerating it.

And "hello" to everybody, as this is my first post Wink