• 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 _blinkCaretTimerAction (NSTextView)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in _blinkCaretTimerAction (NSTextView)


  • Subject: Re: Crash in _blinkCaretTimerAction (NSTextView)
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 6 Jan 2006 09:32:14 -0800


On Jan 5, 2006, at 10:57 PM, Martin Wierschin wrote:

I've been seeing crashes in the function _blinkCaretTimerAction. It happens somewhat randomly, but using NSZombieEnabled and friends I've figured out that it is trying to access a deallocated NSTextView, which was displayed in a document that had just been closed. From the stack (included below) I can see that this function is a timer callback. I assume the timer was supposed to be invalidated when the NSTextView was deallocated, but this isn't happening for some reason.
Has anyone seen this crash, or do you have any information on how the invalidation is supposed to happen? Eg: who is responsible for invalidating this timer? Thanks in advance for any help,



The timer is explicitly invalidated in NSTextView's dealloc method. I haven't seen any other reports of this sort of crash.


Douglas Davidson

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


References: 
 >Crash in _blinkCaretTimerAction (NSTextView) (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: Agent Applications and launchd
  • Next by Date: Re: Binding to to-one relationship
  • Previous by thread: Crash in _blinkCaretTimerAction (NSTextView)
  • Next by thread: Re: Crash in _blinkCaretTimerAction (NSTextView)
  • Index(es):
    • Date
    • Thread