Why would passing a CouchModel through multiple block executions cause EXC_BAD_ACCESS?
17 views
Skip to first unread message
Pulkit Singhal
unread,
Nov 2, 2012, 11:19:27 AM11/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Please look at the attached/embedded image above ... I'm trying to access a CouchModel object property called -[LightspeedEntry itemName] but the program breaks with EXC_BAD_ACCESS, even though I can see all these references clear as day. I would ask this Q on CocoaHeads or a forum of that sort but first I wanted to make sure that there isn't some corner case where a CouchModel needs to hold on to its underlying database references and can't be just passed around willy-nilly in blocks as a data model object?
Pulkit Singhal
unread,
Nov 2, 2012, 11:44:16 AM11/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Please forgive me I'm a dumb ass ... EXC_BAD_ACCESS had to do with an error in [NSString stringWithFormat:] that has CouchModel as a value inline and the problem isn't because of the CouchModel itself.