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

Crash in _blinkCaretTimerAction (NSTextView)


  • Subject: Crash in _blinkCaretTimerAction (NSTextView)
  • From: Martin Wierschin <email@hidden>
  • Date: Thu, 5 Jan 2006 22:57:23 -0800

Hello cocoa list,

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,


~Martin

Here is the stack trace:

#0    objc_msgSend_rtp
#1	_blinkCaretTimerAction
#2	__CFRunLoopDoTimer
#3	__CFRunLoopRun
#4	CFRunLoopRunSpecific
#5	RunCurrentEventLoopInMode
#6	ReceiveNextEventCommon
#7	BlockUntilNextEventMatchingListInMode
#8	_DPSNextEvent
#9	-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#10	-[NSApplication run]
#11	NSApplicationMain

_______________________________________________
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


  • Follow-Ups:
    • Re: Crash in _blinkCaretTimerAction (NSTextView)
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Bindings - custom null value placeholder for text field with date formatter?
  • Next by Date: Re: Not getting filetype info from FSGetcatlogInfo() function
  • Previous by thread: inter-NIB binding problems, but only with NSTableColumn
  • Next by thread: Re: Crash in _blinkCaretTimerAction (NSTextView)
  • Index(es):
    • Date
    • Thread