Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash during dealloc

#61

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 Performance Tests 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];

Reported by Shane Vitarana · March 10th, 2009 @ 05:49 PM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Joshua Vickery
    Joshua Vickery

    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)?

    March 11th, 2009 @ 07:46 AM

  2. Eric Entin
    Eric Entin

    This happens when you call [super dealloc] before you release your members.

    July 22nd, 2009 @ 05:14 PM

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.