Posts: 1
Joined: 2013.07
Post: #1
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
Quote this message in a reply
⌘-R in Chief
Posts: 1,277
Joined: 2002.05
Post: #2
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.
Quote this message in a reply
Posts: 3
Joined: 2013.09
Post: #3
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
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  EXC_BAD_ACCESS Holyhoppsan 2 8,943 Aug 10, 2010 01:44 PM
Last Post: Holyhoppsan
  Why I recive EXC_BAD_ACCESS Rincha 11 10,366 Sep 16, 2009 01:55 PM
Last Post: maximile
  EXC_BAD_ACCESS in objc_msgSend saltwater 3 7,620 Sep 7, 2009 01:24 PM
Last Post: saltwater
  Random EXC_BAD_ACCESS bmpix 2 4,875 Feb 17, 2009 10:54 PM
Last Post: smallstepforman
  EXC_BAD_ACCESS Sound error wonza 5 7,535 Jan 26, 2009 03:35 AM
Last Post: wonza