strange crash

Discussion in 'iOS Programming' started by MACloop, Mar 25, 2010.

  1. MACloop macrumors 6502

    May 18, 2009
    I have some tableViews and a navigationController behaving a bit instable and odd... For example:
    If I select a cell in one of the tables this moves me further on in the navigation structure, ie to another tableview. Switching between those views with a "normal speed", works allright. BUT - if I click one backbutton and immediately select a cell in the tableview (ie I am to fast somehow) the app crashes with a bad exception...
    I have viewcontrollers who are pushed when the user presses one of the table cells. The back button is a default/normal solution aswelll. Does anyone have advices on this?
    I have looked for over-retaining but did not find anything. I also looked at the logic in the flow (viewDidLoad) in the tableviewcontrollers to see if something is called before it has been recreated (when back button is pressed)... but I did not find anything...

    Does anyone have the same experiences here? Any advices? How do I have to reason in order to get this robust?
    Thanks very much in advance!
  2. kainjow Moderator emeritus


    Jun 15, 2000
    It's pretty much impossible to know anything else without seeing any code, but look for over-releasing, not over-retaining which won't cause a crash (under normal circumstances), but over-releasing will.

    Can you post the stack trace when it crashes?

Share This Page