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
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
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.
Reply all
Reply to author
Forward
0 new messages