Crash during dealloc
Reported by Shane Vitarana | March 10th, 2009 @ 05:49 PM
I have a very simple app with two models. Currently, all I'm doing is finding a list of users:
NSArray *users = [User findRemote];
When I release the controller, I get an error with the following stacktrace:
#0 0x93862688 in objc_msgSend () #1 0x0001fc00 in
-[FromXMLElementDelegate dealloc] (self=0x107cb00, _cmd=0x938a3514)
at
/Users/shane/iphone/apps/Drummer/lib/Serialization/XML/FromXMLElementDelegate.m:176
The error is on this line: [parsedObject release];
Comments and changes to this ticket
-
Joshua Vickery March 11th, 2009 @ 07:46 AM
Hi Shane,
Would you mind pasting your code for the User model somewhere then link the result back here, perhaps as a gist (http://gists.github.com)?
-
Eric Entin July 22nd, 2009 @ 05:14 PM
This happens when you call [super dealloc] before you release your members.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Port of Rails' ActiveResource framework to the iPhone.