Today at work I was advancing one of our iPhone applications.  It's a pretty basic application, has a menu which displays some data from the web via XML; all of that fun stuff.

On occasion, I would try to push a view controller and the application would randomly crash, e.g.:



-(void) showMainMenu {

[mainNavigationController pushViewController:mainMenuViewController animated:YES];

}