• 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: crash in initWithCoder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash in initWithCoder


  • Subject: Re: crash in initWithCoder
  • From: Sean McBride <email@hidden>
  • Date: Wed, 16 Mar 2011 13:35:20 -0400
  • Organization: Rogue Research Inc.

On Wed, 16 Mar 2011 10:31:26 -0700, James Maxwell said:

>Okay, strange discovery.
>
>I wasn't sure how to enable Guard Malloc in Xcode 4

Someone on the Xcode list could probably help there...

>, so I just ran it
>with the Allocations Instrument. Lo and behold, it doesn't crash. This
>didn't make much sense to me, so I tried running the release build,
>rather than the debug build. No crash. Switch back to debug.... boom.
>
>Any thoughts on what this might mean?

Have you looked at the Debugging Magic technote?  It's well worth
reading in its entirety.

<http://developer.apple.com/library/mac/#technotes/tn2004/tn2124.html>

All the bits about memory management should help you debug this.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: crash in initWithCoder
      • From: Alex Kac <email@hidden>
References: 
 >crash in initWithCoder (From: James Maxwell <email@hidden>)
 >Re: crash in initWithCoder (From: Greg Parker <email@hidden>)
 >Re: crash in initWithCoder (From: James Maxwell <email@hidden>)
 >Re: crash in initWithCoder (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: crash in initWithCoder
  • Next by Date: Re: Debugging a sleepless Mac
  • Previous by thread: Re: crash in initWithCoder
  • Next by thread: Re: crash in initWithCoder
  • Index(es):
    • Date
    • Thread