• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPad Simulator Intermittent Crash When Accessing Settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPad Simulator Intermittent Crash When Accessing Settings


  • Subject: Re: iPad Simulator Intermittent Crash When Accessing Settings
  • From: Laurent Daudelin <email@hidden>
  • Date: Tue, 04 Oct 2011 23:30:53 -0700

On Oct 4, 2011, at 21:21, Jeffrey Walton wrote:

>> I do have a small (quite small) memory leak, but I don't think this could cause the crash I have described. Any tips for trying to find a dangling pointer? As I understand it, a dangling pointer results when I fail to take ownership of something that I should. What kinds of objects are candidates for retaining in this way? Is there anything relating to settings bundles that are suspect in this area? My best clue is that the crash happens the instant I tap the Settings App icon after the app enters the background.
> I use the leaks tool to help locate such things. its served me well in
> the past. In addition, running with zombies enabled is also very
> helpful. Just remember to remove leak and zombie instrumentation from
> the executable's arguments before submitting to the store.

The rule of thumb is that any object reference you got that wasn't received through an alloc/init or copy, you have to specifically retain if you want to keep the reference around.

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software					email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >iPad Simulator Intermittent Crash When Accessing Settings (From: Philip McIntosh <email@hidden>)
 >Re: iPad Simulator Intermittent Crash When Accessing Settings (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Problem linking QuickLook plugin with app
  • Next by Date: Re: Problem linking QuickLook plugin with app
  • Previous by thread: Re: iPad Simulator Intermittent Crash When Accessing Settings
  • Next by thread: Problem linking QuickLook plugin with app
  • Index(es):
    • Date
    • Thread