I have a pernicious EXC_BAD_ACCESS bug. I have enabled zombie tracking, but instead of producing a specific stack trace, the program always stops in main at
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
Does anyone know why I don’t have a meaningful stack trace? The app uses core data and much of the core data activity is wrappedup in performBlockAndWait methods – could that have something to do with it?
I also have a log message from NSZombieEnabled that says *** -[_PFArray release]: message sent to deallocated instance 0x395d0fe0. Is there any way of finding out what was originally allocated at the address in the log message?
Thanks
yes there is. Run your app with he instruments ON THE SIMULATOR. Select the Zombies instrument and perform the exact steps that make your app crash. The Zombies instrument is available only on the Simulator since you have more RAM on the Mac than on an iOS device.