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

Re: NSView viewWillDraw crash


  • Subject: Re: NSView viewWillDraw crash
  • From: "Clark Cox" <email@hidden>
  • Date: Thu, 10 Jan 2008 13:27:00 -0800

On Jan 10, 2008 1:13 PM, Keith Duncan <email@hidden> wrote:
> I've just caught a crash in NSView's viewWillDraw method, stack
> backtrace below, note that none of my views implement this method. I'm
> trying to think of an instance in which a crash could happen without
> having overidden the method?
>
> I'f no-one can think of anything I'll just have to file a bug.
>
> - Keith
>
> #0  0x915f15e4 in CFRelease ()
> #1  0x91581343 in __CFArrayReleaseValues ()
> #2  0x915f17c8 in _CFRelease ()

Crashes in CFRelease or -release almost always indicate that some
object has been over-released. I'd pay special attention to any code
you have that either creates views or manipulates the view hierarchy
in other ways. Look for any -release or -autorelease method calls that
aren't properly balanced.

--
Clark S. Cox III
email@hidden
_______________________________________________

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: NSView viewWillDraw crash
      • From: Keith Duncan <email@hidden>
References: 
 >NSView viewWillDraw crash (From: Keith Duncan <email@hidden>)

  • Prev by Date: Re: NSView viewWillDraw crash
  • Next by Date: Re: Using NSValueTransformer for encryption
  • Previous by thread: Re: NSView viewWillDraw crash
  • Next by thread: Re: NSView viewWillDraw crash
  • Index(es):
    • Date
    • Thread