Re: Crash in _blinkCaretTimerAction (NSTextView)
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